Fails to distribute my app: "Your app contains non-public API usage."
ios, iphone
Solution
Remove Reveal.framework from your project. This should not be linked in release mode of your binary.
Problem
After I fixed some bugs and refactored my project which has been release on App Store, it fails to distribute. The Xcode shows the following error message: - Your app contains non-public API usage. Please review the errors, correct them, and resubmit your application. - The app references non-public symbols in Payload/XXX.app/XXX: UICreateCGImageFromIOSurface XXX is the app name. I've search the entire project, and didn't find any this keyword (UICreateCGImageFromIOSurface). How can I fix this?