ERROR: Builder failed: ld: warning: object file (/Users/sublogic/Documents/shared/APK/32/APPLE/dist/Magnum3.0.app/.build/plugin.appodeal.beta.FacebookAudience/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdChoicesView.m.o)) was built for newer iOS version (9.0) than being linked (8.0)
ERROR: Builder failed: ld: warning: object file (/Users/sublogic/Documents/shared/APK/32/APPLE/dist/Magnum3.0.app/.build/plugin.appodeal.beta.AppLovin/AppLovinSDK.framework/AppLovinSDK(NSMutableDictionary+ALUtils.o)) was built for newer iOS version (9.0) than being linked (8.0)
ERROR: Builder failed: ld: warning: object file (/Users/sublogic/Documents/shared/APK/32/APPLE/dist/Magnum3.0.app/.build/plugin.appodeal.beta.base/libplugin_appodeal_base.a(AppodealLibrary.o)) was built for newer iOS version (10.3) than being linked (8.0)
Removing the Appodeal plug-in resulted in another error.
ERROR: Builder failed: duplicate symbol _OBJC_CLASS_$_GTMLogStandardFormatter in:
Hello, you didn’t post the whole error output I afraid. Part you posted are acceptable warnings, error comes later.
I think problem is some other plugins you are trying to use. Are you using Firebase?
If GoogleSignIn was disabled, the build was successful.
plugin.notifications.v2
Or
plugin.googleSignIn
It seems that building is successful when either one is disabled.
However, it is difficult for me to disable it because I provide users with GoogleID sign-in within my app.
Hey guys. Disabling the plugin on iOS should not affect push notifications in any way. It just has very basic wrapper for firebase no one uses as far as I know.
If you’re sending push notifications, you clearly have to use the notifications plugin. There are two versions:
plugin.notifications
plugin.notifications.v2
The only difference between the two is that .v2 supports Firebase Cloud Messaging (FCM) while the non-.v2 plugin uses the old, and deprecated (but not shut down) Google Cloud Messaging or GCM. For iOS, they are identical.
If you’re only building for iOS you can use either plugin and they should work. If you’re building for Android (either by itself or in combination of building an iOS app), you should use the .v2 plugin. However be aware that any FCM specific API calls are only going to work on Android as Apple uses APNS (Apple Push Notification Service). In theory, FCM can relay messages to APNS so the FCM stuff was apparently working at some point. However Google frequently tries to build cross-platform tools that work both for Android and iOS only to abandon the iOS support later. This has happened multiple times. We don’t use FCM to send push notifications to iOS, so I’m not surprised if this doesn’t work. Apple wants you to use APNS.
Again: iOS does not use the plugin for push notifications. You can do push APN push without v2 plugin on iOS. Developer who did Firebase integration also did iOS implementation in notification.v2 plugin. If you are not using ‘require “plugin.notifications.v2”’ on iOS you can disable the plugin for iOS.
APN on iOS is in the core. No need for a plugin. Plugin required only if you want to use Firebase on iOS. Which I’m not even sure if still works.
Sorry. Retraction. Previous post is wrong after I was pointed out and did some research. Ignore it. But, from other hand, notifications v1 still work on iOS.
There are a lot of complexities around implementing FCM because when we did add support, using FCM had a cool feature for being able to send messages to iOS. You register with FCM, it behind the scene tries to register with APNS. Then you use FCM to send messages once and everything is supposed to work.
But if you’re using a service like Pushwoosh, Urban Airship, etc. they know how to send to both devices, so this FCM->APNS really doesn’t make a lot of sense unless you’re using Google’s interface to send the push messages.
It appears that FCM on iOS is conflicting with the Google SignIn plugin. We recommend that you take a modified approach to using notifications if you need Google Login.
In build settings, include both the V1 and V2 notification plugins:
local notifications = nil local platform = system.getInfo("platform") if "android" == platform then notifications = require( "plugin.notifications.v2") elseif "ios" == platform then notifications = require( "plugin.notifications" ) end
Now depending on your platform, you will get the appropriate plugin that shouldn’t interfere with other plugins.
Hello, you didn’t post the whole error output I afraid. Part you posted are acceptable warnings, error comes later.
I think problem is some other plugins you are trying to use. Are you using Firebase?