首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iOS-通用框架安装问题

iOS-通用框架安装问题
EN

Stack Overflow用户
提问于 2015-11-04 01:03:21
回答 1查看 429关注 0票数 6

我尝试安装iOS-Universal-Framework。尝试从此存储库中运行instalation shell screept,并始终获取消息:

代码语言:javascript
复制
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。但所有时间都会收到消息:

代码语言:javascript
复制
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是否已正确安装:

代码语言:javascript
复制
xcode-select -p

并获取消息:

代码语言:javascript
复制
/Applications/Xcode.app/Contents/Developer

在此之后,我尝试安装命令行工具(在此之前我没有命令行工具):

代码语言:javascript
复制
gcc -v

并获取消息:

代码语言:javascript
复制
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

EN

回答 1

Stack Overflow用户

发布于 2019-10-31 17:45:27

您需要在Xcode : Platforms/iPhoneOS.platform/Developer/Library/Xcode Platforms/iPhoneSimulator.platform/Developer/Library/Xcode中添加文件夹规范

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33505008

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档