迦太基,Xcode9."xcodebuild在尝试读取* .xcodeproj时超时".错误 [英] Carthage, Xcode 9. "xcodebuild timed out while trying to read *.xcodeproj" error

查看:216
本文介绍了迦太基,Xcode9."xcodebuild在尝试读取* .xcodeproj时超时".错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我下载了xCode 9,并开始将所有内容转换为Swift 3.2/4,因此我可以构建和运行我的项目.

Today I downloaded xCode 9 and started converting everything to Swift 3.2/4, so I can build and run my project.

正如人们期望迦太基抱怨某些项目无法构建,因为它们与Swift 3.2/4不兼容.我必须找到兼容的版本并进行构建.

As it was expected carthage complaint about some project that they could not be build, as they were not compatible with Swift 3.2/4. I had to find the versions that were compatible and build them.

我还不得不使用--no-use-binaries,因为某些框架已与Swift的早期版本进行了预编译.

I also had to use --no-use-binaries, as some frameworks are precompiled with previous versions of Swift.

然后出现以下错误:

尝试读取AWSiOSSDKv2.xcodeproj时,

xcodebuild超时

xcodebuild timeout while trying to read AWSiOSSDKv2.xcodeproj

到目前为止,由于我正在下载预编译的AWS框架,因此我可能未收到此错误.现在,迦太基不得不在本地对其进行编译,但是缺少了一些东西,并且造成了超时.

So far I was probably not getting this error, as i was downloading AWS framework precompiled. Now that carthage had to compile it locally, something was missing and was creating the timeout.

推荐答案

要解决该问题,我执行了以下步骤:

To sort it out I did the following steps:

  • 在Xcode中打开超时的项目
  • 什么也不要做
  • 运行迦太基构建-平台iOS"

所有编译都没有任何错误.它表明,一旦在Xcode中打开了项目,Xcode就会自动添加缺少的内容,然后项目进行编译.

Everything compiled without any errors. It seams that once the project is opened in Xcode, Xcode is automatically adding something that is missing and the project compiles then.

每次迦太基更新"之后都必须遵循此过程,因为更新将下载一个新的xcode项目.

This process has to be followed after every "carthage update", as the update will download a fresh xcode project.

这篇关于迦太基,Xcode9."xcodebuild在尝试读取* .xcodeproj时超时".错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆