我使用以下插件使用cordova构建应用程序混合应用程序
"com.lampa.startapp": "0.1.4",
"cordova-android": "8.0.0",
"cordova-ios": "5.0.1",
"cordova-plugin-calendar": "4.6.0",
"cordova-plugin-camera": "4.1.0",
"cordova-plugin-compat": "1.2.0",
"cordova-plugin-device": "1.1.7",
"cordova-plugin-file": "4.3.3",
"cordova-plugin-splashscreen": "4.1.0",
"cordova-plugin-statusbar": "2.4.1",
"cordova-plugin-whitelist": "1.3.3",
"ionic-plugin-keyboard": "2.2.1",
"onesignal-cordova-plugin": "2.2.5",
"cordova-plugin-wkwebview-engine": "^1.2.1"
},
"cordova": {
"plugins": {
"cordova-plugin-camera": {},
"cordova-plugin-device": {},
"cordova-plugin-file": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-calendar": {},
"com.lampa.startapp": {},
"cordova-plugin-wkwebview-engine": {}
},
"platforms": [
"android",
"ios"
]
}
应用程序被苹果拒绝,并显示以下错误消息。
尊敬的开发人员,我们发现了一个或多个问题, 为您的应用“ AppName”投放。请更正以下内容 问题,然后重新上传。
ITMS-90338:非公共API的使用-该应用程序引用了非公共API Idealys中的选择器:applicationWillTerminate,ddSetLogLevel :、 localTarget,newSocketQueueForConnectionFromAddress:onSocket :、 setOrientation:animated:,socket:didConnectToHost:port :、 socket:didReadPartialDataOfLength:tag :, socket:didReceiveTrust:completionHandler :, socket:didWritePartialDataOfLength:tag :, socket:shouldTimeoutReadWithTag:elapsed:bytesDone :, socket:shouldTimeoutWriteWithTag:elapsed:bytesDone :, socketDidCloseReadStream :、 socketDidSecure :、 TerminateWithSuccess, webSocket:didReceiveMessage:,webSocketDidOpen:。如果方法名称在 您的源代码与上面列出的私有Apple API匹配, 您的方法名称将有助于防止该应用被标记 将来的提交。此外,请注意上述一项或多项 API可能位于您的随附的静态库中 应用程式。如果是这样,则必须将其删除。有关更多信息,请访问 技术支持信息,网址为 http://developer.apple.com/support/technical/问候,
App Store团队
我认为拒绝是由Cordova Pluggin引起的,但是我很难排除该错误。