Toxic Tom
Member
Introduction
I am currently trying to build my app on iOS for the first time and have been experiencing some issues. My build works fine on the iOS Simulator, but I cannot get it to build on my iPhone 6s (real device).
Duplicate symbols
Provisioning worked successfully, so once I had that set up, I tried building the app from GMS2 onto my iPhone 6s. The build succeeded in GMS2, but in Xcode I got this error "42 duplicate symbols for architecture arm64":
https://imgur.com/a/P2L9VMK
(sorry my screenshots are apparently too large to upload directly)
Here are the details for that error:
To me "42 duplicate symbols for architecture arm64" should not prevent the compiler / linker from working, as it appears the reason for the error is that the same resource is referenced multiple times (which I do not see as a problem). I did some research and found suggestions of disabling the compiler setting "GCC_NO_COMMON_BLOCKS":
https://stackoverflow.com/questions/11233235/what-is-gcc-no-common-blocks-used-for
But it turns out the default value for "GCC_NO_COMMON_BLOCKS" was "No" (already disabled).
https://imgur.com/a/aeQrcIN
(GCC_NO_COMMON_BLOCKS is displayed as "No Common Blocks" in Xcode)
Linker flags
I did some further research which pointed me to these compiler flags:
https://imgur.com/a/aplEkth
https://stackoverflow.com/questions...-errors-in-xcode-with-shared-static-libraries
The default "Other Linker Flags" were set to: "-fobjc-arc -objC -all_load -ObjC" as shown in the image above. After doing some more research about the meaning of these flags, but not totally understanding it, I did some trial and error and found that the build succeeded with the following "Other Linker Flags": "-fobjc-arc -objC".
SIGABRT
The build then deployed to my iPhone 6s and the default GMS2 splash screen showed on the device. The app then immediately crashed due to a SIGABRT as shown in the following image:
https://imgur.com/a/AQLI4J5
Here are the details for this crash:
I tried cleaning the project in GMS2 and Xcode and rebuilding, but this crash happens on launch every time. I find this very odd as my application runs fine on the iOS Simulator.
Any advice much appreciated!
Thanks,
Tom
I am currently trying to build my app on iOS for the first time and have been experiencing some issues. My build works fine on the iOS Simulator, but I cannot get it to build on my iPhone 6s (real device).
Duplicate symbols
Provisioning worked successfully, so once I had that set up, I tried building the app from GMS2 onto my iPhone 6s. The build succeeded in GMS2, but in Xcode I got this error "42 duplicate symbols for architecture arm64":
https://imgur.com/a/P2L9VMK
(sorry my screenshots are apparently too large to upload directly)
Here are the details for that error:
Code:
Ld /Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Products/Debug-iphoneos/Block_Boi.app/Block_Boi normal arm64 (in target 'Block_Boi' from project 'Block_Boi')
cd /Users/tom/GameMakerStudio2/iOS/GMS2IOS/Block_Boi/Block_Boi
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Products/Debug-iphoneos -L. -LBlock_Boi -LBlock_Boi\ Tests -LBlock_Boi.app -LBlock_Boi.app.dSYM -LFw -LBlock_Boi/Game -LBlock_Boi/Supporting\ Files -LBlock_Boi.app/Frameworks -LBlock_Boi.app/PlugIns -LBlock_Boi.app/_CodeSignature -LBlock_Boi.app/games -LBlock_Boi.app.dSYM/Contents -LFw/iOSSource -LBlock_Boi/Game/iOSSource -LBlock_Boi/Supporting\ Files/games -LBlock_Boi/Supporting\ Files/include -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest.dSYM -LBlock_Boi.app.dSYM/Contents/Resources -LFw/iOSSource/Source -LBlock_Boi/Game/iOSSource/Source -LBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle -LBlock_Boi/Supporting\ Files/include/libyoyo -LBlock_Boi/Supporting\ Files/include/libyoyo_notifications -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest/_CodeSignature -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest.dSYM/Contents -LBlock_Boi.app.dSYM/Contents/Resources/DWARF -LBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle/personalizedadconsent.bundle -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest.dSYM/Contents/Resources -LBlock_Boi.app/PlugIns/Block_Boi\ Tests.xctest.dSYM/Contents/Resources/DWARF -F/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Products/Debug-iphoneos -FFw -FFw/iOSSource -FFw/iOSSource/Source -FBlock_Boi/Supporting\ Files -FBlock_Boi/Supporting\ Files/games -FBlock_Boi/Supporting\ Files/include -FBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle -FBlock_Boi/Supporting\ Files/include/libyoyo -FBlock_Boi/Supporting\ Files/include/libyoyo_notifications -FBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle/personalizedadconsent.bundle -FFw -FFw/iOSSource -FFw/iOSSource/Source -FBlock_Boi/Supporting\ Files -FBlock_Boi/Supporting\ Files/games -FBlock_Boi/Supporting\ Files/include -FBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle -FBlock_Boi/Supporting\ Files/include/libyoyo -FBlock_Boi/Supporting\ Files/include/libyoyo_notifications -FBlock_Boi/Supporting\ Files/games/personalizedadconsent.bundle/personalizedadconsent.bundle -filelist /Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/Block_Boi.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/Block_Boi_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-link-runtime -fobjc-arc -objC -all_load -ObjC -lc++ -liconv -lresolv -framework SystemConfiguration -framework StoreKit -framework CFNetwork -framework MobileCoreServices -lsqlite3.0 -framework AudioToolbox -framework GameKit -framework AVFoundation -lz -framework OpenGLES -framework QuartzCore -framework OpenAL -framework CoreGraphics -lyoyo_yyc -framework GameController -framework CoreMedia -framework EventKit -framework EventKitUI -framework CoreTelephony -framework CoreData -framework CoreText -framework MapKit -framework AddressBookUI -framework Security -framework AddressBook -framework CoreLocation -framework MessageUI -framework MediaPlayer -framework UIKit -framework Foundation -weak_framework AudioToolbox -licucore -framework AdSupport -framework GLKit -framework CoreMotion -framework SafariServices -framework CoreVideo -framework PersonalizedAdConsent -framework GoogleMobileAds -framework nanopb -framework GoogleUtilities -framework GoogleAppMeasurement -framework GoogleMobileAds -Xlinker -dependency_info -Xlinker /Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/Block_Boi_dependency_info.dat -o /Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Products/Debug-iphoneos/Block_Boi.app/Block_Boi
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._debugGeography' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_PACUserDefaultsRootKey' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._tagForUnderAgeOfConsent' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._status' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._publisherIdentifiers' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._debugIdentifiers' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._consentedProviders' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._adProviders' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACAdProvider._identifier' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._hasAnyNonPersonalizedPublisherIdentifier' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_CLASS_$_PACAdProvider' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_METACLASS_$_PACAdProvider' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._isRequestInEEAOrUnknown' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACAdProvider._dictionaryRepresentation' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_CLASS_$_PACConsentInformation' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_METACLASS_$_PACConsentInformation' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_PACVersionString' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentInformation._rawResponse' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACAdProvider._name' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_OBJC_IVAR_$_PACAdProvider._privacyPolicyURL' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACPersonalizedAdConsent.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACPersonalizedAdConsent.o)
duplicate symbol '_PACErrorWithDescription' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACError.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACError.o)
duplicate symbol '_PACErrorDomain' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACError.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACError.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._loadedView' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACViewController._pacView' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._shouldOfferPersonalizedAds' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._shouldOfferNonPersonalizedAds' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_CLASS_$_PACViewController' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_METACLASS_$_PACViewController' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._completionHandler' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_CLASS_$_PACConsentForm' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_METACLASS_$_PACConsentForm' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._shouldOfferAdFree' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._hasPresented' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACConsentForm._privacyPolicyURL' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACConsentForm.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACConsentForm.o)
duplicate symbol '_OBJC_IVAR_$_PACView._webView' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_CLASS_$_PACView' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_METACLASS_$_PACView' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_IVAR_$_PACView._shouldNonPersonalizedAds' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_IVAR_$_PACView._loadCompletionHandler' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_IVAR_$_PACView._dismissCompletion' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_IVAR_$_PACView._formInformation' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
duplicate symbol '_OBJC_IVAR_$_PACView._shouldOfferAdFree' in:
/Users/tom/Library/Developer/Xcode/DerivedData/Block_Boi-csumspxebztbvoazyhpupqttgzvn/Build/Intermediates.noindex/Block_Boi.build/Debug-iphoneos/Block_Boi.build/Objects-normal/arm64/PACView.o
Fw/PersonalizedAdConsent.framework/PersonalizedAdConsent(PACView.o)
ld: 42 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
https://stackoverflow.com/questions/11233235/what-is-gcc-no-common-blocks-used-for
But it turns out the default value for "GCC_NO_COMMON_BLOCKS" was "No" (already disabled).
https://imgur.com/a/aeQrcIN
(GCC_NO_COMMON_BLOCKS is displayed as "No Common Blocks" in Xcode)
Linker flags
I did some further research which pointed me to these compiler flags:
https://imgur.com/a/aplEkth
https://stackoverflow.com/questions...-errors-in-xcode-with-shared-static-libraries
The default "Other Linker Flags" were set to: "-fobjc-arc -objC -all_load -ObjC" as shown in the image above. After doing some more research about the meaning of these flags, but not totally understanding it, I did some trial and error and found that the build succeeded with the following "Other Linker Flags": "-fobjc-arc -objC".
SIGABRT
The build then deployed to my iPhone 6s and the default GMS2 splash screen showed on the device. The app then immediately crashed due to a SIGABRT as shown in the following image:
https://imgur.com/a/AQLI4J5
Here are the details for this crash:
Code:
2020-02-15 15:49:41.415923+0000 Block_Boi[932:905278] [Storyboard] Unknown class DownloadView in Interface Builder file.
2020-02-15 15:49:41.436257+0000 Block_Boi[932:905278] com.toxictom.blockboi
2020-02-15 15:49:41.451101+0000 Block_Boi[932:905278] Metal GPU Frame Capture Enabled
2020-02-15 15:49:41.451430+0000 Block_Boi[932:905278] Metal API Validation Enabled
2020-02-15 15:49:41.508263+0000 Block_Boi[932:905278] Screen size is 750.000000,1334.000000
2020-02-15 15:49:41.520212+0000 Block_Boi[932:905278] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIView 0x105013500> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key labelConnecting.'
*** First throw call stack:
(0x1ad5aea48 0x1ad2d5fa4 0x1ad4b30ec 0x1ad8911e0 0x1b1ab6930 0x1b12c670c 0x1ad488f3c 0x1b12c387c 0x1b12c4110 0x1b16208d0 0x1b162107c 0x1b161f7d4 0x1b0dec7c8 0x1b1282b70 0x1b0ded2b0 0x1b0decd08 0x1b0ded0dc 0x1b0dec998 0x1b0df0e84 0x1b11b43e0 0x1b129c15c 0x1b0df0bbc 0x1b129c058 0x1b0df0a28 0x1b0c62880 0x1b0c613e8 0x1b0c625b8 0x1b161dc88 0x1b11d4dd8 0x1b26ce7a0 0x1b26f3838 0x1b26d8f04 0x1b26f34f4 0x104d0ebd8 0x104d11ffc 0x1b2718418 0x1b27180e4 0x1b271860c 0x1ad52ca00 0x1ad52c958 0x1ad52c0f0 0x1ad52723c 0x1ad526adc 0x1b74ac328 0x1b1621ae0 0x1012bde6c 0x1ad3b0360)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any advice much appreciated!
Thanks,
Tom
Last edited: