Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed in (OmniGroup/Tools/FixStringsFile) #65

Open
ghulammustafa opened this issue Mar 26, 2013 · 5 comments
Open

Build failed in (OmniGroup/Tools/FixStringsFile) #65

ghulammustafa opened this issue Mar 26, 2013 · 5 comments

Comments

@ghulammustafa
Copy link

I'm unable to build, and eventually test by running "Text Editor" example.

My-MacBook-Pro:OmniGroup me$ ./Scripts/Build Frameworks
Now in: /Users/me/Downloads
2013-03-26 12:33:15.874 defaults[1535:707] 
The domain/default pair of (/Users/me/Library/Preferences/com.apple.Xcode, PBXProductDirectory) does not exist
Warning: PBXProductDirectory not defined in Xcode, using /Users/Shared/me/Products
2013-03-26 12:33:15.921 defaults[1537:707] 
The domain/default pair of (/Users/me/Library/Preferences/com.apple.Xcode, PBXIntermediatesDirectory) does not exist
Warning: PBXIntermediatesDirectory not defined in Xcode, using /Users/Shared/me/Products/Builds
BUILD_ACTION=
#
# Tue Mar 26 12:33:16 PKT 2013
# Starting build of Frameworks
# BUILD_CONFIGURATION=Debug
#
Building FixStringsFile (OmniGroup/Tools/FixStringsFile)
+./Scripts/Build:136> xcodebuild 'DSTROOT=/' 'SYMROOT=/Users/Shared/me/Products' 'OBJROOT=/Users/Shared/me/Products/Builds' 'OMNI_INSTALLED_PRODUCTS=' 'OMNI_FRAMEWORK_TARGET_PATH=/Users/Shared/me/Products/Debug' -configuration Debug -project FixStringsFile.xcodeproj
Build settings from command line:
    DSTROOT = /
    OBJROOT = /Users/Shared/me/Products/Builds
    OMNI_FRAMEWORK_TARGET_PATH = /Users/Shared/me/Products/Debug
    OMNI_INSTALLED_PRODUCTS = 
    SYMROOT = /Users/Shared/me/Products

=== BUILD NATIVE TARGET FixStringsFile OF PROJECT FixStringsFile WITH CONFIGURATION Debug ===
Check dependencies
Code Sign error: The identity 'Mac Developer:' doesn't match any valid, non-expired certificate/private key pair in your keychains


** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Build failed in  (OmniGroup/Tools/FixStringsFile)
@tjw
Copy link
Contributor

tjw commented Mar 26, 2013

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?

@tjw
Copy link
Contributor

tjw commented Mar 26, 2013

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

@tjw
Copy link
Contributor

tjw commented Mar 26, 2013

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).

@ghulammustafa
Copy link
Author

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

@mluton
Copy link

mluton commented Jun 6, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants