creator3.3.1编译ios工程失败,这是为啥,而且还不生成工程文件给我

2021-10-19 16:57-debug: Start record console… {file(/Users/sujiehao/work/haoying/creator3x/creator3xgame/temp/builder/log/ios2021-10-19 16-57.log)}
2021-10-19 16:57-debug: cocos-service:(onBeforeBuild) start…0%
2021-10-19 16:57-debug: // ---- cocos-service:(onBeforeBuild) ----
2021-10-19 16:57-debug: Process: heapTotal 190.89MB heapUsed 180.02MB rss 149.90MB
2021-10-19 16:57-debug: Build with Cocos Creator 3.3.1
2021-10-19 16:57-debug: Start build task, options:
{“name”:“creator3xgame”,“platform”:“ios”,“buildPath”:“project://build”,“debug”:false,“md5Cache”:true,“sourceMaps”:false,“replaceSplashScreen”:false,“mainBundleCompressionType”:“merge_dep”,“mainBundleIsRemote”:false,“mergeStartScene”:false,“experimentalEraseModules”:false,“compressTexture”:true,“packAutoAtlas”:true,“startScene”:“b86b6414-042f-4ad0-aa4c-ec7796c93568”,“scenes”:[{“url”:“db://assets/scene/main.scene”,“uuid”:“b86b6414-042f-4ad0-aa4c-ec7796c93568”,“inBundle”:false}],“outputName”:“ios”,“packages”:{“ios”:{“packageName”:“ibirdgamedoudizhu”,“orientation”:{“landscapeRight”:false,“landscapeLeft”:false,“portrait”:true},“renderBackEnd”:{“metal”:true},“targetVersion”:“12.0”,“developerTeam”:“3249575HS3”},“native”:{“polyfills”:{“asyncFunctions”:true},“encrypted”:true,“xxteaKey”:“jhao_creator3d”,“compressZip”:false,“makeAfterBuild”:false,“JobSystem”:“taskFlow”},“cocos-service”:{“configID”:“59a8f6”,“services”:[]}}}
2021-10-19 16:57-debug: =================================== Build Task (ios) Start ================================
2021-10-19 16:57-debug: // ---- cocos-service:(onBeforeBuild) success ----
2021-10-19 16:57-debug: cocos-service:(onBeforeBuild)3%
2021-10-19 16:57-debug: Query all assets info in project
2021-10-19 16:57-debug: BuildAssetLibrary query-assets with assets 220
2021-10-19 16:57-debug: Number of other assets: 286
2021-10-19 16:57-debug: native:(onAfterInit) start…3%
2021-10-19 16:57-debug: // ---- native:(onAfterInit) ----
2021-10-19 16:57-debug: Process: heapTotal 191.08MB heapUsed 181.05MB rss 152.48MB
2021-10-19 16:57-debug: Number of all scenes: 1
2021-10-19 16:57-debug: Number of all scripts: 28
2021-10-19 16:57-debug: BuildAssetLibrary initialized with asset 293!
2021-10-19 16:57-debug: Native engine root:/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/resources/3d/engine-native
2021-10-19 16:57-debug: // ---- native:(onAfterInit) success ----
2021-10-19 16:57-debug: // ---- ios:(onAfterInit) ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 203.47MB rss 213.71MB
2021-10-19 16:57-debug: ios:(onAfterInit)8%
2021-10-19 16:57-debug: 加载刷新项目脚本 start8%
2021-10-19 16:57-log: // ---- 加载刷新项目脚本 ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 203.48MB rss 213.72MB
2021-10-19 16:57-debug: reload all scripts.
2021-10-19 16:57-debug: native:(onAfterInit)5%
2021-10-19 16:57-debug: // ---- ios:(onAfterInit) success ----
2021-10-19 16:57-debug: ios:(onAfterInit) start…5%
2021-10-19 16:57-debug: Unregister AdapterHelper
2021-10-19 16:57-debug: Unregister Main
2021-10-19 16:57-debug: Unregister GraphicsFrame
2021-10-19 16:57-debug: Unregister WebViewPrefab
2021-10-19 16:57-debug: Unregister LoadingIcon
2021-10-19 16:57-debug: Unregister TipComponent
2021-10-19 16:57-debug: Unregister LoadingView
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/cce/internal/x/prerequisite-imports.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/Main.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/cce/internal/code-quality/cr.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/cce/internal/x/cc.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/AdapterHelper.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/ComponentBase.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/UIManager.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/game/config/ViewConfig.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/Logger.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/game/util/UIHelper.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/sdk/NativeSdkHelper.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/ResourcesManager.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/UI_Config.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/ViewBase.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/config/Config.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/ColorConfig.js’
2021-10-19 16:57-debug: Unregister ViewBase
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/EventManager.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/GraphicsFrame.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/HaoEncrypt.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/HotUpdate.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/ManifestConfig.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/VersionManager.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/HttpUtil.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/Md5Helper.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/WebViewPrefab.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/md5.proxy.js@63cjs&original=.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/md5.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/cce/internal/ml/cjs-loader.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/game/component/LoadingIcon.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/game/component/TipComponent.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/game/view/LoadingView.js’
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/net/HttpHelper.js’
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/cce/internal/x/prerequisite-imports.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/cce/internal/code-quality/cr.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/cce/internal/x/cc.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/Logger.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register AdapterHelper
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/AdapterHelper.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/sdk/NativeSdkHelper.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register ComponentBase
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/ComponentBase.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/ResourcesManager.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/UI_Config.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register ViewBase
2021-10-19 16:57-warn: The type of “ViewBase.canBgClose” must be CCBoolean, not Boolean.
2021-10-19 16:57-warn: You are explicitly specifying undefined type to cc property “needDark” of cc class “ViewBase”.
Is this intended? If not, this may indicate a circular reference.
For example:

// foo.ts
import { _decorator } from ‘cc’;
import { Bar } from ‘./bar’; // Given that ‘./bar’ also reference ‘foo.ts’.
// When importing ‘./bar’, execution of ‘./bar’ is hung on to wait execution of ‘foo.ts’,
// the Bar imported here is undefined until ‘./bar’ finish its execution.
// It leads to that
@_decorator.ccclass // ↓
export class Foo { // ↓
@_decorator.type(Bar) // → is equivalent to @_decorator.type(undefined)
public bar: Bar; // To eliminate this error, either:
// - Refactor your module structure(recommended), or
// - specify the type as cc class name: @_decorator.type('Bar'/* or any name you specified for Bar */)
}

2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/ViewBase.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/UIManager.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register ViewConfig
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/game/config/ViewConfig.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/game/util/UIHelper.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register Main
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/Main.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/config/Config.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/ColorConfig.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/DateUtil.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/EventManager.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register GraphicsFrame
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/GraphicsFrame.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/HaoEncrypt.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/VersionManager.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/ManifestConfig.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/HotUpdate.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/HttpUtil.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/Md5Helper.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register WebViewPrefab
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/WebViewPrefab.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/cce/internal/ml/cjs-loader.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/md5.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/engine/md5.proxy.js@63cjs&original=.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register LoadingIcon
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/game/component/LoadingIcon.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register TipComponent
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/game/component/TipComponent.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/net/HttpHelper.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Register LoadingView
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/fs/0/assets/src/game/view/LoadingView.js” loaded.
2021-10-19 16:57-debug: [[Executor]] Module “pack:///mods/cce/internal/x/prerequisite-imports.js” loaded.
2021-10-19 16:57-debug: 加载刷新项目脚本 √9%
2021-10-19 16:57-debug: 查询 asset bundle start9%
2021-10-19 16:57-log: // ---- 查询 asset bundle ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 204.75MB rss 214.07MB
2021-10-19 16:57-debug: Unregister ComponentBase
2021-10-19 16:57-debug: Invalidating ‘pack:///mods/fs/0/assets/src/engine/DateUtil.js’
2021-10-19 16:57-debug: Unregister ViewConfig
2021-10-19 16:57-debug: 查询 asset bundle √10%
2021-10-19 16:57-log: // ---- 查询使用的资源以及资源包配置 ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 204.87MB rss 214.08MB
2021-10-19 16:57-debug: Number of scenes: 1
2021-10-19 16:57-debug: 查询使用的资源以及资源包配置 start10%
2021-10-19 16:57-debug: Number of assets: 23
2021-10-19 16:57-log: // ---- 整理脚本分组与脚本数据 ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 205.74MB rss 214.23MB
2021-10-19 16:57-debug: sort script group…
2021-10-19 16:57-debug: Number of asset bundle: 2
2021-10-19 16:57-debug: 查询使用的资源以及资源包配置 √11%
2021-10-19 16:57-debug: 整理脚本分组与脚本数据 start11%
2021-10-19 16:57-debug: 整理脚本分组与脚本数据 √13%
2021-10-19 16:57-debug: 整理纹理压缩任务 start13%
2021-10-19 16:57-log: // ---- 整理纹理压缩任务 ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 205.86MB rss 214.25MB
2021-10-19 16:57-debug: Number of image-compress task: 0
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 205.95MB rss 214.29MB
2021-10-19 16:57-debug: Number of json group: 3
2021-10-19 16:57-debug: 初步划分 json 合并分组 √15%
2021-10-19 16:57-debug: 整理合并压缩 Texture2D 的 json 数据 start15%
2021-10-19 16:57-log: // ---- 整理合并压缩 Texture2D 的 json 数据 ----
2021-10-19 16:57-debug: 初步划分 json 合并分组 start14%
2021-10-19 16:57-debug: 整理合并压缩 Texture2D 的 json 数据 √16%
2021-10-19 16:57-debug: start16%
2021-10-19 16:57-log: // ---- ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 205.99MB rss 214.30MB
2021-10-19 16:57-debug: √18%
2021-10-19 16:57-debug: native:(onBeforeBuildAssets) start…18%
2021-10-19 16:57-debug: // ---- native:(onBeforeBuildAssets) ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 206.00MB rss 214.30MB
2021-10-19 16:57-debug: // ---- native:(onBeforeBuildAssets) success ----
2021-10-19 16:57-debug: native:(onBeforeBuildAssets)20%
2021-10-19 16:57-debug: start20%
2021-10-19 16:57-log: // ---- ----
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 206.03MB rss 214.31MB
2021-10-19 16:57-debug: Process: heapTotal 226.10MB heapUsed 205.98MB rss 214.30MB
2021-10-19 16:57-log: // ---- 初步划分 json 合并分组 ----
2021-10-19 16:57-debug: 整理纹理压缩任务 √14%
2021-10-19 16:57-debug: Caught exception during build core-js: WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

2021-10-19 16:57-debug: 打包脚本20%
2021-10-19 16:57-debug: Process: heapTotal 227.60MB heapUsed 209.69MB rss 139.88MB
2021-10-19 16:57-log: debug: Create cjs interop url for ‘file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/md5.js’
2021-10-19 16:57-warn: [[Build.Script.Rollup]] Circular dependency: file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/ViewBase.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/UIManager.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/ViewBase.ts
2021-10-19 16:57-warn: [[Build.Script.Rollup]] Circular dependency: file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/VersionManager.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/HotUpdate.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/VersionManager.ts
2021-10-19 16:57-warn: [[Build.Script.Rollup]] Circular dependency: file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/ManifestConfig.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/VersionManager.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/HotUpdate.ts -> file:///Users/sujiehao/work/haoying/creator3x/creator3xgame/assets/src/engine/ManifestConfig.ts
2021-10-19 16:57-debug: Copy externalScripts success!
2021-10-19 16:57-debug: 打包脚本√20%
2021-10-19 16:57-debug: 构建引擎20%
2021-10-19 16:57-debug: Process: heapTotal 266.20MB heapUsed 218.43MB rss 270.58MB
2021-10-19 16:57-debug: Use cache engine: {link(/var/folders/hm/dl23mcts68nf8wcbkk3bjm180000gn/T/CocosCreator/3.3.1/builder/engine/50f68461f12bcfb89a62735577f20edc)}
2021-10-19 16:57-debug: {“debug”:false,“sourceMaps”:false,“includeModules”:[“base”,“gfx-webgl”,“gfx-webgl2”,“3d”,“2d”,“ui”,“particle”,“physics-ammo”,“physics-2d-box2d”,“intersection-2d”,“primitive”,“profiler”,“particle-2d”,“audio”,“video”,“webview”,“tween”,“terrain”,“tiled-map”,“spine”,“dragon-bones”],“engineVersion”:“3.3.1”,“platform”:“NATIVE”,“md5Map”:[],“engineName”:“src/cocos-js”,“useCache”:true,“targets”:“chrome 80”,“entry”:"/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/resources/3d/engine"}
2021-10-19 16:57-debug: 构建引擎√20%
2021-10-19 16:57-debug: √27%
2021-10-19 16:57-debug: 构建自动图集 √33%
2021-10-19 16:57-debug: 图片拷贝压缩任务 start33%
2021-10-19 16:57-log: // ---- 图片拷贝压缩任务 ----
2021-10-19 16:57-debug: Process: heapTotal 266.20MB heapUsed 219.97MB rss 270.72MB
2021-10-19 16:57-debug: 图片拷贝压缩任务 √40%
2021-10-19 16:57-debug: 将资源拷贝到指定位置 start40%
2021-10-19 16:57-log: // ---- 将资源拷贝到指定位置 ----
2021-10-19 16:57-debug: Process: heapTotal 266.20MB heapUsed 219.98MB rss 270.73MB
2021-10-19 16:57-debug: Process: heapTotal 266.20MB heapUsed 219.93MB rss 270.71MB
2021-10-19 16:57-debug: 构建自动图集 start27%
2021-10-19 16:57-log: // ---- 构建自动图集 ----
2021-10-19 16:57-debug: Asset Bundle(resources) handle assets: 9
2021-10-19 16:57-debug: Asset Bundle(main) handle assets: 14
2021-10-19 16:57-debug: 将资源拷贝到指定位置 √47%
2021-10-19 16:57-debug: 将分组后的 json 与散文件构建到指定位置 start47%
2021-10-19 16:57-log: // ---- 将分组后的 json 与散文件构建到指定位置 ----
2021-10-19 16:57-debug: Process: heapTotal 266.20MB heapUsed 220.17MB rss 270.78MB
2021-10-19 16:57-debug: Json group(build-task/json) compile success,json number: 6
2021-10-19 16:57-debug: Json group(build-task/json) compile success,json number: 6
2021-10-19 16:57-debug: Json group(build-task/json) compile success,json number: 6
2021-10-19 16:57-debug: 将分组后的 json 与散文件构建到指定位置 √53%
2021-10-19 16:57-debug: 压缩 zip bundle √60%
2021-10-19 16:57-debug: native:(onAfterBuildAssets) start…60%
2021-10-19 16:57-debug: // ---- native:(onAfterBuildAssets) ----
2021-10-19 16:57-debug: Process: heapTotal 265.70MB heapUsed 218.60MB rss 270.71MB
2021-10-19 16:57-log: // ---- 压缩 zip bundle ----
2021-10-19 16:57-debug: Process: heapTotal 265.70MB heapUsed 218.59MB rss 270.71MB
2021-10-19 16:57-debug: 压缩 zip bundle start53%
2021-10-19 16:57-log: [plugin New]: running …
2021-10-19 16:57-debug: generateCMakeConfig, {“CC_USE_GLES3”:“set(CC_USE_GLES3 OFF)”,“CC_USE_GLES2”:“set(CC_USE_GLES2 OFF)”,“USE_SERVER_MODE”:“set(USE_SERVER_MODE OFF)”,“APP_NAME”:“set(APP_NAME creator3xgame)”,“COCOS_X_PATH”:“set(COCOS_X_PATH “/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/resources/3d/engine-native”)”,“USE_JOB_SYSTEM_TASKFLOW”:“set(USE_JOB_SYSTEM_TASKFLOW ON)”,“USE_JOB_SYSTEM_TBB”:“set(USE_JOB_SYSTEM_TBB OFF)”,“DEVELOPMENT_TEAM”:“set(DEVELOPMENT_TEAM 3249575HS3)”,“TARGET_IOS_VERSION”:“set(TARGET_IOS_VERSION 12.0)”,“CC_USE_METAL”:“set(CC_USE_METAL ON)”,“USE_PHYSICS_PHYSX”:“set(USE_PHYSICS_PHYSX OFF)”,“USE_AUDIO”:“set(USE_AUDIO ON)”,“USE_VIDEO”:“set(USE_VIDEO ON)”,“USE_WEBVIEW”:“set(USE_WEBVIEW ON)”,“USE_SPINE”:“set(USE_SPINE ON)”,“USE_DRAGONBONES”:“set(USE_DRAGONBONES ON)”,“MACOSX_BUNDLE_GUI_IDENTIFIER”:“set(MACOSX_BUNDLE_GUI_IDENTIFIER ibirdgamedoudizhu)”}
2021-10-19 16:57-debug: 给所有的资源加上 md5 后缀 start63%
2021-10-19 16:57-log: // ---- 给所有的资源加上 md5 后缀 ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.41MB rss 272.20MB
2021-10-19 16:57-debug: native:(onAfterBuildAssets)63%
2021-10-19 16:57-debug: // ---- native:(onAfterBuildAssets) success ----
2021-10-19 16:57-log: [plugin New]: done!
2021-10-19 16:57-debug: add suffix to assets(6) success!
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.66MB rss 274.02MB
2021-10-19 16:57-debug: 初始化 settings 与 config √73%
2021-10-19 16:57-debug: tasks.settings.macro 字段未在编辑器多语言内定义
2021-10-19 16:57-debug: tasks.settings.macro start73%
2021-10-19 16:57-log: // ---- tasks.settings.macro ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.67MB rss 274.02MB
2021-10-19 16:57-debug: 给所有的资源加上 md5 后缀 √73%
2021-10-19 16:57-debug: 初始化 settings 与 config start73%
2021-10-19 16:57-log: // ---- 初始化 settings 与 config ----
2021-10-19 16:57-debug: tasks.settings.macro √74%
2021-10-19 16:57-debug: 使用缓存 settings start74%
2021-10-19 16:57-log: // ---- 使用缓存 settings ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.72MB rss 274.02MB
2021-10-19 16:57-debug: 使用缓存 settings √74%
2021-10-19 16:57-debug: custom joint texture layouts start74%
2021-10-19 16:57-log: // ---- custom joint texture layouts ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.79MB rss 274.03MB
2021-10-19 16:57-debug: custom joint texture layouts √75%
2021-10-19 16:57-debug: custom joint physics √75%
2021-10-19 16:57-debug: 填充脚本数据到 settings start75%
2021-10-19 16:57-log: // ---- 填充脚本数据到 settings ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.83MB rss 274.04MB
2021-10-19 16:57-debug: 填充脚本数据到 settings √76%
2021-10-19 16:57-debug: 填充场景数据到 settings start76%
2021-10-19 16:57-log: // ---- 填充场景数据到 settings ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.84MB rss 274.04MB
2021-10-19 16:57-debug: 填充场景数据到 settings √76%
2021-10-19 16:57-debug: 整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 start76%
2021-10-19 16:57-log: // ---- 整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.85MB rss 274.04MB
2021-10-19 16:57-debug: 整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 √77%
2021-10-19 16:57-debug: 从 suffixMap 生成 md5AssetsMap 到 settings start77%
2021-10-19 16:57-log: // ---- 从 suffixMap 生成 md5AssetsMap 到 settings ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.87MB rss 274.04MB
2021-10-19 16:57-debug: 从 suffixMap 生成 md5AssetsMap 到 settings √77%
2021-10-19 16:57-debug: cocos-service:(onBeforeCompressSettings) start…77%
2021-10-19 16:57-debug: // ---- cocos-service:(onBeforeCompressSettings) ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.88MB rss 274.05MB
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 219.82MB rss 274.03MB
2021-10-19 16:57-debug: custom joint physics start75%
2021-10-19 16:57-log: // ---- custom joint physics ----
2021-10-19 16:57-debug: // ---- cocos-service:(onBeforeCompressSettings) success ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 220.02MB rss 274.07MB
2021-10-19 16:57-debug: start80%
2021-10-19 16:57-log: // ---- ----
2021-10-19 16:57-debug: cocos-service:(onBeforeCompressSettings)80%
2021-10-19 16:57-debug: √81%
2021-10-19 16:57-debug: 压缩 config.json 与 settings.js start81%
2021-10-19 16:57-log: // ---- 压缩 config.json 与 settings.js ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 220.05MB rss 274.07MB
2021-10-19 16:57-debug: 压缩 config.json 与 settings.js √82%
2021-10-19 16:57-debug: 保存 config.json start82%
2021-10-19 16:57-log: // ---- 保存 config.json ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 220.08MB rss 274.07MB
2021-10-19 16:57-log: // ---- 保存 settings.json ----
2021-10-19 16:57-debug: 保存 settings.json √84%
2021-10-19 16:57-debug: 整理静态模板文件 start84%
2021-10-19 16:57-log: // ---- 整理静态模板文件 ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 220.28MB rss 274.38MB
2021-10-19 16:57-debug: 整理静态模板文件 √85%
2021-10-19 16:57-debug: cocos-service:(onAfterCompressSettings) start…85%
2021-10-19 16:57-debug: // ---- cocos-service:(onAfterCompressSettings) ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 222.08MB rss 274.40MB
2021-10-19 16:57-debug: 保存 config.json √83%
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 220.11MB rss 274.36MB
2021-10-19 16:57-debug: 保存 settings.json start83%
2021-10-19 16:57-debug: // ---- cocos-service:(onAfterCompressSettings) success ----
2021-10-19 16:57-debug: Process: heapTotal 266.26MB heapUsed 222.30MB rss 274.42MB
2021-10-19 16:57-debug: native:(onAfterBuild) start…87%
2021-10-19 16:57-debug: // ---- native:(onAfterBuild) ----
2021-10-19 16:57-debug: cocos-service:(onAfterCompressSettings)87%
2021-10-19 16:57-log: [plugin Generate]: running …
2021-10-19 16:57-log: run cmake with -S /Users/sujiehao/work/haoying/creator3x/creator3xgame/native/engine/ios -GXcode -B/Users/sujiehao/work/haoying/creator3x/creator3xgame/build/ios/proj -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DRES_DIR="/Users/sujiehao/work/haoying/creator3x/creator3xgame/build/ios"
2021-10-19 16:57-error: [cmake-err] CMake Error at /Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/tools/cmake/share/cmake-3.18/Modules/Platform/iOS-Initiali
2021-10-19 16:57-error: [cmake-err] ze.cmake:4 (message):
iphoneos is not an iOS SDK
Call Stack (most recent call first):
/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/tools/cmake/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:4 (project)

2021-10-19 16:57-log: [cmake] – Configuring incomplete, errors occurred!
See also “/Users/sujiehao/work/haoying/creator3x/creator3xgame/build/ios/proj/CMakeFiles/CMakeOutput.log”.

2021-10-19 16:57-error: Error: Run build plugin native:(onAfterBuild) failed!
at BuildTask.runPluginTask (/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/app.asar/builtin/builder/dist/worker/builder/index.ccc:1:7368)
at async BuildTask.build (/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/app.asar/builtin/builder/dist/worker/builder/index.ccc:1:3506)
at async Ipc. (/Applications/CocosCreator/Creator/3.3.1/CocosCreator.app/Contents/Resources/app.asar/builtin/builder/dist/worker/index.ccc:1:3232)
2021-10-19 16:57-error: {}
2021-10-19 16:57-debug: Stop record console. {file(/Users/sujiehao/work/haoying/creator3x/creator3xgame/temp/builder/log/ios2021-10-19 16-57.log)}

叫我看这个报错文件,我看了更懵逼,我能不是用Macbook编译嘛,要我用Iphone编译?


找到办法了。。这个地址

In Terminal, execute:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
1赞

该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。