146bc / romebuild Goto Github PK
View Code? Open in Web Editor NEWA CLI tool that speeds up carthage build times by serving pre-built frameworks
License: MIT License
A CLI tool that speeds up carthage build times by serving pre-built frameworks
License: MIT License
When running;
brew install 146BC/repo/romebuild
Getting the following issue.
==> Installing romebuild from 146bc/repo
==> Downloading https://github.com/146BC/RomeBuild/archive/0.4.0.tar.gz
Already downloaded: /Users/lukemcdonald/Library/Caches/Homebrew/romebuild-0.4.0.tar.gz
==> Verifying romebuild-0.4.0.tar.gz checksum
tar xzf /Users/lukemcdonald/Library/Caches/Homebrew/romebuild-0.4.0.tar.gz
==> make install PREFIX=/usr/local/Cellar/romebuild/0.4.0
carthage bootstrap --platform OSX
*** Checking out Alamofire at "3.5.1"
*** Checking out CommandLine at "2.2.2"
*** Checking out ObjectMapper at "1.5.0"
*** Checking out Progress.swift at "68662d3b3589d2a7b0221966ae3019f97201b44d"
*** Checking out Regex at "0.4.2"
*** Checking out RomeKit at "0.3.0"
*** xcodebuild output can be found in /var/folders/5f/qbb3w46x2bsfgyvdkb_plcmw0000gn/T/carthage-xcodebuild.jGLobl.log
*** Building scheme "Alamofire OSX" in Alamofire.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /private/tmp/romebuild-20170419-28692-1fyaxe/RomeBuild-0.4.0/Carthage/Checkouts/Alamofire/Alamofire.xcworkspace -scheme "Alamofire OSX" -configuration Release -derivedDataPath /Users/lukemcdonald/Library/Caches/org.carthage.CarthageKit/DerivedData/Alamofire/3.5.1 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/5f/qbb3w46x2bsfgyvdkb_plcmw0000gn/T/carthage-xcodebuild.jGLobl.log
make: *** [install] Error 1
==> Formula
Tap: 146bc/repo
Path: /usr/local/Homebrew/Library/Taps/146bc/homebrew-repo/Formula/romebuild.rb
==> Configuration
HOMEBREW_VERSION: 1.1.13
ORIGIN: https://github.com/Homebrew/brew
HEAD: 46f6dc4c93b96abd528c3a0a808a5ca5a795c7f3
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8e9f48d19a1dcaa3e96b4a625365ae7ac2d64abc
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.12.2 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/lukemcdonald/.rvm/rubies/ruby-2.3.0/bin/ruby
Java: N/A
macOS: 10.12.4-x86_64
Xcode: 8.3.1
CLT: 8.3.0.0.1.1490382677
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/carthage/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/carthage/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: 146bc/repo/romebuild 0.4.0 did not build
Logs:
/Users/lukemcdonald/Library/Logs/Homebrew/romebuild/00.options.out
/Users/lukemcdonald/Library/Logs/Homebrew/romebuild/01.make
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/146bc/homebrew-repo/issues
Notes:
Running macOS Sierra
Xcode 8.3.1
Hi, just trying to figure out if I am doing something wrong.
I tested this using a repo that has a single carthage requirement, that is VERY small. It took 5 mins to build and upload.
Then running romebuild --build took long enough that I just gave up. Any ideas?
Server is on a dedicated mac mini.
attempting to do an upload / build, but it doesn't appear to work:
`xcodes-mac-mini:regex jenkins$ romebuild --upload
*** Checking out logger at "v1.1.1"
logger v1.1.1
Asset not found in Rome server, added to build list
Checkout project dependency logger
*** Checking out logger at "v1.1.1"
Checkout inner dependencies for logger
*** No Cartfile.resolved found, updating dependencies
Failed to read file or folder at /Users/Shared/Jenkins/Projects/regex/Carthage/Checkouts/logger/Cartfile: Error Domain=NSCocoaErrorDomain Code=260 "The file “Cartfile” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/Shared/Jenkins/Projects/regex/Carthage/Checkouts/logger/Cartfile, NSUnderlyingError=0x7fc460f12460 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Building logger for archive
*** xcodebuild output can be found in /var/folders/dk/mzfwbnq16116dsz542734fdh000088/T/carthage-xcodebuild.ETwKU4.log
*** Building scheme "Logger" in Logger.xcodeproj
*** Found Carthage/Build/iOS/Logger.framework
*** Found Carthage/Build/iOS/Logger.framework.dSYM
*** Found Carthage/Build/iOS/6197A27C-2AD3-336C-A2DD-6533AAF80D48.bcsymbolmap
*** Found Carthage/Build/iOS/6590B3AB-0C77-33F9-A606-52F03C41EDA2.bcsymbolmap
*** Created /Users/Shared/Jenkins/Projects/regex/Logger.framework.zip
6 %
13 %
19 %
26 %
33 %
39 %
46 %
53 %
59 %
66 %
72 %
79 %
86 %
92 %
99 %
100 %
Upload complete
xcodes-mac-mini:regex jenkins$ romebuild --build
logger v1.1.1
Asset not found in Rome server, added to build list
*** Checking out logger at "v1.1.1"
*** xcodebuild output can be found in /var/folders/dk/mzfwbnq16116dsz542734fdh000088/T/carthage-xcodebuild.nO518Z.log
*** Building scheme "Logger" in Logger.xcodeproj
`
As we're showing a progress bar when uploading assets, we should also show a progress bar when downloading assets.
Hi!
I have a problem with binary builds.
Binaries downloaded and expanded correctly, but then Xcode crashes with code 11 and error "opening import file for module 'Result' permission denied"
But it works fine when the user is the same (on both machines) and Carthage update called at least once.
Seems as Swift somehow saves path to binaries inside DerivedData, so it works if path the same and stops working if this path is empty.
Thanks,
Yehor
Would be useful to have autocompletion implemented similar to:
https://github.com/Carthage/Carthage/blob/master/Documentation/BashZshFishCompletion.md
Is there a way to have it upload the asset when i upload the framework, as apposed to when I run the command in the parent project? I would like to have jenkins to upload if tests pass.
macOS HighSierra - 10.13.4 (17E199)
Homebrew 1.5.14
Homebrew/homebrew-core (git revision 9f8b6; last commit 2018-04-05)
$ brew install 146BC/repo/romebuild
==> Installing romebuild from 146bc/repo
==> Downloading https://github.com/146BC/RomeBuild/archive/0.4.0.tar.gz
Already downloaded: /Users/wasith/Library/Caches/Homebrew/romebuild-0.4.0.tar.gz
==> make install PREFIX=/usr/local/Cellar/romebuild/0.4.0
Last 15 lines from /Users/wasith/Library/Logs/Homebrew/romebuild/01.make:
install
PREFIX=/usr/local/Cellar/romebuild/0.4.0
carthage bootstrap --platform OSX
*** Checking out CommandLine at "2.2.2"
*** Checking out RomeKit at "0.3.0"
*** Checking out Alamofire at "3.5.1"
*** Checking out Progress.swift at "68662d3b3589d2a7b0221966ae3019f97201b44d"
*** Cloning Progress.swift
*** Cloning RomeKit
*** Cloning CommandLine
A shell task (/usr/bin/env git clone --bare --quiet https://github.com/146BC/RomeKit.git /Users/wasith/Library/Caches/org.carthage.CarthageKit/dependencies/RomeKit) failed with exit code 1:
/Users/wasith/Library/Caches/org.carthage.CarthageKit/dependencies/RomeKit: Operation not permitted
make: *** [install] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/146bc/homebrew-repo/issues
/usr/local/Homebrew/Library/Homebrew/exceptions.rb:426:in `block in dump': undefined method `check_for_bad_install_name_tool' for #<Homebrew::Diagnostic::Checks:0x0000010219f610> (NoMethodError)
Did you mean? check_for_tap_ruby_files_locations
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:425:in `each'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:425:in `dump'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `rescue in <main>'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:30:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.