在 macOs11.0 上更新 xcode12.2 后尝试安装 pod 时,出现以下错误。
[!] The `Myproject-User-iOSUITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Myproject-User-iOS-DipDap-User-iOSUITests/Pods-Myproject-User-iOS-DipDap-User-iOSUITests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `Myproject-User-iOSUITests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Myproject-User-iOS-DipDap-User-iOSUITests/Pods-DipDap-User-iOS-Myproject-User-iOSUITests.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
我搜索了错误并得到了一些结果,根据指定的链接更改了值,
但仍然遇到相同的错误,并且我的 pod 框架未更新
尝试使用:
它会起作用的..:)