Xcode error while validation - “Your binary is not

2019-01-10 20:43发布

Just got stuck with this error while I'm trying to publish an app to app store. Sorry because i cant copy-paste the error code so I will post an image in my question.

enter image description here

12条回答
我欲成王,谁敢阻挡
2楼-- · 2019-01-10 20:48

I faced the same error and its fixed by following these page instructions: enter image description here

http://dannysu.com/2014/04/16/not-optimized-for-iphone5/

查看更多
三岁会撩人
3楼-- · 2019-01-10 20:48

Make sure also that you're pointing at the files in the correct location. We just had this problem after:

  • Going to the 'General' tab on the target screen.
  • Clicking on the 'Don't use asset catalogs' button.

The names of the files appeared correctly, but we had the error. This was solved by clicking the little folder icon next to each of the launch images listed in the table in this section and finding the correct file in our project's Resources folder.

查看更多
迷人小祖宗
4楼-- · 2019-01-10 20:48

I tried a number of solutions and nothing worked, final solutoin was to use the RN toolbox to add a Splash screen which corrected whatever configuration was triggering the error: https://github.com/bamlab/generator-rn-toolbox

查看更多
我只想做你的唯一
5楼-- · 2019-01-10 20:51

Add this image (Default-568h@2x.png) to in your project at the top layer as below.

enter image description here

Image to add: enter image description here

查看更多
狗以群分
6楼-- · 2019-01-10 20:51

I ran into this problem when I was using multiple storyboards in iOS 9. I solved it by going to Project Directory --> General, then for "Launch Screen File", selecting "Main"

查看更多
萌系小妹纸
7楼-- · 2019-01-10 20:53

An edge case, but I've had this happen if you mistakenly added localizations that you later didn't use (and therefore didn't add an iPhone 5 launch image). Select the project from Project Navigator. In the middle pane choose to view the Project (as opposed to one of the Targets). In the Info tab, scroll to the bottom and make sure there are no extraneous localizations.

Edit: Rereading the error message I guess it does elude to this, but sometimes an error message doesn't make sense until you figure out what it means another way.

查看更多
登录 后发表回答