Open ghulammustafa opened 11 years ago
I should probably remove that build script, or deemphasize it in the README, since the best way to build and run the Text Editor is via the Xcode workspace.
Does the workspace work for you?
Oh, also, it looks like you maybe don't have your developer certificate set up anyway, so the workspace build may fail:
Code Sign error: The identity 'Mac Developer:' doesn't match any valid, non-expired certificate/private key pair in your keychains
OK, one more possible thing to explore. Maybe you only have an iOS developer certificate set up? We always have both iOS and Mac developer certificates. If you are only doing iOS development, you might try commenting out this line in OmniGroup/Configurations/Target-Mac-Common.xcconfig
:
OMNI_MAC_CODE_SIGN_IDENTITY = Mac Developer:
The build failure above is when a Mac helper tool is being built (which doesn't really need to be signed, but we just default to signing all our builds).
I've tried Build using TextEditor.xcworkspace
, but I still get the following issues:
Lexical or Preprocessor Issue 'OmniFoundation/OFObject.h' file not found
/Users/me/Library/Developer/Xcode/DerivedData/TextEditor-eptpuliexaeapqdhcyzhbmvzluqu/Build/Products/Debug-iphonesimulator/include/OmniAppKit/NSFileWrapper-OAExtensions.h:10:9: 'OmniFoundation/OFFileWrapper.h' file not found
/Users/me/Library/Developer/Xcode/DerivedData/TextEditor-eptpuliexaeapqdhcyzhbmvzluqu/Build/Products/Debug-iphonesimulator/include/OmniQuartz/OQColor.h:10:9: 'OmniFoundation/OFObject.h' file not found
I just downloaded the framework today (2013-06-06). After commenting out the OMNI_MAC_CODE_SIGN_IDENTITY
I was able to build and run the TextEditor project just fine. There was a blue warning in OAParagraphStyle.m
though. Something like "Instance variable used while 'self' is not set to the result of...". But it doesn't appear to have a negative impact on anything.
I'm unable to build, and eventually test by running "Text Editor" example.