Can you use XCode6.3 with IOS7.1 SDK

后端 未结 4 1724
青春惊慌失措
青春惊慌失措 2021-02-02 15:41

Is it possible to use XCode6 beta with an IOS 7.1 SDK? The new tools are much nicer but I need to build for IOS7

4条回答
  •  北海茫月
    2021-02-02 16:27

    Yes. 1. First download 7.1 SDK - XCode6Beta > Preferences > Downloads > iOS 7.1 Simulator.

    Note: XCode6-Beta can co-exist with regular XCode (XCode 5.x). But when you download iOS 7.1 Simulator, it actually gets downloaded into XCode 5's path!! (probably a bug).

    1. Open XCode5's SDKs folder.. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    2. Open XCode6-beta's SDKs folder..
      /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    3. Copy iPhoneOS7.1.sdk from XCode5's to XCode6-Beta's SDK folder.
    4. Restart XCode6-beta

    Now if you go to Project's Build Settings, Base SDK, you will see 7.1 along with 8.0.

    Enjoy!enter image description here

提交回复
热议问题