我试图将我的应用程序发布到appollo的应用程序store ,但失败了.我收到一封来自苹果的邮箱,其中包含以下错误消息:
ITMS-90078:缺少推送通知权限-您的应用程序似乎注册了苹果推送通知服务,但应用程序签名的权限不包括‘ap-Environment’权限.如果你的应用使用Apple推送通知服务,请确保在供应门户中为你的应用ID启用了推送通知,并在使用包括‘APS-Environment’权利的分发供应配置文件签署你的应用后重新提交.Xcode不会在构建时自动从配置文件中复制APS环境授权.这种行为是故意的.要使用此授权,请在项目编辑器的功能窗格中启用推送通知,或手动将授权添加到您的授权文件中.有关详细信息,请参见https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.
阿波罗上的日志(log)似乎没有问题:
----- Building IPA with Flutter -----
Archiving be.test.wollo...
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Automatically signing iOS for device deployment using specified development team in Xcode project: 9M5TAN4D63
Running pod install... 66.0s
Running Xcode build...
Xcode archive done. 165.6s
Built /Users/appollo/Documents/app/build/ios/archive/Runner.xcarchive.
???? Building with sound null safety ????
Building App Store IPA... 19.7s
Built IPA to /Users/appollo/Documents/app/build/ios/ipa.
To upload to the App Store either:
1. Drag and drop the "build/ios/ipa/*.ipa" bundle into the Apple Transport macOS app https://apps.apple.com/us/app/transporter/id1450874784
2. Run "xcrun altool --upload-app --type ios -f build/ios/ipa/*.ipa --apiKey your_api_key --apiIssuer your_issuer_id".
See "man altool" for details about how to authenticate with the App Store Connect API key.
----- Compressing output -----
/Users/appollo
----- Retrieving .ipa file name -----
Documents/app/build/ios/ipa/app.ipa
----- Creating private key folder -----
----- Converting private key format -----
----- Retrieving .ipa file name -----
Documents/app/build/ios/ipa/app.ipa
----- IPA Publication -----
No errors uploading 'Documents/app/build/ios/ipa/app.ipa'
Build stop order received at 2022-09-05 16:25:48.694329+00:00
----- Git patch creation -----
Appollo patch
6 files changed, 19 insertions(+), 14 deletions(-)
create mode 120000 linux/flutter/ephemeral/.plugin_symlinks/flutter_secure_storage_linux
create mode 120000 linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux
create mode 120000 linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux
----- Compressing output -----
/Users/appollo
我真的不知道怎么才能把它弄好.