[SOLVED] iOS Build Error in Solar2D 3710 - macOS 15.0.1, Xcode 16.0

Trying to build for iOS I was receiving something like … was built for newer iOS version (13.0) than being linked (12.0) and I decided to increase MinimumOSVersion to 13.0 in build.settings

Now I’m getting the below error in console:

ld: warning: -ld_classic is deprecated and will be removed in a future release
ld: warning: Could not find or use auto-linked framework ‘CoreAudioTypes’
ld: warning: Could not find or use auto-linked framework ‘GoogleDataTransport’
Undefined symbols for architecture arm64:
OBJC_CLASS$_GDTCORProductData”, referenced from:
objc-class-ref in FirebaseMessaging(FIRMessagingExtensionHelper.o)
OBJC_CLASS$_GDTCORTransport”, referenced from:
objc-class-ref in FirebaseMessaging(FIRMessagingExtensionHelper.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Oct 10 17:06:27.698 ERROR: Builder failed: ld: warning: -ld_classic is deprecated and will be removed in a future release
Oct 10 17:06:27.698 ld: warning: Could not find or use auto-linked framework ‘CoreAudioTypes’
ld: warning: Could not find or use auto-linked framework ‘GoogleDataTransport’
Undefined symbols for architecture arm64:
OBJC_CLASS$_GDTCORProductData”, referenced from:
objc-class-ref in FirebaseMessaging(FIRMessagingExtensionHelper.o)
OBJC_CLASS$_GDTCORTransport”, referenced from:
objc-class-ref in FirebaseMessaging(FIRMessagingExtensionHelper.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Oct 10 17:06:27.701 BUILD ERROR: There was a problem linking the app.

                Check the console for more information.

Oct 10 17:06:27.701
Oct 10 17:06:27.818 iOS build failed (2) after 7 seconds
Oct 10 17:06:28.131 ERROR: Build Failed: There was a problem linking the app.

                Check the console for more information.

Oct 10 17:06:28.131

BTW, forcing admob plugin to previous version (v43) doesn’t solve anything. Could you please check this @Scott_Harrison It maybe related with the new versions of plugin.admob or/and plugin.notifications.v2.firebase.

Pushed out fixes for notifications.v2.firebase

1 Like

Thanks a lot, @Scott_Harrison
The build was ok now :+1:

There´s no need to decrease the version of plugin.admob.