V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
likaci
V2EX  ›  iDev

Xcode 6.1.1 如何安装 iOS 7.1 sdk ?

  •  
  •   likaci ·
    likaci · 2015-01-12 08:32:28 +08:00 · 13519 次点击
    这是一个创建于 3394 天前的主题,其中的信息可能已经有所发展或是发生改变。
    默认的下载太慢
    用迅雷下载下来 ios_7_1_simulator_rdq52dx.dmg 安装上去之后
    复制到
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
    发现**没效果**
    ---
    
    9 条回复    2015-07-02 17:16:19 +08:00
    haosxianr
        1
    haosxianr  
       2015-01-12 08:45:18 +08:00 via iPhone   ❤️ 1
    Xcode > Preference > Download ios7Simularor下载上
    zeayes
        2
    zeayes  
       2015-01-12 09:25:09 +08:00   ❤️ 1
    要check and install一下吧
    likaci
        3
    likaci  
    OP
       2015-01-12 09:33:30 +08:00
    @haosxianr 下载太慢了
    @zeayes 安装了,也拷贝了
    ---
    刚才又捋了一遍
    http://stackoverflow.com/questions/24045307/is-it-possible-to-install-ios-7-sdk-on-xcode-6
    发现这样解决

    ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk

    This should link the iOS 7 SDK for iPhone (not sim), allowing you to select iOS 7 as the Base SDK in Xcode 6 Beta. If you want to do this for the simulator, replace iPhoneOS.platform with iPhoneSimulator.platform.
    haosxianr
        4
    haosxianr  
       2015-01-12 10:04:36 +08:00 via iPhone   ❤️ 1
    @likaci 你这样默认用的是iOS7的SDK吧,你确定iOS8的API你能用?
    belin520
        5
    belin520  
       2015-01-12 10:24:52 +08:00
    有,我就是下载下来,拉到那个目录下,然后Xcode里面就有了,没做任何其他操作
    likaci
        6
    likaci  
    OP
       2015-01-12 11:04:03 +08:00
    @haosxianr 呃…晕了
    按照路径把替身删除,发现仍然可以用。
    起作用的还是iPhoneSimulator.platform里的文件…
    可昨晚明明放过去没作用啊!
    zeayes
        7
    zeayes  
       2015-01-12 12:56:43 +08:00
    @likaci 楼主这样做是为啥?
    如果是调试iOS7.1,可以直接用iOS8的API写接口,再用7.1的模拟器调试不就OK了
    zeayes
        8
    zeayes  
       2015-01-12 12:58:00 +08:00
    @likaci 我用xcode装7.1的模拟器时,xcode并没有帮你安装7.1的sdk
    tunnyios
        9
    tunnyios  
       2015-07-02 17:16:19 +08:00
    楼主,我也碰到这种问题了。怎么解决呢?xode6.4版本自带了IOS8.4SDK...下载了7.1的sdk,复制到sdks目录里面好像xcode不识别
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1491 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 17:09 · PVG 01:09 · LAX 10:09 · JFK 13:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.