LoginSignup
0
1

More than 1 year has passed since last update.

SwiftPM を用いたプロジェクトで出たエラー対処法

Posted at

エラー内容

SwiftPMを利用しているプロジェクトをcloneしてビルドした時に以下のエラーが出た。

the package at '/' cannot be accessed (Couldn’t read 'v10.28.6':

対処法

[AppName].xcworkspace/xcshareddata/swiftpm/Package.resolved に存在するPackage.resolvedを削除する。

削除後、再度ビルドしたらうまくいった。

なお、Finderで上記ファイルにアクセスする場合、[AppName].xcworkspaceを右クリックし、「パッケージの内容を表示」をクリックすればアクセスできます。

まとめ

その他、良い解決策があれば教えていただけるとありがたいです!

参考

0
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
0
1