Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Build issue #75

Closed
hardW opened this issue Oct 18, 2013 · 5 comments
Closed

Build issue #75

hardW opened this issue Oct 18, 2013 · 5 comments

Comments

@hardW
Copy link

hardW commented Oct 18, 2013

ipa build --trace
Faraday: you may want to install system_timer for reliable timeouts
Configuration was not passed, defaulting to Debug
/Library/Ruby/Gems/1.8/gems/shenzhen-0.5.0/lib/shenzhen/commands/build.rb:117:in `determine_scheme!': undefined method `length' for nil:NilClass (NoMethodError)
    from /Library/Ruby/Gems/1.8/gems/shenzhen-0.5.0/lib/shenzhen/commands/build.rb:35
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:155:in `run'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:402:in `run_active_command'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:78:in `run!'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
    from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
    from /usr/bin/ipa:19
@dehru
Copy link

dehru commented Oct 25, 2013

Yes, I get this in one of my projects. The other one seems to work fine.

/Library/Ruby/Gems/1.8/gems/shenzhen-0.5.0/lib/shenzhen/commands/build.rb:117:in determine_scheme!': undefined methodlength' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/shenzhen-0.5.0/lib/shenzhen/commands/build.rb:35
from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:180:in call' from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:180:incall'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/command.rb:155:in run' from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:402:inrun_active_command'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:78:in run!' from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:inrun!'
from /Library/Ruby/Gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/bin/ipa:19

@dehru
Copy link

dehru commented Nov 9, 2013

I found a pattern. I am using cordova to build the ios project. I'm trying to avoid opening xcode...I want to automate all of this. But after I use cordova ( phonegap ) to create the xcode project via command line, I must open the xcode project in xcode and do a build ( just to the simulator ). After the point, ipa build command works just fine.

So I'm guessing that the project that cordova creates is not exactly how shenzhen wants it, but opening it in xcode does some apple voodoo to the project file, and then shenzhen can build the ipa via command line.

@mattt
Copy link
Contributor

mattt commented Nov 13, 2013

a950463 aborts with an error rather than raising an exception.

As for Cordova, Shenzhen does not officially support any build systems other than Xcode.

Thanks!

@mattt mattt closed this as completed Nov 13, 2013
@aramkarapetian
Copy link

I have similar issue which comes to xcodebuild -list command which hang with no error unless I open xcode once.
The problem with me is that I have automate this (for CI) and don't want to use automator.
Could someone shed a light here?

@dehru
Copy link

dehru commented Dec 18, 2014

There are some pretty nice online build services doing this these days. You automate the upload, or they integrate with git. I've had some co-workers use it. https://build.phonegap.com/apps

mbaltaks pushed a commit to mbaltaks/shenzhen that referenced this issue Jun 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants