Whoops, just realized I pasted my response file poorly. Here's the same response file, but with each argument on its own line:
-target arm64-apple-ios18.0-simulator
'-std=gnu++14'
'-stdlib=libc++'
-fobjc-arc
-fmodules
'-fmodules-cache-path=/Users/ck/Library/Developer/Xcode/DerivedData/ModuleCache.noindex'
'-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG'
-fpascal-strings
-O0
-fno-common
'-DPOD_CONFIGURATION_DEBUG=1'
'-DDEBUG=1'
'-DCOCOAPODS=1'
'-DOBJC_OLD_DISPATCH_PROTOTYPES=0'
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk
-g
'-fobjc-abi-version=2'
-fobjc-legacy-dispatch
-iquote /Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-generated-files.hmap
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-own-target-headers.hmap
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-all-target-headers.hmap
-iquote /Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-project-headers.hmap
-iquote
'/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DeltaCore/Swift Compatibility Header'
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DSDeltaCore/include
-I/Users/ck/Projects/system/Delta/Pods/Headers/Private
-I/Users/ck/Projects/system/Delta/Pods/Headers/Private/DSDeltaCore
-I/Users/ck/Projects/system/Delta/Pods/Headers/Public
-I/Users/ck/Projects/system/Delta/Pods/Headers/Public/DSDeltaCore
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator
-I/Users/ck/Projects/system/Delta/Pods/Headers/Private/DSDeltaCore/desmume/desmume/src/libretro-common/include
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources-normal/arm64
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources/arm64
-I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources
-F/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DSDeltaCore
'-fmodule-map-file=/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DeltaCore/DeltaCore.modulemap'
'-fmodule-map-file=/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.modulemap'
-DHOST_DARWIN
-DDESMUME_COCOA
-DHAVE_OPENGL
-DHAVE_LIBZ
-DANDROID
-fexceptions
-ftree-vectorize
-DCOMPRESS_MT
-DIOS
-DOBJ_C
-marm
'-fvisibility=hidden'
'-DSTATIC_LIBRARY=1'
Post
Replies
Boosts
Views
Activity
Thanks for the response. I already checked the response file, but I can't find -mno-thumb. I'm not a clang expert, though, so I don't know if it's being added by some other flag. Or do some of the flags in the response file import flags from some other file?
Is there a way to remove flags in Xcode? As in, the flag is clearly being added somehow, but I can't find where. Is there a way to strip certain flags project-wide in the Build Settings?
Here's my response file:
-target arm64-apple-ios18.0-simulator '-std=gnu++14' '-stdlib=libc++' -fobjc-arc -fmodules '-fmodules-cache-path=/Users/ck/Library/Developer/Xcode/DerivedData/ModuleCache.noindex' '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG' -fpascal-strings -O0 -fno-common '-DPOD_CONFIGURATION_DEBUG=1' '-DDEBUG=1' '-DCOCOAPODS=1' '-DOBJC_OLD_DISPATCH_PROTOTYPES=0' -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk -g '-fobjc-abi-version=2' -fobjc-legacy-dispatch -iquote /Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-generated-files.hmap -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-own-target-headers.hmap -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-all-target-headers.hmap -iquote /Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DSDeltaCore-project-headers.hmap -iquote '/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DeltaCore/Swift Compatibility Header' -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DSDeltaCore/include -I/Users/ck/Projects/system/Delta/Pods/Headers/Private -I/Users/ck/Projects/system/Delta/Pods/Headers/Private/DSDeltaCore -I/Users/ck/Projects/system/Delta/Pods/Headers/Public -I/Users/ck/Projects/system/Delta/Pods/Headers/Public/DSDeltaCore -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator -I/Users/ck/Projects/system/Delta/Pods/Headers/Private/DSDeltaCore/desmume/desmume/src/libretro-common/include -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources-normal/arm64 -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources/arm64 -I/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DSDeltaCore.build/DerivedSources -F/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DSDeltaCore '-fmodule-map-file=/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/DeltaCore/DeltaCore.modulemap' '-fmodule-map-file=/Users/ck/Library/Developer/Xcode/DerivedData/Delta-dwedcmxtirqnkdghmvobshblwrib/Build/Products/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.modulemap' -DHOST_DARWIN -DDESMUME_COCOA -DHAVE_OPENGL -DHAVE_LIBZ -DANDROID -fexceptions -ftree-vectorize -DCOMPRESS_MT -DIOS -DOBJ_C -marm '-fvisibility=hidden' '-DSTATIC_LIBRARY=1'