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

This bundle Payload/.../realm-wrappers.framework is invalid #1870

Closed
kyurkchyan opened this issue Jun 18, 2019 · 9 comments · Fixed by #1875
Closed

This bundle Payload/.../realm-wrappers.framework is invalid #1870

kyurkchyan opened this issue Jun 18, 2019 · 9 comments · Fixed by #1875
Assignees

Comments

@kyurkchyan
Copy link

Goals

I have Xamarin.iOS application using Realm nuget 4.0.0. I am trying to upload the ipa file to apple iTunes store

Expected Results

I am expecting for the ipa to be successfully uploaded.

Actual Results

I am getting iTunes error while the upload process

ERROR ITMS-90056: "This bundle Payload/.../Frameworks/realm-wrappers.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion"

Steps to Reproduce

  1. Install Realm 4.0.0 nuget into Xamarin.iOS solution
  2. Create archive
  3. Export the signed archive into ipa
  4. try to distribute the archive through Application loader

Version of Realm and Tooling

Realm.Net nuget 4.0.0

@kyurkchyan
Copy link
Author

This is pretty serious issue. It blocks us from being able to publish the app to TestFlight.

@Dids
Copy link

Dids commented Jun 20, 2019

Same issue here, and this is definitely critical at this point.

ERROR ITMS-90057: "The bundle 'Payload/MyApp.app/Frameworks/realm-wrappers.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"
ERROR ITMS-90056: "This bundle Payload/MyApp.app/Frameworks/realm-wrappers.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion"
Return status of iTunes Transporter was 1: ERROR ITMS-90057: "The bundle 'Payload/MyApp.app/Frameworks/realm-wrappers.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortV\nERROR ITMS-90056: "This bundle Payload/MyApp.app/Frameworks/realm-wrappers.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion"
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

@Dids
Copy link

Dids commented Jun 20, 2019

@nirinchev Any ideas? Even a hacky workaround would do at this point, need to get a new build to the App Store soon.

@Dids
Copy link

Dids commented Jun 20, 2019

So to recap, CFBundleVersion is there but empty, and CFBundleShortVersionString is missing entirely.

Screenshot 2019-06-20 12 18 50

@Dids
Copy link

Dids commented Jun 20, 2019

@kyurkchyan Here's a temporary workaround for now:

/usr/libexec/PlistBuddy -c "Set :CFBundleVersion 4.0.0" "packages/Realm.4.0.0/native/ios/universal/realm-wrappers.framework/Info.plist"
/usr/libexec/PlistBuddy -c "Add :CFBundleShortVersionString string 4.0.0" "packages/Realm.4.0.0/native/ios/universal/realm-wrappers.framework/Info.plist"

It'll basically just set/add the missing version information, so it should go through the upload process (even if the version information isn't technically correct).

@kyurkchyan
Copy link
Author

@Dids thanks for the suggestion. It did solve the problem for now.

@Dids
Copy link

Dids commented Jun 21, 2019

Note that while did does solve the problem, I'm still seeing instant crashes at launch on iOS devices. Likely related to #1871.

Starting to look like maybe 4.0.0 wasn't properly tested?

@kyurkchyan
Copy link
Author

@Dids Yeah :( Unfortunately that's the case for me. It crashes immediately on a device. Though it works perfectly fine on a simulator. I banged my head over the wall quite a while trying to find the cause.

@realm-probot
Copy link

realm-probot bot commented Jun 27, 2019

Hey - looks like you forgot to add a T:* label - could you please add one?

@nirinchev nirinchev self-assigned this Jun 27, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants