Step1. インストール
- 印刷する
Step1. インストール
- 印刷する
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
次のいずれかの方法を選択して Shoplive iOS SDK
をインストールします。
重複してインストールしないでください。
Shoplive iOS SDK
は、Swift Package Manager
、またはCocoaPods
どちらかの方法でインストールする必要があります。
方法1 : CocoaPodsを使用してインストールする
CocoaPods
を設定します。
現在使用している
Podfile
に、以下の行を追加します。
CocoaPods
をインストールします。
Apple M1 で機能しない場合は、次のコマンドを実行します。
インストールが完了したら、
Project
-Finder
によって生成されたファイルを確認します。
xcworkspace
ファイルを開いてProject
を確認します。
方法2 : Swift Package Managerを使用してインストールする
Xcode
プロジェクト内のProjectPackage Dependencies
タブを開きます。
Package Dependencies
に、以下を追加してください。https://github.com/shoplive/ios-sdk
https://github.com/shoplive/common-ios
インストールに失敗した場合は、キャッシュをクリアしてください。
Shoplive iOS SDKパッケージ
を 適用する対象を選択します。
Package Dependencies
にShoplive iOS SDK
がインストールされていることを確認してください。