App submission failed - 1+ corrupted binaries/non-public API usage and no additional details

后端 未结 9 2205
再見小時候
再見小時候 2020-12-24 03:13

I’ve been submitting my app to the App Store for test flight and after build 11, I’ve been getting failures via email from Apple:

Non-public API usage: The app conta

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 03:31

    I found the solution by my self after uploading the 9th build.

    1. I have used some swift class in the objective-c source code that I used by a bridge. While you build the project you can see left panel warning of project related and there is one line said update for swift 4.
    2. After converting swift 4 I get some more warning like use @objc to use swift 3 to latest swift 4 code.
    3. You can check how to use @objc at swift class check this link: The use of Swift 3 @objc inference in Swift 4 mode is deprecated?

    4. Then I have change unused profiles.

    Then I upload the app and it works. Let me know if anyone need help

提交回复
热议问题