ERROR ITMS-90512: Invalid sdk value… 8.2 is higher than maximum allowed value of 10.3?

后端 未结 9 1264
别跟我提以往
别跟我提以往 2021-01-30 01:59

Trying to upload a binary, which includes a watch app. The error I\'m getting (which I wasn\'t getting a couple days ago) is the value provided for LC_VERSION_MIN_IPHONEOS for

相关标签:
9条回答
  • 2021-01-30 02:06

    EDIT: This is problem on Apple side and nothing to do with Xcode. This is only effecting apps with WatchKit.

    I just uploaded one my apps today that has a watchkit extension. Try this, it may or may not help.

    • Xcode -> Product Clean

    • Xcode -> Quit

    • In a console terminal do > rm -rf /Users/your_mac_user/library/Developer/Xcode/DerivedData/*

    • Relaunch Xcode and project

    • Go to your Xcode -> Build Settings for your iPhone app and make sure its set to 8.0 for debug and release

    • Now go to both your watch and watch extensions and make sure the Build setting is set to 8.2

    • Archive and upload again.

    0 讨论(0)
  • 2021-01-30 02:11

    This is not related to Xcode 8.3, the error is in the Apple validation process. I had an app in review (no problems in uploading it) that got rejected because the user provided for login had expired. I made no changes to the app, just activated the user and submitted. I have the error now.

    Edit: I can also confirm that if Watch support is removed everything goes well.

    0 讨论(0)
  • 2021-01-30 02:12

    Update: it's fixed!

    I have submitted a bug to Apple. They have replied that they are aware of the problem and have people looking into it. They will contact me when they have resolved the issue. I'll post an update here when they do.

    0 讨论(0)
  • 2021-01-30 02:20

    I was submitting with an old Xcode version, I thought that was the problem, so went to the latest and it gives me the same message, that I am submitting for 8.2 which is higher than 10.3.

    Now, here is where it gets really crazy. I said, OK, maybe there is an issue with 8.2, so I switched my minimum target to 8.3, cleaned, archived, submitted. I STILL GET THE MESSAGE ABOUT 8.2!!!

    I exported the package I am uploading:

    otool -l MyApp.app/MyApp |fgrep --after-context=3 LC_VERSION_MIN_IPHONEOS
      cmd LC_VERSION_MIN_IPHONEOS
    cmdsize 16
    version 8.3
        sdk 10.2 
    --
    cmd LC_VERSION_MIN_IPHONEOS
    cmdsize 16
    version 8.3
        sdk 10.2
    

    I grepped both the package and my project directory, there is no friggin' "8.2" string anywhere. The same app without the watch extension validates fine. It seems they have broken the watch submissions (at least WatchOS1), which is something they should have noticed, yet I emailed support 2 days ago with screenshots and they were unimpressed, telling me to send them a video if I want my ticket to be processed! Take 1 minute to look at the upload log, I gave you app ID and timestamp, how hard is that?

    Edit: It seems I installed the previous version of xcode, there is one newer out, but it also doesn't fix the issue, the problem appears to be on the Apple side...

    Edit 2: The binary that has not been going through since the day before yesterday, just got uploaded. Maybe it is fixed?

    Edit 3: But then you get the message in itunes connect when you try to submit the app. So it seems they are working on it, not completely resolved yet.

    Edit 4: SUCCESS! Successfully submitted, waiting for review!

    0 讨论(0)
  • 2021-01-30 02:26

    If you download a new version of Xcode, make sure to switch to it:

    sudo xcode-select --switch /Applications/Xcode_11.6.app/Contents/Developer
    sudo xcodebuild -runFirstLaunch
    

    Ecuador's answer about using otool is a great tip to make sure the SDK is correct before you submit.

    0 讨论(0)
  • 2021-01-30 02:28

    EDIT: Although successfully uploaded to iTunes Connect, when trying to submit a Testflight beta build, still got rejected by the same message

    Invalid sdk value. The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in XXX.app/PlugIns/XXX WatchKit Extension.appex/XXX WatchKit App.app/XXX WatchKit App is 8.2 which is greater than the maximum allowed value of 10.3.

    Guess Apple's still working on it...


    I am having this issue earlier, also with a watchOS1 target in my project.

    I've tried to upload the binary again few minutes ago, no more warning shows, and passed the processing of iTunes Connect.

    Everybody having this issue should give it a try!

    0 讨论(0)
提交回复
热议问题