Skip to content

fix ios build problem - #292

Merged
star-e merged 4 commits into
cocos:v4.0.0from
oahcy:cmake
Aug 23, 2026
Merged

fix ios build problem#292
star-e merged 4 commits into
cocos:v4.0.0from
oahcy:cmake

Conversation

@oahcy

@oahcy oahcy commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Re: #

  • cmake compile deprecated warn
  • fix(ios): select simulator arch based on Xcode version

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

@oahcy oahcy self-assigned this Aug 18, 2026
@oahcy
oahcy requested review from bofeng-song and qiuguohua August 18, 2026 08:35
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1015435 bytes 1015435 bytes ✅ 0 bytes
2D All (legacy pipeline) 2683166 bytes 2683166 bytes ✅ 0 bytes
2D All (new pipeline) 2775425 bytes 2775425 bytes ✅ 0 bytes
(2D + 3D) All 10032867 bytes 10032867 bytes ✅ 0 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16869285 bytes 16869285 bytes ✅ 0 bytes

Interface Check Report

This pull request does not change any public interfaces !

@oahcy

oahcy commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

}
const nativePrjDir = this.paths.nativePrjDir;

const simulatorArch = this.getIosSimulatorArch();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个放在if (options.simulator) {里,外面好像没其他地方用到?

@oahcy
oahcy requested a review from star-e August 19, 2026 03:04
@star-e

star-e commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS PASS
ios FAIL FAIL
mac FAIL FAIL

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@oahcy

oahcy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS PASS
ios FAIL FAIL
mac FAIL FAIL

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@oahcy

oahcy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS PASS
ios FAIL FAIL
mac PASS PASS PASS

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@oahcy

oahcy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test case

1 similar comment
@oahcy

oahcy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test case

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@oahcy

oahcy commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test case

@oahcy

oahcy commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

测试: cocos-cli 在win/mac平台能正常构建工程。 修复m5电脑的模拟器上运行失败的问题
开发者:需要删除cocos-cli\static\tools\cmake, 重新执行下npm install。

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@github-actions

Copy link
Copy Markdown

@oahcy, Please check the result of run test cases:

Task Details

@star-e
star-e merged commit 469614c into cocos:v4.0.0 Aug 23, 2026
35 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants