Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

Commit 4295590

Browse files
committed
Gym can't build command-line tools. Use xcodebuild instead
1 parent 2f2a1bc commit 4295590

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: objective-c
22
osx_image: xcode8
33
before_script:
4-
# Build the Cat2Cat binary for
5-
- bundle exec gym --workspace "Cat2Cat.xcworkspace" --scheme "Cat2Cat" --sdk "macosx10.12" --output_directory "~/build/"
4+
# Build the Cat2Cat binary for use in the test projects
5+
- xcodebuild -configuration Release -workspace Cat2Cat.xcworkspace -scheme Cat2Cat -sdk macosx CONFIGURATION_BUILD_DIR='~/build/'
66
- cp ~/build/Cat2Cat CocoaPod/
77
- rm SampleiOSApp/Cat2CatExample/Cat2CatExample/Categories/UIImage+AssetCatalog.?
88
- rm SampleMacApp/Cat2CatExampleMac/Cat2CatExampleMac/Categories/NSImage+AssetCatalog.?

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
source 'https://rubygems.org'
22
gem 'scan', '~>0.13'
3-
gem 'gym'

Gemfile.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ GEM
2525
rubyzip (~> 1.1.6)
2626
terminal-table (>= 1.4.5, < 2.0.0)
2727
gh_inspector (1.0.2)
28-
gym (1.12.0)
29-
fastlane_core (>= 0.53.0, < 1.0.0)
30-
plist (>= 3.1.0, < 4.0.0)
31-
rubyzip (>= 1.1.7)
32-
terminal-table (>= 1.4.5, < 2.0.0)
33-
xcpretty (>= 0.2.4, < 1.0.0)
3428
highline (1.7.8)
3529
json (2.0.2)
3630
multi_json (1.12.1)
@@ -57,7 +51,6 @@ PLATFORMS
5751
ruby
5852

5953
DEPENDENCIES
60-
gym
6154
scan (~> 0.13)
6255

6356
BUNDLED WITH

0 commit comments

Comments
 (0)