【3.5.2 ios release崩溃 debug正常】

[ERROR] (/Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/jsb_global_init.cpp, 154): Can’t decrypt code for assets/resources/index.jsc

[ERROR] Failed to invoke require, location: /Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/jsb_global.cpp:133

JS: [ERROR]: Error: Unable to instantiate virtual:///prerequisite-imports/resources from undefined

2022-07-12 16:21:03.627603+0800 ohyaoo-mobile[87042:14024710] METASEC:–Error–:MSHttpInterceptorImpl:Bind fail

2022-07-12 16:21:03.670236+0800 ohyaoo-mobile[87042:14025014] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 “target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit” UserInfo={NSLocalizedFailureReason=target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit}>

2022-07-12 16:21:03.670266+0800 ohyaoo-mobile[87042:14025014] [ProcessSuspension] 0x1131f9a40 - ProcessAssertion: Failed to acquire RBS assertion ‘ConnectionTerminationWatchdog’ for process with PID=87044, error: Error Domain=RBSServiceErrorDomain Code=1 “target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit” UserInfo={NSLocalizedFailureReason=target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit}

使用调试模式进入游戏就可以正常跑,移除调试模式打包,就黑屏

debug也有同样的问题,但是就能进得去游戏

[ERROR] (/Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptObjCBridge.mm, 328): call (SDKHelper.SDKInit:) failed, result code: -3

[ERROR] Failed to invoke JavaScriptObjCBridge_callStaticMethod, location: /Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptObjCBridge.mm:337

2022-07-12 16:24:21.386225+0800 ohyaoo-mobile[87066:14026466] METASEC:–Error–:MSHttpInterceptorImpl:Bind fail

2022-07-12 16:24:22.728370+0800 ohyaoo-mobile[87066:14026756] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 “target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit” UserInfo={NSLocalizedFailureReason=target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit}>

’ConnectionTerminationWatchdog’ for process with PID=87067, error: Error Domain=RBSServiceErrorDomain Code=1 “target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit” UserInfo={NSLocalizedFailureReason=target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit}

[ERROR] (/Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptObjCBridge.mm, 328): call (SDKHelper.SDKLogin:) failed, result code: -3

[ERROR] Failed to invoke JavaScriptObjCBridge_callStaticMethod, location: /Applications/CocosCreator/Creator/3.5.1/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptObjCBridge.mm:337

怎么处理的

Can’t decrypt code
加密问题导致的,所有导出的工程全删了,重新配置信息导出