Apple拒绝使用非公共API拒绝的本机二进制文件

Shi*_*Lee 8 app-store reactjs react-native

From Apple
Performance - 2.5.1

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

: setResult: 

The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Run Code Online (Sandbox Code Playgroud)

我搜索这个词setResult,我认为这属于我正在使用的facebook登录包

xxxx$ grep -Rnis 'setResult:' *
Binary file ios/FBSDKCoreKit.framework/FBSDKCoreKit matches
Binary file node_modules/react-native-facebook-login/FacebookSDK/FBSDKCoreKit.framework/FBSDKCoreKit matches
Run Code Online (Sandbox Code Playgroud)

有谁知道如何解决这个问题?谢谢.

Jam*_*ren 4

我建议在他们的 Github 项目上提交问题。他们不应该使用私有 API,我确信他们想知道这会导致 App Store 拒绝。

编辑:OP 发布了一个问题,看来他们并不是唯一遇到该问题的人。

https://github.com/magus/react-native-facebook-login/issues/155