My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error:
dyld: Library not loaded: /System/
Same for CloudKit.framework on iOS 7 (it is for iOS8 only). Go to General > Linked Frameworks and Libraries, change CloudKit.framework to Optional. Thanks VSN.