windows 7 ->HBuilder->iTunes开发调试无任何问题。
Mac os 10.8.5 ->XCode 5.1->出现以下错误
HBuilder[2800:60b] -JSONValue failed. Error trace is: (
"Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Object key string expected\" UserInfo=0x1669df50 {NSLocalizedDescription=Object key string expected}"
)
2014-10-10 09:31:21.334 HBuilder[2800:60b] [GexinSdk] Try register DeviceToken(GexinSdk.m)
2014-10-10 09:31:21.334 HBuilder[2800:60b] [GexinSdk] Try register DeviceToken, authenticate: 1 (GXDirectAccessPushClient.m)
2014-10-10 09:31:21.335 HBuilder[2800:60b] [GexinSdk] Try register DeviceToken(GXPushServer.m)
2014-10-10 09:31:21.335 HBuilder[2800:60b] [GexinSdk] Try register DeviceToken(Bussiness.m)
2014-10-10 09:31:21.335 HBuilder[2800:60b] [GexinSdk] deviceToken gotten, waiting for CID.
2014-10-10 09:31:25.200 HBuilder[2800:60b] [GexinSdk] CID gotten, try to bind deviceToken: .
2014-10-10 09:31:25.201 HBuilder[2800:60b] [GexinSdk] deviceToken lastest binded about 13 hours ago.
2014-10-10 09:31:25.202 HBuilder[2800:60b] [GexinSdk] dismiss bind deviceToken: to cid: 734086084867064977 by policy.
2014-10-10 09:31:25.203 HBuilder[2800:60b] Gexin Sdk client has been registered as: db81bb29b3cc0afc789d8cf09931a0c9
有人遇到这个问题吗?
3 个回复
最佳回复
DCloud_heavensoft
应该是json里的中文注释被xcode认为不合法,把manifest.json里的中文注释去掉试试。
枫叶荻花 (作者)
问题已解决,确实是manifest.json的问题。
谢谢!
M***@qq.com - 我就是我
为什么不支持中文注释。。。。无解。。。