Non-Public API usage

All of my apps seem to be getting rejected for a non-public API usage, just started happening at random. Has anyone encountered an issue like this or know how to fix it? I have installed Google Mobile Ads SDK 8.6.0 using CocoaPods.

It sounds like you may be inadvertently using a non-public API within your app, which could be triggering the rejections. This can sometimes happen if a third-party library or SDK you're using includes code that accesses non-public APIs, even if you're not directly calling those APIs yourself.

Here are some steps you can take to troubleshoot and resolve the issue:

Review Apple's Documentation: Check Apple's documentation and guidelines regarding the use of public and private APIs. Make sure you're only using public APIs in your app.

Check Third-Party Libraries: Review the third-party libraries you're using in your project, including the Google Mobile Ads SDK. Sometimes, library updates can introduce non-public API usage. Ensure that you're using the latest versions of all libraries and SDKs.

Search for Known Issues: Look for any known issues or discussions related to the Google Mobile Ads SDK 8.6.0 and non-public API usage. Sometimes, other developers may have encountered similar problems and found solutions.

Contact Support: Reach out to Google's support or developer forums to inquire about any known issues with the version of the SDK you're using. They may be able to provide guidance or updates to resolve the problem.

Inspect Build Logs: Review the rejection notice and any build logs provided by Apple. They may contain information about which specific APIs are being flagged as non-public. This can help pinpoint the source of the issue in your code or dependencies.

Audit Your Code: Perform a thorough review of your own codebase to ensure that you're not directly or indirectly accessing any non-public APIs. Pay close attention to any third-party code you've integrated into your project.

Consider Alternatives: If you're unable to resolve the issue with the current version of the Google Mobile Ads SDK, consider exploring alternative ad networks or temporarily removing ads from your app until the issue is resolved.

Report the Issue: If you believe the non-public API usage is a false positive or an issue with the SDK itself, consider reporting it to Apple's App Review team. Provide as much detail as possible, including any relevant documentation or evidence to support your case.

By following these steps, you should be able to identify and address the non-public API usage in your app, hopefully resolving the rejections from the App Store.

Non-Public API usage
 
 
Q