gpt4 book ai didi

iOS-Universal-Framework安装问题

转载 作者:行者123 更新时间:2023-12-03 00:53:48 28 4
gpt4 key购买 nike

我尝试安装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 ]:

所以我按回车键,因为我已经成功安装了 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

所以命令行工具应该可以很好地工作。但我无法完成通用框架的安装。

PS:我做所有这些事情是因为我想启动 Telegram test project

最佳答案

您需要在 Xcode 源中添加文件夹规范:平台/iPhoneOS.platform/开发人员/库/Xcode平台/iPhoneSimulator.platform/Developer/Library/Xcode

关于iOS-Universal-Framework安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33505008/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com