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

iOS SDK Version Issue #302

Closed
1 of 3 tasks
Majirefy opened this issue Jun 2, 2018 · 5 comments
Closed
1 of 3 tasks

iOS SDK Version Issue #302

Majirefy opened this issue Jun 2, 2018 · 5 comments

Comments

@Majirefy
Copy link

Majirefy commented Jun 2, 2018

Issue details

When submitting iOS project to App Store, Apple gives warnings:

SDK Version Issue - In July 2018, iOS app updates submitted to the App Store will need to be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Make sure to update Xcode for future app deliveries.

How to change SDK RoboVM use to rebuild app?

Reproduction steps/code

Run createIPA in Gradle on iOS project, then submitting IPA file to iTunes using Application Loader from Xcode.

Build Tools:

  • IDEA plugin
  • Eclipse plugin
  • Gradle plugin

Versions:

  • RoboVM 2.3.3
  • Android Studio: 3.1.2
  • Xcode: Version 9.4 (9F1027a)
  • JDK: 1.8
@keesvandieren
Copy link
Contributor

I had the same @dkimitsa (accepting donations for his work 👍 ) helped me out.

Do not submit apps with this problem, they might get accepted, but I had problems with the build that gave that warning: swiping was broken. Probably related.

Workaround documented here: https://dkimitsa.github.io/2018/06/01/fixing-itms-90725/

@dkimitsa
Copy link
Contributor

dkimitsa commented Jun 2, 2018

@Majirefy there is PR #301 for this already, if you don't want to bother with renaming-deleting folders, there is another options:

  • install previous SDK in xcode, like 11.3
  • specify this SDK to be used in robovm.xml, parameter iosSdkVersion

@Majirefy
Copy link
Author

Majirefy commented Jun 4, 2018

@dkimitsa Great!

Fixed this by adding <iosSdkVersion>11.4</iosSdkVersion> in robovm.xml file.

@Majirefy Majirefy closed this as completed Jun 4, 2018
@dkimitsa
Copy link
Contributor

dkimitsa commented Jun 4, 2018

@Majirefy adding recent (e.g. same as in folder iPhoneOS.sdk) will not fix it as it is same as in iPhoneOS.sdk. And it is just chance question which one will be picked up after sorting. To fix it you have specify explicitly version that differs from one located in iPhoneOS.sdk folder. E.g. older one.

@minos23
Copy link

minos23 commented Jun 12, 2018

<iosSdkVersion>11.4</iosSdkVersion> in robovm.xml file.

Worked !!

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

No branches or pull requests

4 participants