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

戏子无情 提交于 2019-12-03 00:40:26

问题


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 the watchkit extension is 8.2 which is greater than the maximum allowed value of 10.3... apparently 8.2 > 10.3?

I'm updated to the latest XCode, 8.3, that didn't fix the problem. Tried changing the iOS deployment target for the watch app and extension, no apparent effect on the message.


回答1:


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.




回答2:


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.




回答3:


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!




回答4:


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.




回答5:


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!




回答6:


Apple fixed this bug yesterday. You can use the same binary. There's no need to make any changes.




回答7:


I have the same issue. I delete watch related targets, and upload successfully




回答8:


I too had the same issue. Removed the watch app and did the upload. It has been accepted for review. So looks like the issue is with the validation of the watchkit extension. Will submit the app again with the watch app once this issue has been taken care of by Apple.



来源:https://stackoverflow.com/questions/43105469/error-itms-90512-invalid-sdk-value-8-2-is-higher-than-maximum-allowed-value

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!