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

altool fails when ipa path contains a space #4

Open
meehanman opened this issue Nov 23, 2018 · 2 comments
Open

altool fails when ipa path contains a space #4

meehanman opened this issue Nov 23, 2018 · 2 comments

Comments

@meehanman
Copy link
Contributor

meehanman commented Nov 23, 2018

When using the following fastfile (ionic). My app path has a space which causes altool to fail.

ionic(
	provisioning_profile:ENV["sigh_"+AppBundleId+"_appstore"],
	platform:"ios",
	prod: true,
	device: true,
	release: true
)
altool(
	altool_app_type:"ios",
	altool_ipa_path: ENV['CORDOVA_IOS_RELEASE_BUILD_PATH']
)

Altool command:

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool --upload-app -t ios -f /Users/teamcity/Repos/MobileApps/MobileApp/platforms/ios/build/device/MyApp Name.ipa -u **************** -p *****************--output-format normal

Error Message:

Error Domain=ITunesSoftwareServiceErrorDomain Code=-19066 \"The path '/Users/teamcity/Repos/MobileApps/MobileApp/platforms/ios/build/device/MyApp' does not contain a file.\" UserInfo={NSLocalizedDescription=The path '/Users/teamcity/Repos/MobileApps/MobileApp/platforms/ios/build/device/MyApp' does not contain a file., NSLocalizedFailureReason=Unable to validate your application.}"

This is due to the app file location not being wrapped in quotes when passed into the commandline

meehanman added a commit to meehanman/fastlane-plugin-altool that referenced this issue Nov 23, 2018
@Shashikant86
Copy link
Collaborator

Hey @meehanman Sorry for the terrible delay in merging this PR. I have merged it now and will push new version soon!

@meehanman
Copy link
Contributor Author

Cheers @Shashikant86. I was able to use my own repo for Fastlane easily enough.

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

2 participants