ios - 将构建上传到 App Store 错误 : "ITMS-90338: Non-public API usage"?

标签 ios flutter app-store app-store-connect

我正在使用 Xcode 11.1 版。我的应用程序是 Flutter 应用程序。
我正在尝试使用 Xcode 和 App Store 连接上传我的移动应用程序。除了实际构建之外,我拥有有关应用商店连接的所有必要信息。我无法根据以下错误上传构建(根据 Apple 的说法):

Dear Developer,

We identified one or more issues with a recent delivery for your app, "******" 1.0.0 (0.1). Please correct the following issues, then upload again.

ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _ptrace. 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. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

Best regards,

The App Store Team


我知道第二个错误不是必需的,但我想包含所有电子邮件文本,以防万一我遗漏了一些东西。我一直在网上阅读很多人在最近几次 Xcode 更新时遇到问题?
如何上传我的应用程序?*

最佳答案

我能够成功上传我的应用程序!
这是我更改的内容:
正如 Thoai 提到的,我试图从我的终端运行 flutter iOS build 命令,但我不断收到我提到的错误(找不到命令),所以我要做的就是更新我的路径,然后我就能够运行命令,它起作用了。

如何更新你的 flutter 路径:
Flutter command not found

关于ios - 将构建上传到 App Store 错误 : "ITMS-90338: Non-public API usage"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58400308/

相关文章:

ios - 为什么我的网络应用程序在 iOS(Chrome 和 Safari)上滚动速度超慢,但在所有其他平台上都正常?

ios - 在 iOS 7 中,使用 UIModalPresentationCurrentContext 进行动画模式演示不会设置动画

iphone - 尝试重叠两个图像并在第三个图像中显示重叠的图像

iphone - 操作表中的 UIPickerView 从下半部分没有响应

c - 用宏注释函数

当其他依赖项依赖它并且它仍在开发中时,Flutter Plugins pub 会发生冲突

ios - 应用内购买可以用于 “buy answers”吗?

json - Flutter json_serializable 生成的 json 代码在 Firebase 数据库中保存为字符串

macos - Mac StoreKit “An unknown error has occured”购买

app-store - iTunes Connect Sales and Trends 中的 CMB 是什么意思?