Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova-deploy fails to create ipa and upload to HockeyApp #2

Open
kevbaker opened this issue Aug 26, 2014 · 2 comments
Open

Cordova-deploy fails to create ipa and upload to HockeyApp #2

kevbaker opened this issue Aug 26, 2014 · 2 comments

Comments

@kevbaker
Copy link

Issue

I am not seeing my app in HockeyApp after a deploy.

Command

I am running the below command from my project's root dir where the config.xml file sits.

cordova-deploy --build --ios --hockey

Results

It shows the following results:

Testflight config: null
Building iOS
cordova build ios --release --device
Build for iOS completed
Bundling iOS .ipa File
Bundling iOS .ipa file completed
iOS application information:
    App path: ~/releases/my-app/platforms/ios/build/device/my-app.app
    IPA path: ~/releases/my-app/platforms/ios/build/device/my-app.ipa
Building iOS
iOS Build Complete
Deploying iOS to HockeyApp
Deployed iOS to HockeyApp

Issue

The version does not show up in HockeyApp and the file"~/releases/my-app/platforms/ios/build/device/my-app.ipa does not exist locally. It seems like the build or singing is silently failing?

Any ideas on how I could debug this? Is there a log or something during the build?

Love this workflow, so hoping to get this fixed.

@jbavari
Copy link
Owner

jbavari commented Aug 28, 2014

Hey Kevin,
I'm not 100% sure here, but I may guess that the issue is spurring from the "~/releases" relative path. That's being passed on to XCode which I think is expecting an absolute path.

Try looking in the builder.js file and see the command it calls to xcrun - and instead plug in the path, app name, and output path to see the commands. Also, you may want to run --verbose with that command.

If you pull the code and npm-link it, you can go modify the builder.js file in the lib directory, you can play with cordova-deploy as you may changes.

Hope this helps!

@mecampbellsoup
Copy link

👍 same issue

Is there a log file or --verbose option to show what's happening under the hood?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants