cocoapodsについて、質問です。
pod installする際にこんな感じのエラーが出るのですが何が原因なのかまったくわかりません。教えてください。
[!] The `project [Debug]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Support Files/Pods-projectName/Pods-project.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `project [Release]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Support Files/Pods-project/Pods-project.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.
preprocessor Macrosに$(inherited)の値を入れると
[!] The `project [Debug]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `Pods/Target Support Files/Pods-project/Pods-project.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `project [Release]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `Pods/Target Support Files/Pods-project/Pods-project.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.
この2つのエラーが消えました。あと4つです。
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"
この値を入れると以下の2つが消えました。
[!] The `project [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-project/Pods-project.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `project [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-project/Pods-project.release.xcconfig'. This can lead to problems with the CocoaPods installation
この2つのエラーが消えました。あと2つです。
回答1件
あなたの回答
tips
プレビュー