Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[あいなー]Carthageのbootstrapコマンドでライブラリ環境を揃える #117

Closed
eyener3 opened this issue May 7, 2019 · 19 comments
Assignees
Labels
enhancement 新しい機能あるいはそのリクエストです

Comments

@eyener3
Copy link
Contributor

eyener3 commented May 7, 2019

必要性

ライブラリ環境を全員揃える

期待値

タスク内容

$ carthage bootstrap —platform iOS コマンドを実行してライブラリをビルドする
最新のmasterブランチで、エラーなくビルドできることを確認

その他の情報

関連Issue #76

参考URL・画像など

スクリーンショット 2019-05-07 18 22 38

  • エラー
    No entry found for dependencies ios, —platform in Cartfile.resolved – please run carthage update if the dependency is contained in the project's Cartfile.(依存関係iosのエントリが見つかりません - Cartfile.resolvedのプラットフォーム - 依存関係がプロジェクトのCartfileに含まれている場合は carthage updateを実行してください。)

carthage updateを実行しても変わらないため、調べてみる💡
(先日も同じエラーが出ていた。)

@eyener3 eyener3 added the enhancement 新しい機能あるいはそのリクエストです label May 7, 2019
@eyener3 eyener3 added this to the 第8回MTGまでのタスク milestone May 7, 2019
@eyener3 eyener3 self-assigned this May 7, 2019
@eyener3 eyener3 added this to ToDo in [あいなー]タスク進捗画面 via automation May 7, 2019
@eyener3
Copy link
Contributor Author

eyener3 commented May 7, 2019

Carthageが表示されました。
スクリーンショット 2019-05-07 19 58 24
スクリーンショット 2019-05-07 20 13 46

▼同じエラーが出るのは変わらないので、再度調べてみる。

No entry found for dependencies ios, —platform in Cartfile.resolved – please run carthage update if the dependency is contained in the project's Cartfile.(依存関係iosのエントリが見つかりません - Cartfile.resolvedのプラットフォーム - 依存関係がプロジェクトのCartfileに含まれている場合は carthage updateを実行してください。)

@riscait
Copy link
Contributor

riscait commented May 7, 2019

ん?bootstrapが成功したからcarthageフォルダができたのでは?

carthage updateをやったんですか?

Sent with GitHawk

@riscait
Copy link
Contributor

riscait commented May 7, 2019

Xcodeでclean→buildを試しましたか?

Sent with GitHawk

@eyener3
Copy link
Contributor Author

eyener3 commented May 7, 2019

ん?bootstrapが成功したからcarthageフォルダができたのでは?

carthage updateをやったんですか?

Sent with GitHawk

成功したと思ったのに、エラーになるので、
どうしたらいいものかと思っていました^-^。

@eyener3
Copy link
Contributor Author

eyener3 commented May 7, 2019

Xcodeでclean→buildを試しましたか?

Sent with GitHawk

やってみます^-^

@riscait
Copy link
Contributor

riscait commented May 7, 2019

成功したと思ったのに、エラーになるので、
どうしたらいいものかと思っていました^-^。

No entry found for dependencies ios, —platform in Cartfile.resolved – please run carthage update if the dependency is contained in the project's Cartfile.(依存関係iosのエントリが見つかりません - Cartfile.resolvedのプラットフォーム - 依存関係がプロジェクトのCartfileに含まれている場合は carthage updateを実行してください。)

上記のエラーってターミナルでコマンド打った時のエラーですよね?
なので、

成功したと思ったのに、エラーになるので、

の意味がちょっと理解できず🤔

ターミナルでやったならコマンド履歴が残っていると思うので、
最初からエラー出たところまでのスクショ貼ってほっしいです💡

@eyener3
Copy link
Contributor Author

eyener3 commented May 7, 2019

ターミナルでやったならコマンド履歴が残っていると思うので、
最初からエラー出たところまでのスクショ貼ってほっしいです💡

またちょっと混乱してきました^-^
コマンド履歴は git log でしたよね🙇‍♀️?
現状、エラーの履歴の部分がなぜか出てこないので、
スクショ貼れず、ごめんなさい。。m(._.)m

もう少しやってみます^-^!

@riscait
Copy link
Contributor

riscait commented May 7, 2019

git logはコミットのログです!
ターミナルでどうコマンドを打った結果を見たいという意味です👌

Sent with GitHawk

@eyener3
Copy link
Contributor Author

eyener3 commented May 7, 2019

やってみました!m(._.)m💡
スクリーンショット 2019-05-08 01 39 36

@riscait
Copy link
Contributor

riscait commented May 7, 2019

1回目(上手くいったかもの時)の履歴ですか?
違うのであれば1回目も同じ内容が表示されつつCarthageフォルダが出来上がった?🤔

Xcodeではどんなエラーが出てるんですか?
そちらをみたいです👀

Sent with GitHawk

@eyener3
Copy link
Contributor Author

eyener3 commented May 8, 2019

違うのであれば1回目も同じ内容が表示されつつCarthageフォルダが出来上がった?🤔

↑こちらの通りですね^-^!

Xcodeのエラーはこちらです!
スクリーンショット 2019-05-08 14 14 44

うまく行ったかもの時に、
ずっと出ていたRealmのエラーは消えたのですが、
新しいエラーが出ました^-^。

@riscait
Copy link
Contributor

riscait commented May 8, 2019

エラーの内容は文面そのままなので分かりますね👍
できれば1回目のコマンド履歴が見たかったです👌

DerivedDataを削除してもう一度試してみてください!(ググると消し方は出てきます🙆‍♂️)

それでもダメならプロジェクト一度消して試してください👍←もう試しましたか?

Sent with GitHawk

@riscait
Copy link
Contributor

riscait commented May 8, 2019

あ、CartfileとCartfile.resolvedファイルを見たいです👍
もしこれらを上書きしていたら上手くいかないと思うので…

Sent with GitHawk

@eyener3
Copy link
Contributor Author

eyener3 commented May 8, 2019

エラーの内容は文面そのままなので分かりますね👍
できれば1回目のコマンド履歴が見たかったです👌

historyコマンドで見ることができるようでやってみましたが、
打ったコマンドしか出ませんでした。
スクリーンショット 2019-05-08 15 41 45

DerivedDataを削除してもう一度試してみてください!(ググると消し方は出てきます🙆‍♂️)
それでもダメならプロジェクト一度消して試してください👍←もう試しましたか?

やってみます^-^

CartfileとCartfile.resolvedファイルのスクショ貼ります
スクリーンショット 2019-05-08 15 36 15

@riscait
Copy link
Contributor

riscait commented May 8, 2019

このCartfileは問題ないみたいですね👌
とりあえず、Carthageのインストールやuodateコマンド、Cartfileの作成・編集は不要ですのでクローンし直した時はやらずに、bootatrapのみで大丈夫です🙆‍♂️

Sent with GitHawk

@eyener3
Copy link
Contributor Author

eyener3 commented May 8, 2019

ありがとうございますっ^○^!

@eyener3
Copy link
Contributor Author

eyener3 commented May 8, 2019

再クローンし直してみます!💡

@riscait
Copy link
Contributor

riscait commented May 8, 2019

僕もクローンしてやってみました!
違いがあれば、比べてみましょう👌
スクリーンショット 2019-05-08 21 51 45

@eyener3
Copy link
Contributor Author

eyener3 commented May 8, 2019

ありがとうございます(T ^ T)!!

@eyener3 eyener3 closed this as completed May 8, 2019
[あいなー]タスク進捗画面 automation moved this from ToDo to Done May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 新しい機能あるいはそのリクエストです
Development

No branches or pull requests

2 participants