question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ITMS-90338: Non-public API usage

See original GitHub issue

Your Environment

  • Plugin version: 3.0.3
  • Platform: iOS
  • OS version: N/A
  • Device manufacturer and model: N/A
  • Running in Simulator: No
  • Cordova version (cordova -v): 8.1.2 (cordova-lib@8.1.1)
  • Cordova platform version (cordova platform ls): ios 5.0.0
  • Plugin configuration options: GOOGLE_PLAY_SERVICES_VERSION=15.0.1 ANDROID_SUPPORT_LIBRARY_VERSION=27.+
  • Link to your project: private

Context

Got a message from App Store Connect no_reply@email.apple.com: ITMS-90338: Non-public API usage - The app references non-public selectors in databasePool:didAddDatabase:, databasePool:shouldAddDatabaseToPool:, ddSetLogLevel:. 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. If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app’s Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Is it a false-positive by any chance?

Details

./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.m:2997:    SEL setterSel = @selector(ddSetLogLevel:);
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.m:3138:        [aClass ddSetLogLevel:level];
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.h:760: * + (void)ddSetLogLevel:(DDLogLevel)level
./Plugins/cordova-plugin-mauron85-background-geolocation/CocoaLumberjack.h:771:+ (void)ddSetLogLevel:(DDLogLevel)level;
./Plugins/cordova-plugin-mauron85-background-geolocation/FMDB.m:1884:                    if (shouldNotifyDelegate && [self->_delegate respondsToSelector:@selector(databasePool:didAddDatabase:)]) {
./Plugins/cordova-plugin-mauron85-background-geolocation/FMDB.m:1875:            if ([self->_delegate respondsToSelector:@selector(databasePool:shouldAddDatabaseToPool:)] && ![self->_delegate databasePool:self shouldAddDatabaseToPool:db]) {

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

2reactions
ptisserandcommented, Jul 18, 2019

Here is a quick and dirty patch I have wrote as a workaround for this issue: https://gist.github.com/ptisserand/29dd8d4643c67fad47599d77a1198b25

0reactions
stale[bot]commented, Aug 17, 2020

This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn’t be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it’s important. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ITMS-90338: Non-public API usage a… - Apple Developer
This is a common problem with 3rd party, cross-platform frameworks. Apparently, they are full of private APIs. They may be configured to be...
Read more >
Apple Rejection - TMS-90338: Non-public API usage ... - GitHub
ITMS-90338: Non-public API usage - The app contains or inherits from non-public classes in MyWonderfulApp: WKInterfaceDevice .
Read more >
ITMS-90338: Non-public API usage PROCESSING ERROR
A simple search of my project reveals many usages of these WKWebView APIs that are clearly public. I suspect the issue is due...
Read more >
Upload to Appstore Error ITMS-90338: Non-public API usage
Please correct the following issues, then upload again. ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/WikitudeSDK.
Read more >
Question - ITMS-90338: Non-public API usage - Unity Forum
ITMS-90338: Non-public API usage - The app contains one or more corrupted binaries. Rebuild the app and resubmit.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found