我尝试安装iOS-Universal-Framework。尝试从此存储库中运行instalation shell screept,并始终获取消息:
iOS Real Static Framework Installer
===================================
This will install the iOS static framework templates and support files on your computer.
Note: Real static frameworks require two xcspec files to be added to Xcode.
*** THIS SCRIPT WILL ADD THE FOLLOWING FILES TO XCODE ***
* Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/UFW-iOSStaticFramework.xcspec
* Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications/UFW-iOSStaticFramework.xcspec
Where is Xcode installed? (CTRL-C to abort) [ /Applications/Xcode.app/Contents/Developer ]:
Could not find Xcode files in "/Applications/Xcode.app/Contents/Developer". Please make sure you typed it correctly.
You should see the path "Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications" inside of it.
Where is Xcode installed? (CTRL-C to abort) [ /Applications/Xcode.app/Contents/Developer ]:所以我按了enter键,因为我已经成功安装了xCode。但所有时间都会收到消息:
Where is Xcode installed? (CTRL-C to abort) [ /Applications/Xcode.app/Contents/Developer ]:
Could not find Xcode files in "/Applications/Xcode.app/Contents/Developer". Please make sure you typed it correctly.
You should see the path "Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications" inside of it.我尝试检查xCode是否已正确安装:
xcode-select -p并获取消息:
/Applications/Xcode.app/Contents/Developer在此之后,我尝试安装命令行工具(在此之前我没有命令行工具):
gcc -v并获取消息:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.0.0
Thread model: posix所以命令行工具应该工作得很好。但是我无法完成到Universal-Framework的安装。
PS:我做这些事情是因为我想启动Telegram test project
发布于 2019-10-31 17:45:27
您需要在Xcode : Platforms/iPhoneOS.platform/Developer/Library/Xcode Platforms/iPhoneSimulator.platform/Developer/Library/Xcode中添加文件夹规范
https://stackoverflow.com/questions/33505008
复制相似问题