How to fix cocoapod .modulemap file not found

后端 未结 5 1075
Happy的楠姐
Happy的楠姐 2021-02-07 10:19

When I try to build my project, I get a compile time error saying that a \"Module map file\" for my pod cannot be found and that I am missing a \"SwiftShimes\" module.

5条回答
  •  后悔当初
    2021-02-07 10:32

    I solve this issue by removing OTHER_SWIFT_FLAGS custom flag in Swift Compiler - Custom Flags

    OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS -Xcc -fmodule-map-file=\"${PODS_ROOT}/modulePath/moduleName.modulemap\"";

提交回复
热议问题