Comments (5)
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 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
from shenzhen.
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.
from shenzhen.
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!
from shenzhen.
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?
from shenzhen.
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
from shenzhen.
Related Issues (20)
- Xcode8 can't archive use shenzhen HOT 1
- Including DSYM? HOT 2
- info command does not work for app name contains white spaces
- Install Error "use of undeclared identifier 'LZMA_OK'" HOT 3
- ipa command not found in Jenkins HOT 3
- How can I build Ad Hoc Deployment ipa HOT 2
- ipa build error
- Missing release comment HOT 1
- Create a new version? HOT 2
- upload fir error HOT 4
- ipa building is quite slowly
- Xcode8.3 unable to find utility "PackageApplication" HOT 3
- XCode 8.3 cannot find PackageApplication HOT 3
- /usr/local/bin/ipa: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory HOT 1
- FilePermissionError HOT 2
- Shenzen fails on Xcode version check when evaluating Xcode 10+ HOT 2
- Shenzhen requires Xcode 4 (found 10.0). Please install or switch to the latest Xcode. HOT 2
- XCode 11.1 updates the path for iTMSTransporter
- ipa info could not run correctly
- (IGNORE)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shenzhen.