The following methods were used to check, and finally “binary file is invalid” was displayed, and the reason could not be viewed. Later, I thought of whether the specific reason would be sent to the mailbox, and then I saw the reason hint in the mailbox, so that I could accurately locate, without going to check one by one

It turned out that some time ago to use Bluetooth, I put a Bluetooth tool class in, because temporarily useless to forget to add permission plist description, tinker for a long time to try all the following again, hi….

Reference article:

New version uploaded, received message binary invalid. But you can’t see the reason for the rejection at AppStoreConnect.

It was the only message I got

Possible causes of invalid binary files:

Some system permissions (camera, photo album, microphone, etc.) are used in the project but not added in info.plist

Use a private API or IDFA

Scheme Settings

Iv. App icon modification related

5. Obsolete APIS such as UIWebView

Some system permissions (camera, photo album, microphone, etc.) are used in the project but not added in info.plist

This is the problem I encountered. The code usage permission needs to be configured in info.plist

Permissions should be pop-up prompt, private data corresponding to the key value prompt must say specified purpose, otherwise online will be rejected

Use a private API or IDFA

1, CD to your project directory

2. Use the global search command (note that a dot is added at the end)

grep -r lockcomplete .

Scheme Settings

Product —->Scheme—->editScheme and then change the last two items to release

Iv. App icon modification related

Refer to the link

5. Obsolete APIS such as UIWebView

Search globally within the project

— — — — — — — —

The original reference links: blog.csdn.net/hzhnzmyz/ar…