According to my project errors i need gameplaykits. This is only for ios 9 but my app need to be availble for ios 8. How can i fixs this.
this is my project:
https://drive.google.com/file/d/0B6qhon61NKJLOG9ONWpNMWNJUmc/view?usp=sharing
It appears to be a bug in the iOS 9 SDK version of the GameKit framework, since it should not force the totally unrelated GameplayKit requirement that blocks deployment on iOS 8. You should file a bug at bugreporter.apple.com about it, if you haven't already.
Theoretically, if you build targetting an older iOS 8.x SDK it should link with a version of GameKit that doesn't include any references to GameplayKit.
If you plan to release your app to the App Store in the next few months before Xcode 7 is out of beta, you will need to build with Xcode 6.4 anyway, and it supports the iOS 8.4 SDK. That also means your app needs to be written in Swift 1.2 and not Swift 2.
If you won't be releasing your app until after Xcode 7 is officially released, and want to keep developing using Swift 2, you might be able to add the iOS 8.4 SDK to Xcode 7. I'm not sure it will work though.
Download Xcode 6.4 if you don't have it already, and get the iOS 8.4 SDK from inside the application package and drag it to the desktop while holding down the option key to make a copy:
/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
Rename the copy to "iPhoneOS8.4.sdk" and drag it to the same location inside the Xcode 7 beta application.
Now you should be able to choose the iOS 8.4 SDK as your SDKROOT in the build settings for your project.