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

Bugfix: tvOS ipas are validated and uploaded as iOS apps with altool #173

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

priitlatt
Copy link
Contributor

When uploading ipas built for tvOS with app-store-connect publish then the altool validation and upload commands are incorrectly using ios for --type flag:

xcrun altool --upload-app \
    --file /path/to/tvOS.ipa \
    --type ios \
    --apiKey "${API_KEY_IDENTIFIER}" \
    --apiIssuer "${API_KEY_ISSUER}" \
    --output-format json

This is due to very superficial logic that only takes file extension into account when package type is inferred. To fix type detection for ipas, check its the supported platforms.

@priitlatt priitlatt merged commit 30a1fad into master Dec 17, 2021
@priitlatt priitlatt deleted the bugfix/altool-platform-type branch December 17, 2021 10:27
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

Successfully merging this pull request may close these issues.

2 participants