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.

App rejected on appstore because of performance requirements (App uses non-public API).

See original GitHub issue

Prerequisites

  • [x ] Using yarn
  • [ x] Using node 10.x

Expected Behavior

  • Submitted application to Apple store should not fail with strange permission issues.

Current Behavior

Fails the apple review process.

This is the issue what apple give me:

`Your app uses or references the following non-public APIs:

Symbols: __NSDrawCarbonThemeListBox, __NSNewKillRingSequence, __NSSetKillRingToYankedState, __NSYankFromKillRing, _NSTextInputReplacementRangeAttributeName, __NSInitializeKillRing, __NSAppendToKillRing, __NSDrawCarbonThemeBezel From framework: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit Symbols: _CGSSetDenyWindowServerConnections, _CGSShutdownServerConnections, _CGDisplayUsesForceToGray From framework: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics

Symbol: __LSSetApplicationLaunchServicesServerConnectionStatus From framework: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices Symbol: _IOBluetoothPreferenceSetControllerPowerState From framework: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth Symbol: _AudioDeviceDuck From framework: /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio

Symbols: _AXTextMarkerGetBytePtr, _AXTextMarkerRangeCopyEndMarker, _AXTextMarkerGetLength, _SetApplicationIsDaemon, _AXTextMarkerRangeCopyStartMarker, _AXTextMarkerCreate, _AXTextMarkerRangeCreate From framework: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices Symbols: _sandbox_extension_issue_file, _sandbox_check, _APP_SANDBOX_READ, _sandbox_init_with_parameters From framework: /usr/lib/libSystem.B.dylib In binary: Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework

Symbol: _proc_get_wakemon_params From framework: /usr/lib/libSystem.B.dylib Symbols: __CFCopyServerVersionDictionary, __kCFSystemVersionProductNameKey, __kCFSystemVersionProductVersionExtraKey, __kCFSystemVersionBuildVersionKey, __kCFSystemVersionProductVersionKey, __CFCopySystemVersionDictionary From framework: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation In binary: Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/crashpad_handler`

Description

  • I created an app using boilerplate.
  • I Was successful with everything and submitted it to the app store for review.
  • The app was rejected and the above was the issue areas Apple reproted.
  • I am lost here because I have not changed anything. I did not touch anything involving these.

I can only imagine it is the packaging process.

I used yarn package --mac

  • Version or Branch used : 0.17

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

2reactions
hcuffycommented, Mar 31, 2019

For those who follow; simply add the following target to the build. This will create a new directory “release > mas”. The build bundle for the MAS will be present.

"mac": {
      "target": [
        "dmg",
        "mas"
      ]
    },

Then run yarn package --mac 👍

0reactions
hcuffycommented, Mar 30, 2019

Quick update…I edited the --mac configuration option by adding mas then repeated the steps above console.log(process.mas) printed true. I will resign and re-submit the app to the app store.

I will update with my findings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guideline 2.5.1 - Performance - So… | Apple Developer Forums
Your app uses public APIs in an unapproved manner, which does not comply with guideline 2.5.1 of the App Store Review Guidelines.
Read more >
iOS App Rejected: app uses or references non-public APIs
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these...
Read more >
Apple rejected my app for use of non-public APIs - MSDN - Microsoft
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these...
Read more >
Top reasons for app store rejection (and how to avoid them)
The App Store has the strictest approval process of all app marketplaces. Here are some common reasons for app store rejection—and tips on ......
Read more >
Re: iOS App rejected by "Your app uses or referenc... - Adobe ...
Guideline 2.5.1 - Performance - Software Requirements ... The use of non-public APIs is not permitted on the App Store because it can...
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