I am working on a project which I am trying to test on an iOS device. There are a couple of issues, however. Firstly, my game has admob implemented into it. Admob is set up properly for android devices, I know this because I have successfully tested it on an android virtual device. However, when I click the play button in gms2 with an iOS target selected, it opens the project in Xcode, but I have an error that appears right off the start, without me making any changes in Xcode. Here it is:
How can I fix this, while at the same time not causing other issues? If I remove admob from my game completely, it runs on the device, so I know the issue is in the admob implementation somewhere. I can provide more info upon request.
Also, when I removed admob and got the game to run on the iOS virtual device, it ran very slowly, which was strange since it did not run slowly at all on the android virtual device. Could this be because my Mac is older than my PC, or should I be worried about my project itself?
Again, I can provide more error info upon request, just tell me what you need to see. Any help would be greatly appreciated. Thanks!
Code:
ld: warning: Could not find or use auto-linked framework 'FBLPromises'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_JSContext", referenced from:
objc-class-ref in GoogleMobileAds(GADOMIDLightJSExecutor.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Also, when I removed admob and got the game to run on the iOS virtual device, it ran very slowly, which was strange since it did not run slowly at all on the android virtual device. Could this be because my Mac is older than my PC, or should I be worried about my project itself?
Again, I can provide more error info upon request, just tell me what you need to see. Any help would be greatly appreciated. Thanks!