Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MAF: Upgrade to IOS8 SDK results in XCode Build Error "SDK Cannot Be Located"

TreeStrepek-JavaNetNov 29 2014 — edited Dec 9 2014

Hey There Everyone:

I run MAF 2.0.1.1.41, JDev 12.1.3.0.0, XCode 5.1, IOS 8.1 SDK

I can deploy my code set to IOS 7.1 SDK without error. However after upgrading to IOS8 SDK XCode command-line execution reports "SDK Not Found".

  • Entire XCode Command Line for IOS 7.1 SDK

    • IOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
    • Command-line executed: [04:00:55 PM] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean install -configuration Debug -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk DSTROOT=/Users/AST/jdeveloper/mywork/AST/Official/Official/myASTv1.4/deploy/iOS_Sim/Destination_Root/ IPHONEOS_DEPLOYMENT_TARGET=6.0 TARGETED_DEVICE_FAMILY=1,2 PRODUCT_NAME=myAST ADD_SETTINGS_BUNDLE=NO
    • RESULTS:
      • [04:01:38 PM] Command-line execution succeeded.
      • final deployment: [04:01:50 PM] ---- Deployment finished. ----
  • Entire XCode Command Line for IOS 8.1 SDK

    • IOS SDK: /Applications/Xcode61.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
    • Command-line executed: [12:13:51 PM] Command-line executed: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild clean install -configuration Debug -sdk /Applications/Xcode61.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk DSTROOT=/Users/AST/jdeveloper/mywork/AST/Official/Official/myASTv1.4/deploy/iOS_Sim/Destination_Root/ IPHONEOS_DEPLOYMENT_TARGET=6.0 TARGETED_DEVICE_FAMILY=1,2 PRODUCT_NAME=myAST ADD_SETTINGS_BUNDLE=NO
    • RESULTS
      • [12:13:52 PM] Command-line execution failed (Return code: 64)
      • final deployment: [12:13:52 PM] Deployment cancelled.
      • <deployment logs below>

_____________________________________________________________________________________________________________________________

  • SO... I ran the XCode commands highlighted below in iTerm:

Screen Shot 2014-11-29 at 12.37.42 PM.png

_____________________________________________________________________________________________________________________________

Screen Shot 2014-11-29 at 12.23.52 PM.png

  • The "iPhoneSimulator8.1.sdk" directory is a shortcut to the "iPhoneSimulator.sdk" directory.

Screen Shot 2014-11-29 at 12.32.34 PM.png

This post has been answered by TreeStrepek-JavaNet on Dec 9 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2015
Added on Nov 29 2014
11 comments
4,539 views