jbavari / cordova-deploy

Command line tools to help deploy your Cordova application to your users.
Apache License 2.0
12 stars 9 forks source link

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

Open kevbaker opened 10 years ago

kevbaker commented 10 years ago

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 commented 10 years ago

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 commented 9 years ago

:+1: same issue

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