Xcode 6.3: 8.0 or 8.0.2 simulator

Problem:

  • Xcode 6.3 doesn't have 8.0 simulators;
  • I am using swift 1.2, so I cannot compile the project in earlier versions of Xcode;
  • I have a lot of sprite kit crashes on iOS 8.0 devices (crash reports are not very helpful, they are related to the sprite kit itself);
  • it works fine on iOS 7.1 and 8.1+

Is there a way to set build to 8.0 or 8.0.2 simulator from Xcode 6.3?

Crash report example:

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

      

+3


source to share


1 answer


An excerpt from the accepted answer to this question :

The iOS 8.0 simulator is no longer supported since the release of Xcode 6.1. If you really want to, you can install Xcode 6.0 or try copying iPhoneSimulator8.0.sdk and iOS 8.0.simruntime from Xcode 6.0 to Xcode 6.1, but as pointed out this is not supported.

Cm:

/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



This applies to 6.1, but I think it applies equally to 6.3.

+3


source







All Articles