2011-10-26 13 views
0

を登録するにはまり:アプリが起動したら実装都市飛行船は、私は携帯電話のギャップを使用して都市飛行船を実装しようとしているし、次のURLにあるすべてのものに続いていた

https://support.urbanairship.com/customer/portal/articles/66970-implementing-with-phonegap

を、私が取得します登録に固執しています。私は登録ボタンをクリックした後。

私の設定はXcode 4.2 Build 4D199で、Phonegap 1.1.0を使用しています。

誰でも私がこの問題を解決するのに役立つ情報が必要な場合は教えてください。ありがとうございました。

次は私のXcodeのコンソールログ

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011) 
Copyright 2004 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB. Type "show warranty" for details. 
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000 
target remote-mobile /tmp/.XcodeGDBRemote-138-25 
Switching to remote-macosx protocol 
mem 0x1000 0x3fffffff cache 
mem 0x40000000 0xffffffff none 
mem 0x00000000 0x0fff none 
[Switching to process 11523 thread 0x2d03] 
[Switching to process 11523 thread 0x2d03] 
sharedlibrary apply-load-rules all 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found). 
warning: No copy of dns.so found locally, reading from memory on remote device. This may slow down the debug session. 
2011-10-26 11:34:19.837 UAPhoneGap[2395:307] active 
[Switching to process 12803 thread 0x3203] 
2011-10-26 11:34:21.250 UAPhoneGap[2395:307] Device initialization: DeviceInfo = {"name":"Michelle W’s iPodTouch","uuid":"beb3dbb33a034930cffc6bb80e754e9174db9c40","platform":"iPod touch","gap":"1.1.0","version":"4.2.1","connection":{"type":"wifi"}}; 

答えて

1

である私は最終的にこの問題を解決する方法を見つけ出します。問題は、私がPhonegap 1.1.0を実行していて、ここにリストされているUAPhoneGapサンプルhttps://support.urbanairship.com/customer/portal/articles/66970-implementing-with-phonegapがPho​​negap 1.0.0を実行していることです。

これを解決するには、phonegap1.0.0.jsをphonegap1.1.0.jsに置き換えて、index.htmlにその参照を置き換えてください。

phonegap plistの外部ホワイトリストにgo.urbanairship.comを追加することを忘れないでください。

関連する問題