2011-10-26 3 views
0

내가 전화 간격을 사용하여 도시의 비행선을 구현하기 위해 노력하고있어 등록에 박히면서 다음 URL에있는 모든 따랐다 : 응용 프로그램이 시작되면구현 도시 비행선은

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

, 내가 수를 등록을 고집했다. 등록 버튼을 클릭하면

내 설정은 Xcode 4.2 Build 4D199이며 Phonegap 1.1.0을 사용하고 있습니다.

아무도 내가이 문제를 해결하는 데 도움이되는 정보가 더 필요하면 알려주십시오. 고맙습니다.

다음은 드디어이 문제를 해결하는 방법을 알아 내 엑스 코드 콘솔 로그

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이 Phonegap 1.0.0을 실행하고 있다는 것입니다.

이 문제를 해결하려면 phonegap1.0.0.js를 phonegap1.1.0.js로 바꾸고 index.html에서 해당 참조를 바꿉니다.

phonegap plist의 외부 흰색 목록에 go.urbanairship.com을 추가하는 것을 잊지 마십시오.