Cocos Creator 3.4.0 使用Pod 后错误

  • Creator 版本: 3.4.0
  • 目标平台:iOS 10.0

有勾选 “跳过 Xcode 工程的更新”,请问也有人有相同问题吗?
Pod 后找不到原本cocos 的档案,请问路径要去哪里改
也请引擎组查看一下,谢谢

ScriptEngine::evalString catch exception:
ERROR: Uncaught Error: Failed to require file ‘jsb-adapter/jsb-builtin.js’, not found!, location: (no filename):0:0
STACK:
- [0]anonymous@(no filename):1
11:49:29 [ERROR]: [ERROR] file /Users/xxx/native/engine/common/Classes/Game.cpp: line 54
11:49:29 [ERROR]:
Uncaught Exception:
- location : (see stack)
- msg : Uncaught Error: Failed to require file ‘jsb-adapter/jsb-builtin.js’, not found!
- detail :
- [0]anonymous@(no filename):1
ScriptEngine::evalString script (no filename), failed!
ScriptEngine::evalString catch exception:
ERROR: Uncaught Error: Failed to require file ‘main.js’, not found!, location: (no filename):0:0
STACK:
- [0]anonymous@(no filename):1
11:49:29 [ERROR]: [ERROR] file /Users/xxx/native/engine/common/Classes/Game.cpp: line 54
11:49:29 [ERROR]:
Uncaught Exception:
- location : (see stack)
- msg : Uncaught Error: Failed to require file ‘main.js’, not found!
- detail :
- [0]anonymous@(no filename):1
ScriptEngine::evalString script (no filename), failed!
Assertion failed: (isObject()), function toObject, file Value.cpp, line 492.

使用pod以后主工程products下生成的app路径变了,需要重新拷贝Assets下的资源到新的app中,可以点击对应target,在Build phases里添加New Run Script Phase,内容参考上面的Cmake PostBuild Rules。(creator版本3.4.0 Xcode版本13.4)

谢谢分享,升级到 3.4.2 问题已解决