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

Distribute to hockeyapp suddenly failing #400

Closed
MarkMolina opened this issue Jul 10, 2015 · 8 comments
Closed

Distribute to hockeyapp suddenly failing #400

MarkMolina opened this issue Jul 10, 2015 · 8 comments

Comments

@MarkMolina
Copy link

In version 1.6.0 I could successfully upload to hockeyapp by using the following settings.

ipa(
      workspace: "APPNAME.xcworkspace",
      configuration: "Beta",
      scheme: "Beta",
      destination: "build",
      identity: "Company BV",
      clean: true,
    )

hockey(
      api_token: "OUR_TOKEN",
      ipa: './build/APPNAME.ipa',
      notes_type: "1",
      notes: changelog,
    )

After upgrade (1.7.0) I get to following error:

Error when trying to upload ipa to HockeyApp: {"status"=>"error", "message"=>"App could not be created."}

Didn't touch anything and the app still lives in HockeyApp. Only thing that I changed is the ruby version (2.2.2).

EDIT
Tried to upload with the curl command from hockeyapp docs:

curl \
> -F "status=2" \
> -F "notes=Manual curl upload" \
> -F "notes_type=0" \
> -F "ipa=@APPNAME.ipa" \
> -F "dsym=@APPNAME.app.dSYM.zip" \
> -H "X-HockeyAppToken: API_TOKEN" \
> https://rink.hockeyapp.net/api/2/apps/APP_TOKEN/app_versions/upload

upload seems to work but can't install. Error: Unable to Download App.

@KrauseFx
Copy link
Member

So the upload work but you can't install it on your device? That sounds a lot like a code signing issue.

@MarkMolina
Copy link
Author

Well... It only works if I use the curl command from terminal. Upload doesn't work with the hockeyapp command from the fastfile.

@BobObiPayleven
Copy link

it happened to me just delete the app and recreate it on hockey and you are done

@clooth
Copy link

clooth commented Sep 15, 2015

I had this problem as well, but it went away when I gave the hockey action the application's public_identifier parameter.

@jjepsen
Copy link

jjepsen commented Sep 15, 2015

I had the same error message and public_identifier worked for me too. Thanks!

@KrauseFx
Copy link
Member

Great to hear 👍

@soffes
Copy link
Contributor

soffes commented Feb 1, 2016

Same here. public_identifier is required.

@micnguyen
Copy link
Contributor

Just so this doesn't happen: https://xkcd.com/979/ for when someone comes along and sees this: My Hockey uploads were working fine and then suddenly stopped working. The reason is that I changed my app's bundle ID, which means the referenced HockeyApp app no longer is associated, so it was trying to upload it to an App ID that doesn't exist. I fixed it by editing my HockeyApp app to match my new bundle ID of my actual app.

KrauseFx added a commit that referenced this issue Mar 7, 2016
* add xcpretty argument option
@fastlane fastlane locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants