Xcode 6.3:8.0或8.0.2模拟器

时间:2015-05-01 14:40:11

标签: ios swift xcode6 sprite-kit

问题:

  • Xcode 6.3没有8.0模拟器;
  • 我正在使用swift 1.2,所以我无法在早期版本的Xcode下编译项目;
  • 我在iOS 8.0设备上有很多sprite工具包崩溃(崩溃报告不是很有帮助,它们与精灵工具包本身有关);
  • 适用于iOS 7.1和8.1 +

有没有办法在Xcode 6.3上安装8.0或8.0.2模拟器?

崩溃报告示例:

Thread : Crashed: com.apple.main-thread
0  SpriteKit                      0x0000000188ee72c8 SKCSprite::update(double) + 404
1  SpriteKit                      0x0000000188ee72d4 SKCSprite::update(double) + 416
2  SpriteKit                      0x0000000188ee72d4 SKCSprite::update(double) + 416
3  SpriteKit                      0x0000000188e9fb10 -[SKScene _update:] + 140
4  SpriteKit                      0x0000000188eba110 -[SKView(Private) _update:] + 568
5  SpriteKit                      0x0000000188eb7728 -[SKView renderCallback:] + 764
6  SpriteKit                      0x0000000188eb4794 __29-[SKView setUpRenderCallback]_block_invoke + 60
7  SpriteKit                      0x0000000188ee1724 -[SKDisplayLink _callbackForNextFrame:] + 272
8  QuartzCore                     0x00000001889e964c CA::Display::DisplayLinkItem::dispatch() + 32
9  QuartzCore                     0x00000001889e94e4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 324
10 IOKit                          0x0000000185a05d84 IODispatchCalloutFromCFMessage + 376
11 CoreFoundation                 0x0000000184864f34 __CFMachPortPerform + 180
12 CoreFoundation                 0x0000000184879b38 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
13 CoreFoundation                 0x0000000184879a98 __CFRunLoopDoSource1 + 436
14 CoreFoundation                 0x0000000184877a18 __CFRunLoopRun + 1640
15 CoreFoundation                 0x00000001847a5664 CFRunLoopRunSpecific + 396
16 GraphicsServices               0x000000018d8e75a4 GSEventRunModal + 168
17 UIKit                          0x00000001890aa4f8 UIApplicationMain + 1488
18 Hedgehog                       0x000000010012fd3c main (AppDelegate.swift:14)
19 libdyld.dylib                  0x0000000195516a08 start + 4

1 个答案:

答案 0 :(得分:3)

摘自this question的接受答案:

  

Xcode 6.1发布时不再支持iOS 8.0模拟器。如果您真的需要它,您可以安装Xcode 6.0,也可以尝试将XS 6.0中的iPhoneSimulator8.0.sdk和iOS 8.0.simruntime复制到Xcode 6.1中,但如上所述,这不受支持。

     

请参阅:

     

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS 8.0.simruntime

     

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk

它与6.1有关,但我认为它同样适用于6.3。