Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Mach -O Linker (Id) Error?

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

like image 949
Brett A Avatar asked Jul 09 '17 22:07

Brett A


People also ask

Why can’t I connect to the Apple ID server?

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.

Why am I getting Apple ID verification failed pop-up?

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.

How to fix Apple server not responding?

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.

What to do if you can’t sign into Apple ID?

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.


3 Answers

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 )

enter image description here

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 .

like image 52
roy Avatar answered Oct 09 '22 13:10

roy


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. enter image description here

like image 44
Naloiko Eugene Avatar answered Oct 09 '22 12:10

Naloiko Eugene


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. Apple Mach -O Linker (Id) Error?

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

like image 5
Yaseen Majeed Avatar answered Oct 09 '22 11:10

Yaseen Majeed