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

Tool doesn't removes "\" in APK Location #11

Open
Adam2Marsh opened this issue Sep 13, 2014 · 0 comments
Open

Tool doesn't removes "\" in APK Location #11

Adam2Marsh opened this issue Sep 13, 2014 · 0 comments

Comments

@Adam2Marsh
Copy link

Hi Guys,

I had problems running this tool if the path to my APK contained spaces; here is what I tried running originally:

sh -x ./testfairy-upload.sh  Unity\ Builds/Petrichor\ Andriod/Petrichor\ Leaderboard.apk

It would fail asking me to check my settings which I did many times and couldn't understand what was wrong. Ran again this time using the sh -x to check the logs and found this:

+ /bin/echo -n 'Uploading /Users/Adam2Marsh/Unity Builds/Petrichor Andriod/Petrichor Leaderboard.apk to TestFairy.. '
Uploading /Users/Adam2Marsh/Unity Builds/Petrichor Andriod/Petrichor Leaderboard.apk to TestFairy.. ++ curl -s http://app.testfairy.com//api/upload -F api_key=deb01d48b07017aba6c743eb44a632c405512f3e -F apk_file=@/Users/Adam2Marsh/Unity Builds/Petrichor Andriod/Petrichor Leaderboard.apk 'TestFairy Command Line Uploader 1.08'

It seems the tool removed "" which means my APK path is now incorrect and failed.

To get the tool working I've now moved the APK into the same folder and added an underscore insted of a space; and all is working.

Hope that all makes sense, not sure if its an issue you want to fix or may be worth while adding a note for people to be careful using spaces.

Thanks,
Adam

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

No branches or pull requests

1 participant