mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
iOS: Don't strip the static libraries when archiving
Archiving stripped their debug info before the app linked them, so the dSYM only covered the app target's own files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ad6770e30
commit
488270d275
1 file changed
+3
@@ -154,6 +154,9 @@ if(IOS)
|
||||
# CMake hardcodes the scheme's Archive action to Release, so Release is what we archive.
|
||||
# Give it full debug info, for the dSYM (the installed binary is still stripped).
|
||||
add_compile_options($<$<CONFIG:Release>:-g>)
|
||||
# Archiving strips every target, which takes the debug info out of the static libraries before
|
||||
# the app links them, leaving the dSYM with only the app's own files. The app target turns it back on.
|
||||
set(CMAKE_XCODE_ATTRIBUTE_STRIP_INSTALLED_PRODUCT NO)
|
||||
endif()
|
||||
if(IOS_APP_STORE)
|
||||
add_compile_definitions(PPSSPP_PLATFORM_IOS_APP_STORE)
|
||||
|
||||
Reference in new issue
Block a user