我想爲iOS
應用添加推送通知。我正在使用this tutorial註冊推送通知失敗iOS
當從xcode運行到設備(直接)。它的成功但是,當我上傳到testFlight。我收到一個錯誤。
Failed registering for push notifications.The application will not be able to receive notifications.Error in registration for Push notification,check your provisioning profile.Original error:no valid 'aps-environment' entitlement string found for application
似乎您在配置文件中未啓用推送通知。 –
是的,但在App IDs(蘋果開發人員)。我已經爲開發和生產啓用推送通知。 – Manutur