iOS Build Error in 3709

Our app fails in building for the iOS. I am running Solar2D 3709 on MacOS Apple silicon.

The output of the build proesses is:

	Compiling architecture:	arm64
Oct 10 17:34:09.184 	<execute>cd "/var/folders/0g/3_mwfgln3hg1xgvh8nvm3xpc0000gn/T/CLtmpAObVML/arm64";unset LIBRARY_PATH; export IPHONEOS_DEPLOYMENT_TARGET=13.0; export PATH="/Applications/Xcode_15.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode_15.4.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -fexceptions -stdlib=libstdc++ -arch arm64 -isysroot "/Applications/Xcode_15.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk" -ObjC -all_load -ld_classic -fobjc-link-runtime -miphoneos-version-min=13.0 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -L"/Users/markusthies/Desktop/staemps.app/.build/libtemplate" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.bit" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.vibrator" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.tapticEngine" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.reviewPopUp" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.flashlight" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.nfc" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.zip" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.notifications.v2.firebase" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.utf8" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.qrscanner" -L"/Users/markusthies/Desktop/staemps.app/.build/plugin.universalLinks" -L"/usr/lib/swift" -L"/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos" -F"/Users/markusthies/Desktop/staemps.app/Frameworks" -F"/Users/markusthies/Desktop/staemps.app/.build/libtemplate" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.bit" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.vibrator" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.tapticEngine" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.reviewPopUp" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.flashlight" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.nfc" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.zip" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.notifications.v2.firebase" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.utf8" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.qrscanner" -F"/Users/markusthies/Desktop/staemps.app/.build/plugin.universalLinks" -F"/usr/lib/swift" -F"/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework WebKit -framework CoreNFC -framework FBLPromises -framework FirebaseCore -framework FirebaseCoreInternal -framework FirebaseInstallations -framework FirebaseMessaging -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework nanopb -framework GoogleUtilities -framework CoreTelephony -weak_framework GameController -weak_framework AssetsLibrary -weak_framework Photos -weak_framework Foundation -weak_framework Twitter -weak_framework UserNotifications -weak_framework UserNotificationsUI -lobjc -lsqlite3 -ltemplate -lplugin.bit -lplugin_vibrator -lplugin_tapticEngine -lplugin_reviewPopUp -lplugin_flashlight -lplugin_nfc -lplugin.zip -lz -lNotificationsV2Plugin.firebase -lplugin.utf8 -lplugin_qrscanner -lplugin_universalLinks -o "/var/folders/0g/3_mwfgln3hg1xgvh8nvm3xpc0000gn/T/CLtmpAObVML/arm64/staemps"</execute>
                    	<result>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)</result>
Oct 10 17:34:09.185 ERROR: Builder failed: ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes'
Oct 10 17:34:09.185 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:34:09.188 BUILD ERROR: There was a problem linking the app.

I also tried the latest build 3710 with XCode16 but error persists.

Any hints for what is going wrong here ?
Regartds,
Markus.

Maybe you are using a plugin that was updated yesterday?
Check this and use previous versions of the plugins.

Thank you for the cross-link, we do not use GoogleMobileAds. From the error message, it could be the Notification PlugIn…but not sure.

Im saying it could be something similar caused by another plugin.

1 Like

Actually it was the Notification plugIn, Scott updated the plugin just a few hours ago, and now it works again.
Thx to you and @Scott_Harrison
Cross Link: https://forums.solar2d.com/t/solved-ios-build-error-in-solar2d-3710-macos-15-0-1-xcode-16-0/356863

1 Like