Skip to content

macOS 15.6.1 编译mnn.framework 的simulator出错 #3982

@igerry

Description

@igerry

使用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可以正常编译。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions