Last active
November 1, 2016 15:00
-
-
Save ssp/1c152c9a70bace500108ab9bae69624f to your computer and use it in GitHub Desktop.
Script to clone and build gitx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# | |
# Script to clone gitx from github and build it using | |
# the scripts provided by the project. | |
# | |
# Sven-S. Porst @ssp <[email protected]> | |
# | |
git clone https://github.com/ssp/gitx.git | |
cd gitx | |
git submodule update --init --recursive | |
cd objective-git | |
script/bootstrap | |
script/update_libgit2 | |
cd .. | |
./build.py build release | |
open build/Release |
aziz
commented
Aug 8, 2016
@aziz:
run sudo pip install argh
Then ignore error messages at the end of running ./build.py build release
, it still creates a runnable app.
@ssp: You may want to update your script
still can't build this:
The following build commands failed:
PhaseScriptExecution Run\ Script:\ Link\ fr_CA\ to\ fr /Users/allen/Library/Developer/Xcode/DerivedData/GitX-eyaqpiumdfcarmfzfxoamwgdbtyu/Build/Intermediates/Sparkle.build/Release/Sparkle.build/Script-6195D4B40E40505A00D41A50.sh
(1 failure)
error: Command '['xcrun', 'xcodebuild', '-scheme', 'Release', '-workspace', 'GitX.xcodeproj/project.xcworkspace', 'build', 'CONFIGURATION_BUILD_DIR=/Users/allen/Github/gitx/build/Release']' returned non-zero exit status 65
gitx mmeyer$ ./build/Release/gitx
dyld: Library not loaded: @rpath/ObjectiveGit.framework/ObjectiveGit
Referenced from: /Users/mmeyer/src/gitx/./build/Release/gitx
Reason: image not found
Trace/BPT trap: 5
Looks like ObjectiveGit didn't get linked in properly... I'm not sure what to do from here.
@elreydetodo Just run the release scheme from XCode
As Mark said, just skip the ./build.py build release
step and open the XCodeProj. Then run Build. It should create a functional binary in release
dir.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment