Skip to content

Commit 982fcde

Browse files
committed
更新文档
1 parent 4445204 commit 982fcde

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

docs/help/commonerrors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ com.code-philosophy.hybridclr 与 hybridclr及il2cpp_plus版本不匹配导致
8383

8484
如果还是遇到这个问题,你完全可以自己手动build一次工程来生成aot dll,然后跳过 `generate/AOTDlls`这一步。
8585

86-
8786
## 打包时发生错误
8887

8988
### Currently selected scripting backend (IL2CPP) is not installed
@@ -253,6 +252,13 @@ WebGL使用全局安装,你没有将本地`{project}/HybridCLRData/LocalIl2Cpp
253252
在热更新代码中定义的添加了`[MonoPInvokeCallback]`特性的函数不支持string或者数组之类的参数或者返回值,请将相应参数修改为IntPtr同时自行marshal这些参数,或者将该函数移到AOT中定义。
254253
详细请见[MonoPInvokCallback支持](../basic/monopinvokecallback)
255254

255+
### 升级到最新版本xcode后出现发布ios平台时出现 stdio.h头文件中fopen函数的编译错误
256+
257+
在升级xcode 15.x版本后出现跟zlib的不兼容问题。解决办法有两个:
258+
259+
- xcode回退到13.x版本
260+
- zlib升级到最新版本,替换libil2cpp/external/zlib目录的代码
261+
256262
## 运行时错误
257263

258264
### EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`

i18n/en/docusaurus-plugin-content-docs/current/help/commonerrors.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ Extern functions defined in hot update code don't support parameters or return v
251251
Functions with `[MonoPInvokeCallback]` attribute defined in hot update code don't support parameters or return values like string or arrays. Please modify the corresponding parameters to IntPtr and manually marshal these parameters, or move the function to AOT for definition.
252252
For details, see [MonoPInvokCallback Support](../basic/monopinvokecallback).
253253

254+
### After upgrading to the latest version of Xcode, a compilation error occurs with the fopen function in the stdio.h header when publishing for the iOS platform After upgrading to Xcode 15.x
255+
256+
an incompatibility issue with zlib arises. There are two solutions:
257+
258+
- Roll back Xcode to version 13.x
259+
260+
- Upgrade zlib to the latest version by replacing the code in the libil2cpp/external/zlib directory
261+
254262
## Runtime Errors
255263

256264
### EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`

0 commit comments

Comments
 (0)