I'm new to Cedar so please forgive oversights on my part.
I have added a Cedar Spec suite to my app and that compiles and all test passes when run in the iOS simulator. I am also able to build it successfully from the command line with:
$ xcodebuild -project MyProject.xcodeproj -target MyProjectCedarSpec -configuration Debug -sdk iphonesimulator clean build
(I have also tried -sdk iphonesimulator5.1 and -sdk iphonesimulator6.1 with no differences)
However I am not able to run the test suite:
$ /Users/ep/myproject/build/Debug-iphonesimulator/MyProjectCedarSpec.app/MyProjectCedarSpec -RegisterForSystemEvents
dyld: Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit
Referenced from: /Users/ep/git/myproject/build/Debug-iphonesimulator/MyProjectCedarSpec.app/MyProjectCedarSpec
Reason: image not found
Trace/BPT trap: 5
It seems like it's trying to link against UIKit from root and not from the current SDK location, but I did double-check that I added UIKit as a framework "Relative to SDK."
I did look inside the Rakefile in the cedar home for insights already, particularly around the uispecs target...
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Cedar Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
cedar-discus...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.