Xcode6.3: 8.0 或 8.0.2 模拟器
Xcode 6.3: 8.0 or 8.0.2 simulator
问题:
- Xcode 6.3 没有 8.0 模拟器;
- 我正在使用 swift 1.2,所以我无法在 Xcode 的早期版本下编译该项目;
- 我在 iOS 8.0 设备上有很多 sprite kit 崩溃(崩溃报告不是很有用,它们与 sprite kit 本身有关);
- 它适用于 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
摘自 this question 的已接受答案:
The iOS 8.0 simulator is not supported any more as of the release of Xcode 6.1. If you really want it, you can either install Xcode 6.0 or you can try copying the iPhoneSimulator8.0.sdk and iOS 8.0.simruntime from Xcode 6.0 into Xcode 6.1, but as stated, this is not supported.
See:
/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。
问题:
- Xcode 6.3 没有 8.0 模拟器;
- 我正在使用 swift 1.2,所以我无法在 Xcode 的早期版本下编译该项目;
- 我在 iOS 8.0 设备上有很多 sprite kit 崩溃(崩溃报告不是很有用,它们与 sprite kit 本身有关);
- 它适用于 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
摘自 this question 的已接受答案:
The iOS 8.0 simulator is not supported any more as of the release of Xcode 6.1. If you really want it, you can either install Xcode 6.0 or you can try copying the iPhoneSimulator8.0.sdk and iOS 8.0.simruntime from Xcode 6.0 into Xcode 6.1, but as stated, this is not supported.
See:
/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。