Xcode (7A165t): Apps linking GKSession and iOS 9 sdk crashes on launch on iOS 8.4 devices

Originator:dieter.komendera
Number:rdar://22169343 Date Originated:06-Aug-2015 02:40 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta(7A165t)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
An app linked against iOS 9 sdk and using GKSession crashes with a dyld error when running on an iOS 8.4 device. The app runs successfully on iOS 9.

dyld: Library not loaded: /System/Library/Frameworks/GameCenter.framework/GameCenter
  Referenced from: /private/var/mobile/Containers/Bundle/Application/1366BDB6-D97B-475F-9A62-5A8BB816D08F/iRadarDemo.app/iRadarDemo
  Reason: image not found

Steps to Reproduce:
build and run the attached demo app on an iOS 8.4 device

Expected Results:
app runs

Actual Results:
app crashes with the above error

Regression:
This is a regression to Xcode 6.4

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!