Description
Environment
- CLI: 8.0.1
- Cross-platform modules: N/A
- Android Runtime: N/A
- iOS Runtime: N/A
- XCode Version: 12.5.1
- Plugin(s): N/A
Describe the bug
cli commands that require connecting with iTunesConnect, such as publishing an iOS app, fails. The cli tries to call this URL:
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/v1/session/webSession
which now throws a 404.
To Reproduce
Publish the app to the apple store, or execute any command that interacts with the AppStoreConnect API.
Example:
ns publish ios
ns appstore
Expected behavior
Running "ns publish ios" should upload the ipa file successfully to TestFlight.
Additional context
This worked around early July, 2021, and broke recently. Apple may have deprecated the API.
work around
Run the Xcode upload command directly in Terminal after the ipa file is generated:
xcrun altool --upload-app -f .ipa -u -p