Undefined symbols building Unity project w/ Google AdMob on Apple M2 - xcode

After restarting devices, cleaning projects, deleting and rebuilding, updating iOS on target device, updating Xcode on Apple MacBook Pro with M2 chip, and trying commands found online (Apple, GitHub, Stack Overflow), I am still getting the errors below when attempting to build to my iPhone using Xcode:
I also have this error in Unity:
I just updated my iOS to 16.3, and now realize that in Xcode > Build Settings > Deployment > iOS Deployment Target, the max value is iOS 16.2, which could now be causing an issue, but I was getting the same error even before the update and with the target mistakenly set to iOS 11. Edit: I tried my wife's phone with 16.2 and the target set accordingly, and am getting the same errors.
My macOS is on Ventura 13.1 and Xcode is at Version 14.2 (14C18).
I should also note that building to the simulator does not work either, and I read from a Unity rep. on GitHub that this is not supported.
This is for an app I initially built with Godot, but for the life of me couldn't get to build with Xcode after Google AdMob was integrated, and so I went as far as purchasing this new computer to see if a fresh start would help with the latest model, not realizing the issues some face with the M1/M2 chips. Alas, I still faced issues and so decided to rebuild the entire app in Unity, and now I am still facing build issues. So that is my way of saying I really appreciate anyone's insight into this issue. TYIA.

Related

Can not debug on simulator or device anymore

I was able to debug my Xamarin.iOS app on my physical device and simulators just fine until this morning. I think it has something to do with the recent iOS update. When I try to deploy to my physical device (iPad) I get this message now:
error HE0003: Could not load the framework 'IBFoundation' (path:
/Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework/IBFoundation):
not found.
And I can't deploy on any simulator anymore, I get this message
Lower the deployment target to see older simulators or check you Apple
SDK path
I didn't have these problems yesterday and I've been working on my app for months without this problem. I updated Visual Studio, Xcode, and my Mac, but these problems still persist. Any idea how to fix?
It is a known issue that you can follow here: https://github.com/xamarin/xamarin-macios/issues/12778
Also there are few workarounds that work mentioned in the issue.

xcode 13 build issues

I currently updated my spare phone to ios 15 developer beta to begin fixes for ios 15 on my app and was forced to upgrade my mac os to big sur as well as download xcode 13 beta and ever since then have run into so many headaches. I can never successfully build my app in xcode and always run into issues with SDKs like facebook login in and others even after running my app commenting them out of my podfile or even updating the files there seems to be something always wrong. I try building my app in the regular xcode 12.5 and still have the same build issues which I never had before upgrading to big sur. This is very frustrating as I have wasted many hours trying to fix this with no solution. Is anyone else having issues or have had the same issues that I am facing?

Xamarin.Firebase.iOS.CloudMessaging Plugin Push notification sometimes not working for iOS 13.3

My tools and plugin versions are as follows:
iPad - iOS 13.3
Visual studio - 8.3.11
Xcode - 10.3
Xamarin.Firebase.iOS.CloudMessaging - Version 3.1.2
I had the code working for iOS 12.2. I have my iOS upgraded to 13.3 now. I'm not sure when the notification stopped working for iOS. I doubt the version iOS 13.3. When I start debugging very rarely the notification works.
But most of the time the app doesn't hit RegisteredForRemoteNotifications or FailedToRegisterForRemoteNotifications methods. I'm not sure whats going wrong. I spent around 2 days working on the same :(
I'm not even able to upgrade the plugin. If I upgrade, I'm facing linking error. Please suggest if anyone came across same issue

Xcode project build canceled

I have a project that I have been using to learn Xcode/swift/IOS programming. For some time I have testing it in the simulators as well as on my iPhone 5. Now, all of a sudden it is not possible to install on my iPhone. The reaches "Copying standard swift libraries" and then: "Build canceled". No further information whatsoever. Still runs fine in the simulator. I am using Xcode 7.3/swift 2.2 and IOS 9.3. Also using the Xcode 7 free ad-hoc provisioning.
I was able to resolve the issue by disconnecting the iOS device that was attached during the archiving.

Does Embarcadero RAD Studio / FireMonkey work with XCode 5?

Now that XCode 5 has been officially released, and I am being prompted by the App Store to upgrade to XCode 5, does anybody know if there are any problems using it with RAD Studio XE5/FireMonkey to develop Mac and iOS applications?
Also, since XCode 5 supports iOS 7, are there any problems developing for iOS 7 using RAD Studio XE5/FireMonkey?
I tested Delphi XE5 with XCode 5 this week, but only with the simulator. It all works as far as I can tell.
Thanks to Bart van Dijk's answer, I went ahead and updated to Xcode 5. I can confirm that I was able to compile and run a simple FireMonkey mobile app on both the iPhone simulator and also on a real iPad.
Also, I created a simple FireMonkey desktop app, and built and ran it on both Win32 and Max OS X 10.8.5 with no problem, and no appreciable difference from with Xcode 4.6.3
I had a little trouble updating Xcode. When the update to Xcode initially was installed, it kept crashing every time I tried to start it. The console app said that the crash log was saved in myusersfolder/Library/Logs/DiagnosticReports/Xcode_2013-09-27-16245...
That crash log said "The bundle \U201cIDERepositoryViewer\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\". So, I went to Xcode/Contents/Plugins, found the file for IDERepositoryViewer, and renamed it by adding an "X" after IDERepositoryViewer. After that, Xcode started up without problem. I re-downloaded the Command Line Tools, and everything else seemed to work.
Of course, that doesn't guarantee that there won't be other problems, but so far, Xcode 5 seems to work with XE5 for iOS and Mac apps.
EDIT: Embarcadero has posted info about an update to cover iOS 7 at http://blogs.embarcadero.com/sarinadupont/2013/09/19/start-building-ios-7-apps-today and http://docwiki.embarcadero.com/RADStudio/XE5/en/Using_the_iOS_7_Update_for_XE5

Resources