根据文档提示配置unipush,添加如下三个sdk库文件
libUniPush.a
liblibPush.a
GTSDK.xcframework
文件添加完后,在IOS16下启动就崩溃了, IOS15和17测试正常, 移除SDK后iOS16启动正常。
2024-06-13 09:48:56.558984+0800 HBuilder[2650:420415] <Weex>[error]WXMonitor.m:289, [WX_KEY_EXCEPTION_WXBRIDGE] [undefined:undefined:undefined] TypeError: undefined is not an object js stack: (null)
2024-06-13 09:48:56.565788+0800 HBuilder[2650:420415] <Weex>[error]WXExceptionUtils.m:38, Weex exception errCode: -9100 function: executeJsService message: [WX_KEY_EXCEPTION_INVOKE_JSSERVICE_EXECUTE] name:SERVICE_NAME,arg:TypeError: undefined is not an object,exception :$@
2024-06-13 09:48:56.565873+0800 HBuilder[2650:420415] <Weex>[error]WXMonitor.m:289, [WX_KEY_EXCEPTION_INVOKE_JSSERVICE_EXECUTE] name:SERVICE_NAME,arg:TypeError: undefined is not an object,exception :$@
2024-06-13 09:48:56.566881+0800 HBuilder[2650:420415] <Weex>[error]WXExceptionUtils.m:38, Weex exception errCode: -9100 function: executeJsService message: [WX_KEY_EXCEPTION_INVOKE_JSSERVICE_EXECUTE] name:UniApp,arg:TypeError: undefined is not an object,exception :$@
2024-06-13 09:48:56.566938+0800 HBuilder[2650:420415] <Weex>[error]WXMonitor.m:289, [WX_KEY_EXCEPTION_INVOKE_JSSERVICE_EXECUTE] name:UniApp,arg:TypeError: undefined is not an object,exception :$@
2024-06-13 09:48:56.591060+0800 HBuilder[2650:420172] [Reporter] SDK init success
2024-06-13 09:48:56.596350+0800 HBuilder[2650:420172] sdk init 2.0.4_umeng
2024-06-13 09:48:56.596714+0800 HBuilder[2650:420172] GeTuiSdk--PGPushServerAct
断点提示:
GTSDKThread (21): EXC_BAD_ACCESS (code=1, address=0x0)
1 个回复
dc_jerry (作者)
通过个推官网资料解决了,xcode15起,deploy target需要改成大于11