简体   繁体   中英

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

i am running xcodebuild command from terminal but getting the following error

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 **

what is the possible reason im getting this error ?. everything in XCode is working fine. if a run the project from XCode. it is working fine.

One thing to mention that i have not installed XCode in /Developer . i have created another folder in my system hard disk and there XCode is installed. is this thing related to the issue im facing ??

Please acknowledge. waiting for reply.

  • Install it to /Developer. It might make your life easier.
  • Try 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. You could try xcodebuild -sdk iphonesimulator4.0 ... .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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