3
2

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 3 years have passed since last update.

[Swift] 複数の ビルドTARGET へ Swift Package Manager でライブラリを入れる

Last updated at Posted at 2021-10-08

[Swift] Swift Package Managerでライブラリを入れる

複数のビルドTARGETにライブラリを入れる際のメモ

1、swift packagesからライブラリを入れる。

iOSアプリ開発にSwift Package Managerを使おう

今回はQGridをプロジェクトへ導入する。

(1) File → Swift packages → add package dependency
(2) プロジェクトへ導入したいライブラリのgit url (https://github.com/Q-Mobile/QGrid) を入れる

スクリーンショット 2021-10-08 22.26.06.png

この時点では、ビルドtargetを一つしか選択できない。

2、他のビルドTARGETにも入れる

スクリーンショット 2021-10-08 22.26.56.png

スクリーンショット 2021-10-08 22.27.33.png

addで導入完了

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?