Tool doesn't removes "\" in APK Location
Opened this issue · 0 comments
Adam2Marsh commented
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