Wednesday, January 14, 2015

Xcode 6.1 Apple Mach-O linker Build Error due to a renamed AppName

Apple Mach-O linker Build Error
Build target
Project | Configuration Debug | Destination iPhone 6 |  SDK Simulator
ld: file not found: ../Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator..
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution:
1. Open Xcode
2. Show/Click the Project Navigator
3. Show PROJECT and TARGET list
4. From the TARGETS, click the AppNameTests
5. General->Testing->Host Application
6. Select/Choose the AppName from the Host Application dropdown box

No comments: