My unity project creates error while opens in Xcode.
The error is
clang: error: linker command failed with exit code 1
(use -v to see invocation)
So i cant able to open in xcode.
Xcode Version : xcode5.0
Unity Version : unity4.0
How can i escape from this issue?
[16541-screen+shot+2013-10-15+at+12.33.52+pm.png|16541]
Here’s the solution:
- In Xcode, click your target and open Build Settings
- Find Library Search Paths and remove everything in there
- Right-click libiPhone-lib.a in the Libraries folder and click Delete
- Click Remove Reference in the pop-up
- Right-click the Libraries folder in Xcode and click Add Files to … (CMD + Option + A)
- Select the libiPhone-lib.a file which is in the Libraries folder on your hard drive and add it
This auto-creates a new URL in the Library Search Paths entry and should make the Linker error disappear.