apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

Undefined symbols on Xcode #1388

Closed konguele closed 4 months ago

konguele commented 5 months ago

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? I attach some sample games, probably they have other errors because I have only put a part of the game, where you can reproduce the error that I indicate.

Gdevelop version: 5.2.176 Cordova Version: 12.0.0 (Cordova-lib@12.0.1) 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 ...

https://www.dropbox.com/scl/fi/hop9d6c3c64kibeckw6b3/Samples.zip?rlkey=ghdtyo7a4kfpcrjs6lk4rwtzo&dl=0

konguele commented 5 months ago

@jcesarmobile I have create here the issue with the sample projects.

jcesarmobile commented 5 months ago

please, don't ping me, I check issues whenever I can, not by request.

The upload project is "corrupted", cordova-ios is not installed and the platforms/ios folder doesn't look like it should, which prevents cordova comments from working.

jcesarmobile commented 4 months ago

closing since the provided project is not valid looks like a bug on Gdevelop