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

Xcode 11.4, App Store Upload Error - Minimum OS Version #1491

Closed
terryworona opened this issue Mar 29, 2020 · 22 comments · Fixed by #1494, #1496 or #1497
Closed

Xcode 11.4, App Store Upload Error - Minimum OS Version #1491

terryworona opened this issue Mar 29, 2020 · 22 comments · Fixed by #1494, #1496 or #1497

Comments

@terryworona
Copy link

Updated to latest via Carthage: github "parse-community/Parse-SDK-iOS-OSX".

Screenshot attached when I try to upload to AppStore via Xcode archive tool:

Screen Shot 2020-03-29 at 12 41 28 PM

@drdaz
Copy link
Member

drdaz commented Mar 29, 2020

What's the minimum OS version specified in your app's Info.plist? If it's below 8.0, this version of the SDK doesn't support that.

@terryworona
Copy link
Author

My minimum deployment target is actually iOS 13.

Screen Shot 2020-03-29 at 12 50 31 PM

@TomWFox
Copy link
Contributor

TomWFox commented Mar 29, 2020

This seems odd. Can you check what the min version is for the Parse.framework info.plist? - it should be 8.0 but it would be good to check in case it’s been changed somehow.

@drdaz
Copy link
Member

drdaz commented Mar 29, 2020

Yeah it's at 8.0.

@drdaz
Copy link
Member

drdaz commented Mar 29, 2020

Hmm... ParseUI is at 7.0 ^^

@TomWFox
Copy link
Contributor

TomWFox commented Mar 29, 2020

@drdaz I was meaning @terryworona’s installation but useful to know about the Parse UI version!

@terryworona
Copy link
Author

terryworona commented Mar 29, 2020

Parse-iOS
Parse-iOS

Parse-UI
Parse-UI

@terryworona
Copy link
Author

@TomWFox: my Parse.framework info.plist is iOS 6. That's weird.

Screen Shot 2020-03-29 at 2 03 24 PM

@terryworona
Copy link
Author

Manually changing the Parse.framework info.plist to 8.0 resolved the issue (no surprise).

Should this be bumped?

@terryworona
Copy link
Author

terryworona commented Mar 29, 2020

Spoke too soon. Not sure if this is related?

rejection

ITMS-90526: Invalid Bundle - Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform.

@TomWFox
Copy link
Contributor

TomWFox commented Mar 29, 2020

parseui should probably be bumped to 8.0, I’m not sure why there is a different version on your first and third screen shot - are then not both of the main Parse-iOS info.plist?

The Parse-iOS does have multiple platforms (link - line 19).

@terryworona
Copy link
Author

terryworona commented Mar 29, 2020

I completely cleared out my Carthage build folder and re-built everything.

I'm still getting the same error.

Parse.framework Info.plist still has a minimum version of 6.0:

Screen Shot 2020-03-29 at 2 59 57 PM

Cartfile entry:

github "parse-community/Parse-SDK-iOS-OSX"

Running Carthage:

$ carthage update --platform iOS --no-use-binaries

This was referenced Apr 14, 2020
@terryworona
Copy link
Author

terryworona commented Apr 15, 2020

@TomWFox I saw your earlier comment in 1495 so I updated my Cartfile to point to release-1.18.0.

I cleared my Carthage build folder and rebuilt: carthage update --platform iOS --no-use-binaries.

Good news is that upload to the Appstore succeeded (no more minimum OS version error). But now I'm faced with another error, this time via iTunes Connect (a few moments after being accepted):

Screen Shot 2020-04-14 at 6 16 31 PM

@TomWFox
Copy link
Contributor

TomWFox commented Apr 15, 2020

Ok, this appears to be the same issue faced in #1495 although I have no idea why you get this message via iTunes connect and they are getting it whilst uploading through Xcode.

I would suggest you also try removing “iPhoneSimulator” from CFBundleSupportedPlatforms so that it only contains “iPhoneOS”. You could do a project wide search for CFBundleSupportedPlatforms as it is present in multiple info.plist files.

@TomWFox
Copy link
Contributor

TomWFox commented Apr 15, 2020

I know this isn’t a long term solution but it would be good to see if you can successfully upload & deploy with those changes made.

@terryworona
Copy link
Author

Works! I removed iPhoneSimulator from the Parse.framework Info.plist.

Screen Shot 2020-04-14 at 6 35 26 PM

@TomWFox
Copy link
Contributor

TomWFox commented Apr 15, 2020

Awesome, I know you're using Parse UI, it would also be good to know if you are using Facbook and/or Twitter Utils?

@TomWFox
Copy link
Contributor

TomWFox commented Apr 15, 2020

Also just to confirm you still have iPhoneSimulator in your ParseUI Info.plist?

@terryworona
Copy link
Author

Hey @TomWFox -- unfortunately I don't use ParseUI, FacebookUtils or TwitterUtils - I only use Parse.framework.

@noobs2ninjas
Copy link
Member

This is all super weird. The config files are supposed to be setting all these automatically when each target is runs throught the rake files. However, the actual info.plist on the projects arent updated. Which makes me wonder if half our config files arent actually being used.

@noobs2ninjas
Copy link
Member

The next release will fix the minimum OS version as well. Parse 1.18.0 coming within the next day or so!

This was linked to pull requests Apr 16, 2020
@TomWFox
Copy link
Contributor

TomWFox commented Apr 16, 2020

Hey @TomWFox -- unfortunately I don't use ParseUI, FacebookUtils or TwitterUtils - I only use Parse.framework.

Thanks for the clarification, in that case I would suggest we also remove ‘iPhonesSimulator’ from the other files.

@TomWFox TomWFox linked a pull request Apr 16, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants