I would like to add RealmSwift to the Xcode pilot project (for Mac OS X Yosemite) and tried to follow the installation instructions on the Realm website.
I downloaded the Swift version of Realm and correctly dragged the framework into Xcode.
I set the Framework search paths to point to the new structure. When you try to start Xcode is sent with a code error, it returns code 1.
I didn’t add anything else to the standard Xcode / Cocoa application (non-document) using Swift and storyboard - it’s just a standard XDode AppDelegate application template at the moment without adding code other than the Realm framework, I searched endlessly around SO and over the Internet in overall, but most of them help focus on iOS.
I am using Xcode 6.3.2 build 6D2105 and OS X 10.10.4.
The error log is as follows:
Warning: using -preserve-metadata with the "resource-rules" option (deprecated on Mac OS X> = 10.10)! / Users / bobavery / Library / Developer / Xcode / DerivedData / RealmTest -hffxikloaikapxcsotbcfqpezrba / Build / Products / Debug / RealmTest.app / Contents / Frameworks / RealmSwift.framework / Versions / A: the code object is not signed at all. In the subcomponent: / Users / bobavery / Library / Developer / Xcode / DerivedData / RealmTest -hffxikloaikapxcsotbcfqpezrba / Build / Products / Debug / RealmTest.app / Contents / Frameworks / RealmSwift.framework / Versions / A / Frameworks / Realm.framework Error usr / bin / codesign with exit code 1
Any pointers would be very welcome!
source
share