我在運行 flutter building ios 時遇到錯誤,這是錯誤訊息:
error: No profiles for 'xxxx.onesignal' were found: Xcode couldn't find any iOS App Development provisioning profiles matching
'XXXX.onesignal'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass
-allowProvisioningUpdates to xcodebuild. (in target 'OneSignalNotificationServiceExtension' from project 'Runner')
warning: Provisioning profile "iOS Team Provisioning Profile: XXXXX" for "Runner" contains entitlements that aren't in the
entitlements file: com.apple.developer.usernotifications.time-sensitive, com.apple.developer.fileprovider.testing-mode, and
com.apple.developer.usernotifications.communication. To use these entitlements, add them to your entitlements file. Otherwise, remove
unused entitlements from your provisioning profile. (in target 'Runner' from project 'Runner')
我嘗試了所有可用的解決方案,直到我按照以下步驟在另一個問題上運行以重現以在 Apple 開發人員帳戶上注冊 onesignal id。

但我沒有在我的賬戶上注冊它。我能做些什么來修復它
uj5u.com熱心網友回復:
1.首先,您可以使用以下網址生成臨時和開發應用程式證書。這里
uj5u.com熱心網友回復:
我已經通過在此處訪問此 url 解決了部分錯誤。
這給我留下了這個錯誤
error: No profiles for 'XXXX.onesignal' were found: Xcode couldn't find any iOS App Development provisioning profiles matching
'XXXX.onesignal'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass
-allowProvisioningUpdates to xcodebuild. (in target 'OneSignalNotificationServiceExtension' from project 'Runner')
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/349023.html
