MNN icon indicating copy to clipboard operation
MNN copied to clipboard

macOS 15.6.1 编译mnn.framework 的simulator出错

Open igerry opened this issue 1 month ago • 0 comments

使用sh package_scripts/ios/buildiOS_withsimulator.sh " -DMNN_ARM82=ON -DMNN_LOW_MEMORY=ON -DMNN_SUPPORT_TRANSFORMER_FUSE=ON -DMNN_BUILD_LLM=ON -DMNN_CPU_WEIGHT_DEQUANT_GEMM=ON -DMNN_BUILD_DIFFUSION=ON -DMNN_OPENCL=ON -DMNN_SEP_BUILD=OFF -DLLM_SUPPORT_AUDIO=ON -DMNN_BUILD_AUDIO=ON -DLLM_SUPPORT_VISION=ON -DMNN_BUILD_OPENCV=ON -DMNN_IMGCODECS=ON " 编译mnn.framework 出错在: [ 68%] Built target MNNCPU [ 68%] Built target MNNTransform make[1]: *** [CMakeFiles/MNN.dir/rule] Error 2 make: *** [MNN] Error 2 End Building Simulator64

环境:macOS 15.6.1 & XCode Version 26.0.1 (17A400) 我的目的是想编译一个universal binary,这样device和模拟器都能调试。目前只有buildiOS.sh可以正常编译。

igerry avatar Oct 30 '25 05:10 igerry