Xcode 7.1 PrototypeTools Linker Error (Simulator Only)

I am trying to run my application in an iOS simulator using Xcode 7.1, but I get a linker error. This is mistake:

ld: file not found: /System/Library/PrivateFrameworks/PrototypeTools.framework/PrototypeTools for architecture x86_64 

clang: error: linker command failed with exit code 1 (use -v to call the call)

This seems to be a new issue, as I did not have it before upgrading to the new Xcode (which supported development for the recently released iOS 9.1). I searched on Google, but there are practically no relevant topics for this problem. Interestingly, the application works fine on the device.

I tried resetting the simulator again and clearing / building, but none of them worked. Has anyone else experienced this problem and can you offer any advice?

+7
ios frameworks linker build build-error
source share
1 answer

If you are sure that you do not need PrototypeTools.framework , you can remove it as the following steps:

TARGETS -> "Your Project" -> Build Phases -> Link Binary With Libraries

Find PrototypeTools.framework and delete it.

If you are not sure if you need PrototypeTools.framework or not.

1. PrototypeTools.framework is probably the third static library, go to search and check the latest library, download it and replace it with a new one, and try again.
2. If you do not need to do something on the simulator, you do not need to worry about it, just ignore it.

.framework is a type of static library if .framework developers .framework not care about Architecture when creating a static library. Some types of Architecture will not be supported.

x86_64 Architecture is for simulator use only. Usually the .framework static library .framework not need to support this because we are testing our application and running our application on a real device, it will increase the size of the .framework static library, but some static libraries support most of Architecture , both the simulator and the real device.

0
source share

All Articles