Invalid Binary after Xcode 8.2 Update

烂漫一生 提交于 2019-12-09 07:46:29

问题


I tried to push an update to my app today after updating to Xcode 8.2 and I am getting an invalid Binary Error. I have never seen this before. The iOS Deployment target for my app is iOS 9.0. Has anyone seen this error or know how to fix it?

This is the contents of the email that explained what was invalid about the binary:

Invalid sdk value - The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in appname.app/Frameworks/libswiftDispatch.dylib is 10.2 which is greater than the maximum allowed value of 10.1.

Invalid sdk value - The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in appname.app/Frameworks/libswiftCore.dylib is 10.2 which is greater than the maximum allowed value of 10.1.

Invalid sdk value - The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in appname.app/Frameworks/libswiftCoreImage.dylib is 10.2 which is greater than the maximum allowed value of 10.1.

Invalid sdk value - The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in appname.app/Frameworks/libswiftQuartzCore.dylib is 10.2 which is greater than the maximum allowed value of 10.1.

Invalid sdk value - The value provided for the sdk portion of LC_VERSION_MIN_IPHONEOS in appname.app/Frameworks/Alamofire.framework/Alamofire is 10.2 which is greater than the maximum allowed value of 10.1.

回答1:


It appears the problem is wide spread and it is similar to when the 9.2 GM was released. The iTunes Connect backend hasn't quite updated yet, so we will just have to remain patient and keep trying.

It appears the problem is usually resolved within one day of the GM being released.

Edit: In the meantime, others have mentioned that you can change the SDK version back to 10.1 and submit your app.

When the problem is resolved, you should not have to resubmit to iTunes connect. You will simply be able to submit the already uploaded binary for review once again.

Update: As of 12/13/16 3:15 PM PST the problem has been fixed. Submit your apps for review again.




回答2:


Downgrade your XCode version, then try it. I am sure it will work for you.




回答3:


my two cents: I use Xcode 9 and got:

he value provided for the sdk portion of \ LC_VERSION_MIN_IPHONEOS in MyApp.app/MyApp is 11.3 which is greater than the maximum allowed value of 11.2.

It was due to a build using Xcode 9.2 beta that leaves its data in DerivedData. So cleaning DerivedData solves the issue.



来源:https://stackoverflow.com/questions/41113750/invalid-binary-after-xcode-8-2-update

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