-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unidentified symbol errors while compiling the example and other projects #10
Comments
forgot to mention, I'm using Godot 3.2.1 |
Thanks for the suggestion... tried it but no success: when building for emulator there are 3 errors: when building for device there are still 18 errors (I think they are the same as before, at least I remember this one: undefined symbol: _GULLogInfo): Showing Recent Errors Only Build target testAdmob of project testAdmob with configuration Debug Ld /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Products/Debug-iphoneos/testAdmob.app/testAdmob normal arm64 (in target 'testAdmob' from project 'testAdmob') ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-x86_64-maccatalyst/PromisesObjC.framework/PromisesObjC, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-x86_64-maccatalyst/PromisesObjC.framework/PromisesObjC (1 slices) |
For the emulator, you must also put the frameworks within its folder. Visit this to see what I am talking about. Also make sure the frameworks are in the frameworks folder for XCode for the real device. |
Update: So: After carefully doing every step (I was running the test every time I added a required framework or change in the info.plist, or any other modification, so I took my time to understand errors displayed... I can't count the times I compiled for the device in this step) and spending my last 12 hours on it, I found a last error: Undefined symbol: OBJC_CLASS$_JSContext which was solved by adding the JavascriptCore.framework ... why? anyway, it solved the last problem (thanks to the solution found at segmentio/analytics-ios#404) One more thing as for some reason I had to remove all provisioning profiles from Xcode (the example was installed on the device but couldn't run) and made a final build. So I ran the example in my device and it displayed all kind of ads (banner, interstitial and reward video). Next step is to make it work in my personal project, which still has the same issues as 2 days ago... I'll keep updated if any other "trick" should be done in order to make it work. |
Success on compiling also for my game... currently using the test ads (banner and interstitial, as those are the ones I'm using in the current version, planning to add rewarded video in the near future). The key seems to be:
Still at the moment I'm only displaying the test ads, but I don't think there will be problems when switching to real ads... there's still the behavior that the game is not paused when an interstitial ad is displayed (as reported in another issue), so I expect to find other unwanted behaviors as reported by others... but that's another story. Thanks for following this issue and your recommendations @GhostWalker562 |
Sorry for the delayed response, I had been working for the past two days and school has started started yesterday. I'm glad you found the issue and I'll surely change the README to make sure others run with the link JavaScript framework. |
No worries, we all have our duties ;) |
Further checking this behavior, I finally compiled and uploaded a release version to the App Store (which was approved and my game is now at the store), and in the end I DIDN'T use: So I only compiled the iOS template (with the Admob module) following Godot instructions (I compiled only the ARM version), and followed instructions from the AdMob site... plus added the JavaScriptCore.framework. During my tests I didn't receive banner ads (still now they are not displayed, but I know they are displayed in another region as I received a screenshot from Apple and banners were displayed... I'll give AdMob a couple of extra days before considering it an issue, because I know it takes time to correctly serve ads to all regions... it happened to me before). So, hope other devs find this also useful... and I will follow same steps for my next game ;) |
Hi... I've been working in implementing ads to my game and found several errors at Xcode, so I decided to compile and test the example project found at https://github.com/kloder-games/godot-admob while using the precompiled file for iOS, but both efforts were in vain and couldn't even have a successful compile.
I've followed instructions for the precompiled .a file, as well as those found at the kloder-games repo and the Google AdMob site, and in summary:
-verified the initialization of GodotAdmob (as I'm using the example project) in the Godot Editor
-compiled the Godot project
-replaced the .a file with the one downloaded in this repo, and renamed with the appropriate project name
-added needed frameworks in Xcode:
UserMessagingPlatform
libsqlite3.0
MobileCoreServices
CFNetwork
CoreTelephony
MessageUI
AdSupport
PromisesObjC (one for each architecture, as the xcframework contains 3, depending on the target architecture)
nanopb (one for each architecture)
GoogleUtilities (one for each architecture)
GoogleAppMeasurement
GoogleMobileAds
-Added the GADApplicationIdentifier in the example-info.plist (using the Google test account, that's my objective at the moment, once it works I'll replace with mine)
-added the SKAdNetworkItems as required from the GoogleAdmob website instructions
-Added the -ObjC value at the Other Linker Flags line in the project's Build Settings
-made sure that the Signing&Capabilities displays no errors and that my TeamID is the right one
As I followed all instructions I compiled for my device (iPhone 6s) and I got the next errors with the example code:
Showing Recent Errors Only
Build target testAdmob of project testAdmob with configuration Debug
warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'testAdmob' from project 'testAdmob')
warning: OpenGLES is deprecated. Consider migrating to Metal instead. (in target 'testAdmob' from project 'testAdmob')
warning: GLKit is deprecated. Consider migrating to MetalKit instead. (in target 'testAdmob' from project 'testAdmob')
Ld /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Intermediates.noindex/testAdmob.build/Debug-iphoneos/testAdmob.build/Objects-normal/arm64/Binary/testAdmob normal arm64 (in target 'testAdmob' from project 'testAdmob')
cd /Users/alan/Documents/godot-admob-master/examples/godot-3/builds
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -L/Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Products/Debug-iphoneos -L/Users/alan/Documents/godot-admob-master/examples/godot-3/builds -F/Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Products/Debug-iphoneos -FtestAdmob -FtestAdmob/dylibs -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-armv7_arm64 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-x86_64-maccatalyst -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-x86_64-maccatalyst -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-armv7_arm64 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-x86_64-maccatalyst -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-armv7_arm64 -filelist /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Intermediates.noindex/testAdmob.build/Debug-iphoneos/testAdmob.build/Objects-normal/arm64/testAdmob.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Intermediates.noindex/testAdmob.build/Debug-iphoneos/testAdmob.build/Objects-normal/arm64/testAdmob_lto.o -Xlinker -no_deduplicate -stdlib=libc++ -ObjC -framework UserMessagingPlatform -lsqlite3.0 -framework MobileCoreServices -framework CFNetwork -framework CoreTelephony -framework MessageUI -framework AdSupport -framework PromisesObjC -framework PromisesObjC -framework PromisesObjC -framework nanopb -framework nanopb -framework nanopb -framework GoogleUtilities -framework GoogleUtilities -framework GoogleAppMeasurement -framework GoogleUtilities -framework GoogleMobileAds -framework CoreGraphics -framework CoreVideo -framework SystemConfiguration -framework Security -framework QuartzCore -framework MediaPlayer -framework GameController -framework CoreMotion -framework CoreMedia -framework CoreAudio -framework AudioToolbox -framework OpenGLES -framework StoreKit -framework AVFoundation -framework UIKit -framework GameKit -framework GLKit -framework Foundation /Users/alan/Documents/godot-admob-master/examples/godot-3/builds/testAdmob.a -Xlinker -dependency_info -Xlinker /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Intermediates.noindex/testAdmob.build/Debug-iphoneos/testAdmob.build/Objects-normal/arm64/testAdmob_dependency_info.dat -o /Users/alan/Library/Developer/Xcode/DerivedData/testAdmob-dkiiqnkmlytabgbjmguudjvysklb/Build/Intermediates.noindex/testAdmob.build/Debug-iphoneos/testAdmob.build/Objects-normal/arm64/Binary/testAdmob
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator/PromisesObjC.framework/PromisesObjC, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator/PromisesObjC.framework/PromisesObjC (2 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-i386_x86_64-simulator/nanopb.framework/nanopb, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-i386_x86_64-simulator/nanopb.framework/nanopb (2 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-i386_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-i386_x86_64-simulator/GoogleUtilities.framework/GoogleUtilities (2 slices)
Undefined symbols for architecture arm64:
"_pb_encode", referenced from:
_nano_two_pass_encoding in GoogleAppMeasurement(encoder_common_0856b10a97e1ffee753445ddbd72e8ca.o)
"_pb_encode_string", referenced from:
_nano_encode_string in GoogleAppMeasurement(encoder_common_0856b10a97e1ffee753445ddbd72e8ca.o)
"_pb_encode_submessage", referenced from:
_apmpb_encode_repeated_audience in GoogleAppMeasurement(apmpb_audience_encoder_2376ca0ee87b39e1479c1ec3c7cb96b9.o)
_apmpb_encode_repeated_audience_leaf_filter_result in GoogleAppMeasurement(apmpb_audience_leaf_filter_result_encoder_70267778b465446d5e90e58b8c788588.o)
_apmpb_encode_repeated_client_property in GoogleAppMeasurement(apmpb_client_property_encoder_3a9482cf6c9de3e4ca6631d992ed0563.o)
_apmpb_encode_repeated_custom_property in GoogleAppMeasurement(apmpb_custom_property_encoder_2f595a93f152e7eb3b163bae47f6b40c.o)
_apmpb_encode_repeated_dynamic_filter_result_timestamp in GoogleAppMeasurement(apmpb_dynamic_filter_result_timestamp_encoder_178f2cf2460650e8450401a52e7e2695.o)
_apmpb_encode_repeated_event in GoogleAppMeasurement(apmpb_event_encoder_3b35668d5ae7d12f31a737184f8411b2.o)
_apmpb_encode_repeated_event_config in GoogleAppMeasurement(apmpb_event_config_encoder_e256a59742ceca145f0c2ecfdb1c0847.o)
...
"_kGULNetworkHTTPStatusOK", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
"OBJC_CLASS$_JSContext", referenced from:
objc-class-ref in GoogleMobileAds(GADOMIDLightJSExecutor_b54736b621c49e006eb680a831d846d6.o)
"OBJC_CLASS$_GULSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_GULLogInfo", referenced from:
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_GULIsLoggableLevel", referenced from:
-[APMMonitor isLoggableLevel:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
"_pb_encode_varint", referenced from:
_nano_encode_repeated_uint64 in GoogleAppMeasurement(encoder_common_0856b10a97e1ffee753445ddbd72e8ca.o)
"_GULLogError", referenced from:
+[APMAnalytics startWithAppID:origin:options:] in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
"_kGULNetworkHTTPStatusCodeNotModified", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
"_kGULNetworkHTTPStatusCodeNotFound", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
"OBJC_CLASS$_GULAppDelegateSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
"_pb_istream_from_buffer", referenced from:
_apmpb_decode_app_property in GoogleAppMeasurement(apmpb_app_property_decoder_67ca97f6b4584472e0d9fed5a358fb35.o)
_apmpb_decode_audience in GoogleAppMeasurement(apmpb_audience_decoder_44de4ef796a0e5e5cc1ecf7d0aee3bfc.o)
_apmpb_decode_audience_leaf_filter_result in GoogleAppMeasurement(apmpb_audience_leaf_filter_result_decoder_48884eda679e4157bddad10b44875cde.o)
_apmpb_decode_client_property in GoogleAppMeasurement(apmpb_client_property_decoder_fd420d50a1dc3f0a58f9f16699d7be54.o)
_apmpb_decode_custom_property in GoogleAppMeasurement(apmpb_custom_property_decoder_390a28ced72830ed0b212e7eb9d5576e.o)
_apmpb_decode_dynamic_filter_result_timestamp in GoogleAppMeasurement(apmpb_dynamic_filter_result_timestamp_decoder_d226e99fe6b064605e43ccb187980992.o)
_apmpb_decode_event in GoogleAppMeasurement(apmpb_event_decoder_c900ca6978641ad5491344902c1fb010.o)
...
"_GULLogWarning", referenced from:
+[APMMeasurement sharedInstance] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMUserDefaults objectForKey:] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
-[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_pb_ostream_from_buffer", referenced from:
_nano_two_pass_encoding in GoogleAppMeasurement(encoder_common_0856b10a97e1ffee753445ddbd72e8ca.o)
"_kGULNetworkHTTPStatusCodeCannotAcceptTraffic", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"_kGULNetworkHTTPStatusNoContent", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
"_pb_encode_tag_for_field", referenced from:
_apmpb_encode_repeated_audience in GoogleAppMeasurement(apmpb_audience_encoder_2376ca0ee87b39e1479c1ec3c7cb96b9.o)
_apmpb_encode_repeated_audience_leaf_filter_result in GoogleAppMeasurement(apmpb_audience_leaf_filter_result_encoder_70267778b465446d5e90e58b8c788588.o)
_apmpb_encode_repeated_client_property in GoogleAppMeasurement(apmpb_client_property_encoder_3a9482cf6c9de3e4ca6631d992ed0563.o)
_apmpb_encode_repeated_custom_property in GoogleAppMeasurement(apmpb_custom_property_encoder_2f595a93f152e7eb3b163bae47f6b40c.o)
_apmpb_encode_repeated_dynamic_filter_result_timestamp in GoogleAppMeasurement(apmpb_dynamic_filter_result_timestamp_encoder_178f2cf2460650e8450401a52e7e2695.o)
_apmpb_encode_repeated_event in GoogleAppMeasurement(apmpb_event_encoder_3b35668d5ae7d12f31a737184f8411b2.o)
_apmpb_encode_repeated_event_config in GoogleAppMeasurement(apmpb_event_config_encoder_e256a59742ceca145f0c2ecfdb1c0847.o)
...
"OBJC_CLASS$_GULNetwork", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
objc-class-ref in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
objc-class-ref in GoogleAppMeasurement(APMAppDelegateInterceptor_8985b55bd9efbee78c3c54a3b7509e17.o)
objc-class-ref in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"_GULSetLoggerLevel", referenced from:
-[APMMonitor setDebugModeEnabled:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
-[APMMonitor setVerboseLoggingEnabled:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
"_pb_read", referenced from:
_apmpb_decode_repeated_audience in GoogleAppMeasurement(apmpb_audience_decoder_44de4ef796a0e5e5cc1ecf7d0aee3bfc.o)
_apmpb_decode_repeated_audience_leaf_filter_result in GoogleAppMeasurement(apmpb_audience_leaf_filter_result_decoder_48884eda679e4157bddad10b44875cde.o)
_apmpb_decode_repeated_client_property in GoogleAppMeasurement(apmpb_client_property_decoder_fd420d50a1dc3f0a58f9f16699d7be54.o)
_apmpb_decode_repeated_custom_property in GoogleAppMeasurement(apmpb_custom_property_decoder_390a28ced72830ed0b212e7eb9d5576e.o)
_apmpb_decode_repeated_dynamic_filter_result_timestamp in GoogleAppMeasurement(apmpb_dynamic_filter_result_timestamp_decoder_d226e99fe6b064605e43ccb187980992.o)
_apmpb_decode_repeated_event in GoogleAppMeasurement(apmpb_event_decoder_c900ca6978641ad5491344902c1fb010.o)
_apmpb_decode_repeated_event_config in GoogleAppMeasurement(apmpb_event_config_decoder_936cbb79352b96a2b041047ce37baf81.o)
...
"_pb_decode_varint", referenced from:
_nano_decode_repeated_uint64 in GoogleAppMeasurement(decoder_common_b56e667d5856f24e5b05f261cc8f3eea.o)
"_kGULNetworkHTTPStatusCodeUnavailable", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"_pb_decode", referenced from:
_apmpb_decode_app_property in GoogleAppMeasurement(apmpb_app_property_decoder_67ca97f6b4584472e0d9fed5a358fb35.o)
_apmpb_decode_audience in GoogleAppMeasurement(apmpb_audience_decoder_44de4ef796a0e5e5cc1ecf7d0aee3bfc.o)
_apmpb_decode_audience_leaf_filter_result in GoogleAppMeasurement(apmpb_audience_leaf_filter_result_decoder_48884eda679e4157bddad10b44875cde.o)
_apmpb_decode_client_property in GoogleAppMeasurement(apmpb_client_property_decoder_fd420d50a1dc3f0a58f9f16699d7be54.o)
_apmpb_decode_custom_property in GoogleAppMeasurement(apmpb_custom_property_decoder_390a28ced72830ed0b212e7eb9d5576e.o)
_apmpb_decode_dynamic_filter_result_timestamp in GoogleAppMeasurement(apmpb_dynamic_filter_result_timestamp_decoder_d226e99fe6b064605e43ccb187980992.o)
_apmpb_decode_event in GoogleAppMeasurement(apmpb_event_decoder_c900ca6978641ad5491344902c1fb010.o)
...
"OBJC_CLASS$_GULMutableDictionary", referenced from:
objc-class-ref in GoogleAppMeasurement(APMEExperiment_b2a748bf275090fe4fe9f58d85ea296b.o)
objc-class-ref in GoogleAppMeasurement(APMEExperimentRequestBuilder_7db83e3619ab65ef55fad765216391e8.o)
objc-class-ref in GoogleAppMeasurement(APMEManager_366b11a962efd086fde74bc8ac13f94b.o)
objc-class-ref in GoogleAppMeasurement(APMRemoteConfig_bec4306d5ed286d3f81efe764b751522.o)
objc-class-ref in GoogleAppMeasurement(APMESnapshot_4bf87baf3c67aa90a644cc237be54e22.o)
"OBJC_CLASS$_GULAppEnvironmentUtil", referenced from:
objc-class-ref in GoogleAppMeasurement(APMEExperimentRequestBuilder_7db83e3619ab65ef55fad765216391e8.o)
"_GULLogBasic", referenced from:
-[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement(APMASLLogger_3cedfa31a4e1f078b08ed598a28ccf83.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I compile my game I receive slightly different errors but still near 20 in total:
Showing Recent Errors Only
Build target LeftRight of project LeftRight with configuration Debug
warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'LeftRight' from project 'LeftRight')
warning: OpenGLES is deprecated. Consider migrating to Metal instead. (in target 'LeftRight' from project 'LeftRight')
warning: GLKit is deprecated. Consider migrating to MetalKit instead. (in target 'LeftRight' from project 'LeftRight')
Ld /Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Products/Debug-iphoneos/LeftRight.app/LeftRight normal arm64 (in target 'LeftRight' from project 'LeftRight')
cd /Users/alan/Documents/GitHub/leftright-godot/iOSBuilds
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -L/Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Products/Debug-iphoneos -L/Users/alan/Documents/GitHub/leftright-godot/iOSBuilds -F/Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Products/Debug-iphoneos -FLeftRight -FLeftRight/dylibs -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-x86_64-maccatalyst -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-armv7_arm64 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-armv7_arm64 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-x86_64-maccatalyst -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-armv7_arm64 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-i386_x86_64-simulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/nanopb.xcframework/ios-x86_64-maccatalyst -filelist /Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Intermediates.noindex/LeftRight.build/Debug-iphoneos/LeftRight.build/Objects-normal/arm64/LeftRight.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Intermediates.noindex/LeftRight.build/Debug-iphoneos/LeftRight.build/Objects-normal/arm64/LeftRight_lto.o -Xlinker -no_deduplicate -stdlib=libc++ -ObjC -framework UserMessagingPlatform -framework nanopb -framework nanopb -framework nanopb -framework PromisesObjC -framework PromisesObjC -framework PromisesObjC -framework GoogleUtilities -framework GoogleAppMeasurement -framework GoogleMobileAds -framework GoogleUtilities -framework GoogleUtilities -lsqlite3.0 -framework MobileCoreServices -framework CFNetwork -framework CoreTelephony -framework MessageUI -framework AdSupport -framework CoreGraphics -framework CoreVideo -framework SystemConfiguration -framework Security -framework QuartzCore -framework MediaPlayer -framework GameController -framework CoreMotion -framework CoreMedia -framework CoreAudio -framework AudioToolbox -framework OpenGLES -framework StoreKit -framework AVFoundation -framework UIKit -framework GameKit -framework GLKit -framework Foundation /Users/alan/Documents/GitHub/leftright-godot/iOSBuilds/LeftRight.a -Xlinker -dependency_info -Xlinker /Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Intermediates.noindex/LeftRight.build/Debug-iphoneos/LeftRight.build/Objects-normal/arm64/LeftRight_dependency_info.dat -o /Users/alan/Library/Developer/Xcode/DerivedData/LeftRight-ckpphljyexzuvgevqfwxtgkitugh/Build/Products/Debug-iphoneos/LeftRight.app/LeftRight
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-x86_64-maccatalyst/GoogleUtilities.framework/GoogleUtilities, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/GoogleUtilities.xcframework/ios-x86_64-maccatalyst/GoogleUtilities.framework/GoogleUtilities (1 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator/PromisesObjC.framework/PromisesObjC, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/System/Library/Frameworks/PromisesObjC.xcframework/ios-i386_x86_64-simulator/PromisesObjC.framework/PromisesObjC (2 slices)
Undefined symbols for architecture arm64:
"OBJC_CLASS$_JSContext", referenced from:
objc-class-ref in GoogleMobileAds(GADOMIDLightJSExecutor_b54736b621c49e006eb680a831d846d6.o)
"OBJC_CLASS$_GULSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_GULLogInfo", referenced from:
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_GULIsLoggableLevel", referenced from:
-[APMMonitor isLoggableLevel:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
"_kGULNetworkHTTPStatusCodeNotModified", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
"_kGULNetworkHTTPStatusCodeNotFound", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
"_GULLogWarning", referenced from:
+[APMMeasurement sharedInstance] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMUserDefaults objectForKey:] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
-[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_3e75fbb8c873cb807210d5d15270bb9a.o)
"_kGULNetworkHTTPStatusCodeCannotAcceptTraffic", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"_kGULNetworkHTTPStatusNoContent", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
"OBJC_CLASS$_GULNetwork", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
objc-class-ref in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
objc-class-ref in GoogleAppMeasurement(APMAppDelegateInterceptor_8985b55bd9efbee78c3c54a3b7509e17.o)
objc-class-ref in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"_GULSetLoggerLevel", referenced from:
-[APMMonitor setDebugModeEnabled:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
-[APMMonitor setVerboseLoggingEnabled:] in GoogleAppMeasurement(APMMonitor_1d726cb2c44c7b25aa5c1efe60155caf.o)
"_GULLogError", referenced from:
+[APMAnalytics startWithAppID:origin:options:] in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_50839e832c485e588e911ab00c985357.o)
"OBJC_CLASS$_GULAppDelegateSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_dd75be7f3b71824e5565e5485b3a4e90.o)
"_kGULNetworkHTTPStatusCodeUnavailable", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
"OBJC_CLASS$_GULMutableDictionary", referenced from:
objc-class-ref in GoogleAppMeasurement(APMEExperiment_b2a748bf275090fe4fe9f58d85ea296b.o)
objc-class-ref in GoogleAppMeasurement(APMEExperimentRequestBuilder_7db83e3619ab65ef55fad765216391e8.o)
objc-class-ref in GoogleAppMeasurement(APMEManager_366b11a962efd086fde74bc8ac13f94b.o)
objc-class-ref in GoogleAppMeasurement(APMRemoteConfig_bec4306d5ed286d3f81efe764b751522.o)
objc-class-ref in GoogleAppMeasurement(APMESnapshot_4bf87baf3c67aa90a644cc237be54e22.o)
"OBJC_CLASS$_GULAppEnvironmentUtil", referenced from:
objc-class-ref in GoogleAppMeasurement(APMEExperimentRequestBuilder_7db83e3619ab65ef55fad765216391e8.o)
"_GULLogBasic", referenced from:
-[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement(APMASLLogger_3cedfa31a4e1f078b08ed598a28ccf83.o)
"_kGULNetworkHTTPStatusOK", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_64a888a9aa6d5d1187feef31a5cdc380.o)
-[APMETaskManager handleFetchingExperimentsResponse:data:error:] in GoogleAppMeasurement(APMETaskManager_6a4b4f8d745b9cfae7aac7c81c4e9d1b.o)
___46-[APMMeasurement(URL) requestDeferredDeepLink]_block_invoke in GoogleAppMeasurement(APMMeasurement+URL_dd8bae88b850dbd82fc3921d98456da8.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I used the GoogleMobileAds SDK 7.64.0 (seems to be the latest at the Google AdMob website). I'm using an old MacBook with Catalina (perhaps this is not important), and with an iPhone6s as target device.
I'm not sure if you need extra details but I tried to share everything in detail that came to my mind... could someone please help me with these errors as I'm totally lost after trying all that I could during the last weekend?
The text was updated successfully, but these errors were encountered: