当我运行 pod install 时,这些磨损就会出现。
[!] The
Runner [调试]target overrides the
ENABLE_BITCODEbuild setting defined in
Pods/目标支持文件/Pods-Runner/Pods-Runner.debug.xcconfig'。这可能会导致 CocoaPods 安装出现问题
- 使用 $(inherited)
标志,或者
- 从目标中删除构建设置。
[!]
Runner [Release]
目标会覆盖 ENABLE_BITCODE
$(inherited)` 标志中定义的 Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
构建设置,或者
- 从目标中删除构建设置。
[!]
Runner [Profile]
目标会覆盖 ENABLE_BITCODE
$(inherited)Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation - Use the
中定义的 flag, or - Remove the build settings from the target.
构建设置
之后,当我在真实设备 Xcode 上调试时,出现错误,没有这样的模块“__ObjC”。
您能否分享两个命令的日志:
flutter doctor -v
和pod --version
?我想确保每个配置都可以正确执行。