Compile the open-source Xcode plug-in SCXcodeSwitchExpander
Source Code address: https://github.com/stefanceriu/SCXcodeSwitchExpander
Compiling environment: Xcode5.1
System Version: OSX 10.8.5
The following error message is displayed:
Considering whether it is caused by ARC, we found that building setting has already set up to enable arc, and dylib is not used in the project. Only the following static libraries are available.
Search for these library files and find that the SDK does not exist in Frameworks.
The Framework search paths in building setting finds that the library file is in the Xcode application. The path is as follows:
$ (System_cmd_dir)/Xcode. app/Contents/SharedFrameworks $ (system_cmd_dir)/Xcode. app/Contents/Frameworks $ (system_cmd_dir)/Xcode. app/Contents/OtherFrameworks
Cause: Because multiple versions of Xcode are installed in the local application, the system automatically searches for the framework in Xcode. app by default, as shown below:
Modify the path in the Framework search paths to the Xcode currently compiled and compiled successfully.