I am trying to build this xcode workspace which was built from Unity. And after modifying the project a little bit when I getting to the very end of building the project (linking) I get the Apple Mach -O Linker (Id) Error. I can't open the error tab to see what exactly is causing the error. All it says is "Linker command failed with exit code 1 (use -v to see invocation). There are also two Apple Mach -O Linker (Id) Errors which occur but I have no idea how to solve them.
Any help is greatly appreciated!
I can't expand these tabs.. this is all I get told This is the warning tab expanded, the two Apple Mach -O Linker (Id) warnings are the same
Fix System Problems when you Can’t Connect to Apple ID Server. The Apple ID server connecting error is just one of the common problems you may meet while using the iPhone or iTunes app on your computer. To fix other iOS system problems or iTunes errors, you may need an iOS system recovery and iTunes repair tool – AnyFix.
As the above user reported, you could get Apple ID verification failed pop-up window, and says there was an error connecting to the Apple ID server when you trying to log in iCloud account.
Check Apple Server Status First. You can go to Apple and check if the services you need to use are out of the server yet. For example, if you plan to sign in Apple ID to use App Store, just make sure the Apple Store service is green, which means available. Tip 2. Sign Into WiFi or Choose a Stable Internet Connection.
Tip 2. Sign Into WiFi or Choose a Stable Internet Connection. An unstable internet connection may cause verifying failure and can’t sign into Apple ID. Tip 3. Try to Reset your Time and Date: First make sure that the date, time, and time zone are set correctly.
This problem has different solutions , one of them is to set Enable Bitcode to No . ( I don't know why by default it is Yes )
This problem is a ghost like problem . Clearing Cache , Restarting Xcode , Simulator and MAC ,Ensuring proper linking of Frameworks ,Changing app Architecture or , Sometimes just doing nothing can solve this problem .
This issue was connected to "Link Binary With Libraries". I've renamed the target, and there were two .framework files for the Pods. Thus, after removing the outdated one - the issue was solved.
For me the scenario was that I removed one of the dependency in my pods which was not required, after removing it I was getting error that the same dependency not found. So I went to delete its entry from the Project >> Build Settings >> other Linker Flags and then selected the same and deleted it as shown below in the Image. After removing from the linker Flags I started getting the Apple Mach -O Linker (Id) Error? and after trying everything for a day I realised the issue lies inside the linker Flags. Where on deleting any dependecy you have to delete the other line name -framework. you can check the below image to get the clarity.
So I suggest to keep an eye on it while deleting the dependecy from the linker flags, do delete the associated -framework too which lies below the dependency name. In my case it was ObjectMapper
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With