简体   繁体   English

iphone:来自终端的xcodebuild命令不起作用,怎么办?

[英]iphone : xcodebuild command from terminal not working, How to?

i am running xcodebuild command from terminal but getting the following error 我正在从终端运行xcodebuild命令,但收到以下错误

ATION (Release) === Check dependencies error: There is no SDK with the name or path 'iphonesimulator3.1.3' [BEROR]error: There is no SDK with the name or path 'iphonesimulator3.1.3' ** BUILD FAILED ** ATION(Release)===检查依赖项错误:没有名称或路径为“ iphonesimulator3.1.3”的SDK [错误]:没有名称或路径为“ iphonesimulator3.1.3”的SDK

what is the possible reason im getting this error ?. 我收到此错误的可能原因是什么? everything in XCode is working fine. XCode中的所有内容都可以正常工作。 if a run the project from XCode. 如果从XCode运行项目。 it is working fine. 它工作正常。

One thing to mention that i have not installed XCode in /Developer . 值得一提的是,我尚未在/ Developer中安装XCode。 i have created another folder in my system hard disk and there XCode is installed. 我在系统硬盘上创建了另一个文件夹,并安装了XCode。 is this thing related to the issue im facing ?? 这件事与我面临的问题有关吗?

Please acknowledge. 请确认。 waiting for reply. 等待回复。

  • Install it to /Developer. 将其安装到/ Developer。 It might make your life easier. 这可能会使您的生活更轻松。
  • Try xcode-select /path/to/developer . 尝试使用xcode-select /path/to/developer You haven't specified where you've installed it, so I can't help more. 您尚未指定安装位置,因此我无济于事。
  • There is no iphonesimulator3.1.3 in the latest SDK. 最新的SDK中没有iphonesimulator3.1.3。 You could try xcodebuild -sdk iphonesimulator4.0 ... . 您可以尝试xcodebuild -sdk iphonesimulator4.0 ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM