ITMS-90338: Non-public API usage - The app references non-public selectors

Good morning.

After a new submission (same project, no breaking changes) we have received a strange error.

ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/ProjectLIB.framework/ProjectLIB: connectionState, initWithURLStrings:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

The ProjectLIB (the correct name is omitted) is a framework library deployed also in another App, and this App has been validated and correctly deployed under Testflight versions.

So we are a little bit confused about the different validation of the two applications, with the same ProjectLIB.framework inside. The only difference is that the "wrong" one is built with Unity.

How can we make changes to be compliant to Apple validation?

ITMS-90338: Non-public API usage - The app references non-public selectors
 
 
Q