2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Xcodeエラー】Missing Package Product ‘パッケージ名’【解決方法】

Posted at

とあるUdemyのSwift講座で「Chart」というライブラリを使うことになったのだが
「Cocoapods」だとエラーが起きて面倒だったので
「Swift Package Manager」でインストールすることにした。

その後に「Missing Package Product ‘パッケージ名’」と言った
エラーに遭遇した。

(自分の場合,
「Missing Package Product ‘ChartsDynamic’」
「Missing Package Product ‘Charts’」)

《GitHub リンク》
https://github.com/danielgindi/Charts

スクリーンショット 2023-05-18 23.41.35.png

【解決方法】

以下の参考記事の通りに

File → Packages → Reset Package Cachesをクリック

と進めたら解決できた。

《参考記事》 【Xcode/Swift】Missing Package Product ‘パッケージ名’の解決方法

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?