質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

Q&A

解決済

1回答

1837閲覧

swift cocoapods

tosi_1211

総合スコア138

Swift

Swiftは、アップルのiOSおよびOS Xのためのプログラミング言語で、Objective-CやObjective-C++と共存することが意図されています

0グッド

0クリップ

投稿2016/11/29 08:01

編集2016/12/13 04:41

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つです。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

fuzzball

2016/11/30 01:55

何をインストールしようとしてこうなっているのでしょうか?(ukswiftで検索しても分かりませんでした)
tosi_1211

2016/12/13 04:42

誤字修正しました。
guest

回答1

0

ベストアンサー

プロジェクトのTarget Build Setting から Other linker Flagsの空欄に$(inherited)をタイプして見てください。

投稿2016/11/29 08:13

akaakoz

総合スコア183

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

tosi_1211

2016/11/29 08:21

タイプしてみても同じエラーが出ます
akaakoz

2016/11/29 23:02

追記のコメントがありましたが、エラー直りましたか? まだエラー2つ残っておりますでしょうか?
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問