GamePlayKit help

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

There are two similarly named Apple frameworks, GameKit (which provides Game Center stuff like player matching, achievements, saves) and GameplayKit (which provides game logic like opponent AI, pathfinding, etc).


GameKit is the one you appear to be using, and is available in iOS 8 (and well before that, too).

https://developer.apple.com/library/ios//documentation/GameKit/Reference/GameKit_Collection/


GameplayKit is new, and is only available in iOS 9 (and OSX 10.11)

https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/GameplayKit_Guide/



If you want to use the GameKit framework on iOS 8 or later, you just need to make sure that your settings are right. Click on your project at the top of the Xcode project navigator to bring up the details for your app.

The deployment target needs to be 8.0 or later (in the Deployment Info section of the "General" tab.

You may also need to set up some other App Store related settings.

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html



If you want to add something new to your code using the GameplayKit framework (to add opponent AI or other game logic), your app would be limited to iOS 9. If you wanted to duplicate that GameplayKit functionality on iOS 8, you would need to write the code to do it yourself.

It looks like GameKit tries to import GamePlayKit, which crashes on dyld.


dyld: Library not loaded: /System/Library/Frameworks/GameplayKit.framework/GameplayKit
  Referenced from: /private/var/mobile/Containers/Bundle/Application/D64C3101-F1AB-454C-8992-2D24B9499076/Pique.app/Frameworks/libswiftGameKit.dylib
  Reason: image not found
(lldb)
GamePlayKit help
 
 
Q