Cannot get passed the Validation stage of submitti

2019-03-26 14:26发布

This is an old app that's been submitted many times without problems. I've modified the code and the info.plist to support iOS 6 and iPhone 5, but didn't change the build settings at all. I've checked the certificates and provisioning profiles, they are all sound. All adhoc builds ran just fine on our devices. I'm using Xcode 4.5.

I build without errors and it archives just fine. It shows up in the Organizer. When I click Validate..., I click through just like normal, pick the right provisioning profile, but then it fails every time with the same three errors:

  1. Unable to run the lipo command /Applications/Xcode.app...: can't open input file: ...(No such file or directory)
  2. Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.
  3. The binary being analyzed must exist: ...

I've tried the answers in the following question: Binary being analyzed must exist, iOS App Archive in xcode and my app checks out.

I suspect the problem is that I've included armv6, armv7 and armv7s as valid architectures, but I really have no idea what the problem is because this all worked in Xcode 4.4.

What do I do to fix this?

1条回答
爷、活的狠高调
2楼-- · 2019-03-26 14:53

You can not build armv6 binaries using Xcode 4.5, the support for armv6 has been dropped by Apple.

It seems your errors are pretty much compounded after it reaches the first error so if you fix it so it builds for armv7 and armv7s then it should fix the rest of the errors (since it'll generate a valid binary if the script is fine with everything else and be able to be analysed)

查看更多
登录 后发表回答