Replies: 1 comment
-
Error states that you have undefined symbols. Usually when you get to the linking step in compilation but fails because of undefined symbols, it means you have the headers (e.g. the compilation translation unit can compile the code based on the header information) but you're missing the library that actually implements those symbols/functions/classes. It could be that you're simply not linking against that library. Based on the information provided, that's about all we can tell you. So I'd advise ensuring that you're actually linking against the library. Inside xcode, when viewing your targets Build Phases, you can see what libraries are being linked with your library. Also if you're developing on a M-chip mac and attempting to build/run in an iOS simulator. Try building and running on a physical iOS device instead. Not all google libraries actually supports or provide binaries for arm64 iOS simulators. |
Beta Was this translation helpful? Give feedback.
-
Good Morning,
I created my game in Gdevelop and when I use Cordova and CocoaPods, I get the following error on Xcode. It has the necessary frameworks (at least it has downloaded them correctly) and I see that they are arm64. Could you help me?
Gdevelop version: 5.2.176
Cordova Version: 12.0.0 ([email protected])
Cocoapods version: 1.14.3
Thank you very much!
ld: Undefined symbols:
_GULIsLoggableLevel, referenced from:
-[APMMonitor isLoggableLevel:] in GoogleAppMeasurement[arm64]66
_GULLogBasic, referenced from:
-[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement[arm64]11
_GULLogError, referenced from:
-[APMPersistentDictionary initWithFileName:] in GoogleAppMeasurement[arm64]223
_APMWriteDictionaryToURL in GoogleAppMeasurement[arm64]223
-[APMUserDefaults synchronize] in GoogleAppMeasurement[arm64]274
_GULLogInfo, referenced from:
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement[arm64]291
_GULLogWarning, referenced from:
+[APMMeasurement sharedInstance] in GoogleAppMeasurement[arm64]61
-[APMPersistentDictionary objectForKey:] in GoogleAppMeasurement[arm64]223
-[APMPersistentDictionary setObject:forKey:] in GoogleAppMeasurement[arm64]223
-[APMUserDefaults objectForKey:] in GoogleAppMeasurement[arm64]274
-[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement[arm64]274
-[APMUserDefaults synchronize] in GoogleAppMeasurement[arm64]274
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement[arm64]291
...
Beta Was this translation helpful? Give feedback.
All reactions