Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 iOS 9 Swift 2.0 Spritekit performance is slow

I had a sprite kit based game running fine on iOS8, however when testing the app on the iOS 9 beta 5 and it is jerky and quite slow.

So I installed the xcode 7 and recompiled the app in swift 2.0, but it is still very slow and jerky.

Is anybody else having this issue? an ideas how to fix it?

like image 587
MandelDuck Avatar asked Aug 08 '15 08:08

MandelDuck


1 Answers

Not sure if you were able to resolve your problem, but I've been experiencing a lot of lagging with Swift2.0 and XCode7 - smh (9/23/15)

Here is what I did:

  1. Clean your derived data for your project. Not just the content but the folder that contains the Derived data;
  2. Go to Build Settings;
  3. Click All ;
  4. Search for Whole (Optimization Levels should come up)
  5. Check Fast Module Optimization for debug and release.

I am seeing a huge performance increase. However, I'm still testing.

like image 119
Ronaldoh1 Avatar answered Oct 19 '22 03:10

Ronaldoh1