2

プッシュ通知にはUrbanAirshipを使用しています。以下はステータスです。

2013-03-21 14:39:16.231 SAMA[18048:907] [D] -[UAPush applicationDidBecomeActive] [Line 555] Checking registration status after foreground notification
2013-03-21 14:39:16.232 SAMA[18048:907] [D] -[UAPush applicationDidBecomeActive] [Line 561] Checking registration on app foreground disabled on app initialization
2013-03-21 14:39:16.399 SAMA[18048:907] [D] -[UAUser listenForDeviceTokenReg] [Line 931] ListenForDeviceTokenReg
2013-03-21 14:39:17.530 SAMA[18048:907] [D] -[UAUser retrieveRequestSucceeded:] [Line 873] User retrieved: 200:{
  "user_id" : "z3hUpYOpRKeLOAfKyjIvRQ",
  "user_url" : "https://device-api.urbanairship.com/api/user/xxxxxxxxxxxxxxxxxx/",
  "tags" : [ ],
  "device_tokens" : [ ],
  "device_pins" : [ ],
  "apids" : [ ],
  "has_active_subscription" : false,
  "subscriptions" : [ ],
  "ua_device_ids" : [ "xx-DFxxAB-xx-xxx-xxx" ],
  "badge" : 0,
  "server_time" : "2013-03-21 11:39:18"
}
2013-03-21 14:39:17.550 SAMA[18048:907] [D] -[UAUser updateDefaultDeviceToken] [Line 978] Updating device token.
2013-03-21 14:39:17.552 SAMA[18048:907] [D] -[UAUser updateDefaultDeviceToken] [Line 981] Skipping device token update: no token, already up to date, or user is being updated.
2013-03-21 14:39:31.123 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 275] Retrieved device id info from keychain.
2013-03-21 14:39:31.124 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 279] Device ID result is not nil.
2013-03-21 14:39:31.125 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 288] Loaded Device ID: xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx
2013-03-21 14:39:31.126 SAMA[18048:907] [D] +[UAKeychainUtils getDeviceID] [Line 289] Loaded Model Name: iPhone4,1
2013-03-21 14:39:32.399 SAMA[18048:907] [D] -[UAAnalytics requestDidSucceed:response:responseData:] [Line 461] Analytics data sent successfully. Status: 200

まだ私のアカウントでは、You don't have any device tokens registered yet.

アプリを実行してもプッシュ通知の確認は求められませんでした。

私は彼らのドキュメントに従ってすべてを行いました。しかし、それでも運はありません。

4

1 に答える 1

2

アーバンエアシップの完璧なソリューションは

  1. アプリIDを作成する
  2. APNSを有効にする
  3. 次に、プロビジョニングファイルを作成します

(注:コンピューター上およびオーガナイザーウィンドウからも、すべてのプロファイルを削除してください)。そのプロジェクトのプロビジョニングプロファイルをxcodeに保持しないでください。以前に削除して、上記の手順をもう一度実行してください。問題は解決されます。

于 2013-03-22T20:03:31.337 に答える