-
Notifications
You must be signed in to change notification settings - Fork 147
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
PropertyListReadStreamException determining release version on iOS #1200
Comments
Facing the same issue when using the below command
Error Logs: #0 BinaryPropertyListReader.parse (package:propertylistserialization/src/binarypropertylistreader.dart:41:7) ✗ Failed to determine release version: PropertyListReadStreamException: Unsupported operation: File is not binary plist or supported version |
The relevant source: I'd be very curious to see what the resulting ipa files looked like. If one of you is willing to post one, or share one with me at [email protected] I'd be curious. (What I actually care about is the Info.plist files inside the IPA, not even the whole IPA. Those are retrievalbe by unzippping the ipa -- ipas are just zip files.) |
You can extract just the Info.plist from the IPA with: that |
@eseidel Below is the info.plist extracted from the ipa file
|
This will likely be fixed in the next Shorebird release (we're now reading version info from xcarchives instead of ipas). If you'd like to try now, you can check out the main branch of cd ~/.shorebird
git checkout main |
This has been fixed in v0.14.10 |
Description
When we are using shorebird we are getting this issue.
Steps To Reproduce
Use
shorebird release ios-alpha --target ./lib/main_dev.dart --flavor staging --force -- --build-name=$BUILD_NAME --build-number=$(($PROJECT_BUILD_NUMBER + 2000)) --export-options-plist=${HOME}/export_options.plist
above command to reproduce the issue.
⠋ Getting release version...#0 BinaryPropertyListReader.parse (package:propertylistserialization/src/binarypropertylistreader.dart:41:7)
#1 PropertyListSerialization.propertyListWithData (package:propertylistserialization/propertylistserialization.dart:183:16)
#2 Ipa._getPlist (package:shorebird_cli/src/archive_analysis/ipa.dart:70:38)
#3 Ipa.versionNumber (package:shorebird_cli/src/archive_analysis/ipa.dart:40:19)
#4 ReleaseIosCommand.run (package:shorebird_cli/src/commands/release/release_ios_command.dart:116:28)
#5 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#6 ShorebirdCliCommandRunner.runCommand (package:shorebird_cli/src/command_runner.dart:167:18)
#7 ShorebirdCliCommandRunner.run (package:shorebird_cli/src/command_runner.dart:95:14)
#8 main (file:///Users/builder/.shorebird/packages/shorebird_cli/bin/shorebird.dart:29:5)
✗ Failed to determine release version: PropertyListReadStreamException: Unsupported operation: File is not binary plist or supported version (0.1s)
The text was updated successfully, but these errors were encountered: