やりたいこと
開発中のアプリにおいて、以下のライブラリを使用して、グリッドビューを作りたいです。
https://github.com/kishikawakatsumi/SpreadsheetView
現在の状況
外部ライブラリを使うのが初めてのため、まずはライブラリの使用方法を覚えようということで、
開発中のアプリとは別に、サンプルプロジェクトの動きを確認しようとしています。
今までにやったこと
- 以下、サイトを参考に、CocoaPodsをインストールしました。
https://codezine.jp/article/detail/10677
-
GitからSpreadsheetViewのソースを落としてきました。
-
2のソースの中にある、Examples > TimeTableのフォルダをコピペして新しいフォルダを作りました。
- 以下のサイト通り、3のフォルダでPodFileの作成とライブラリ(SpreadsheetView)のインストールを行いました。
https://codezine.jp/article/detail/10677
↓podインストール後
-
Timetable.xcworkspaceをXcodeで開き、コンパイルしました。
-
以下のようなエラーが発生し、シミュレータを起動できませんでした。
XCp /Users/ユーザー名称/Library/Developer/Xcode/DerivedData/Timetable-ddxcalcxjohzwkdwpmkxmsqtydsx/Build/Products/Debug-iphonesimulator/SpreadsheetView.framework /Users/ユーザー名称/Library/Developer/Xcode/DerivedData/Timetable-ddxcalcxjohzwkdwpmkxmsqtydsx/Build/Products/Debug-iphonesimulator/Timetable.app/Frameworks/SpreadsheetView.framework
cd /Users/ユーザー名称/Desktop/Timetable
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -resolve-src-symlinks /Users/ユーザー名称/Library/Developer/Xcode/DerivedData/Timetable-ddxcalcxjohzwkdwpmkxmsqtydsx/Build/Products/Debug-iphonesimulator/SpreadsheetView.framework /Users/ユーザー名称/Library/Developer/Xcode/DerivedData/Timetable-ddxcalcxjohzwkdwpmkxmsqtydsx/Build/Products/Debug-iphonesimulator/Timetable.app/Frameworkserror: /Users/ユーザー名称/Library/Developer/Xcode/DerivedData/Timetable-ddxcalcxjohzwkdwpmkxmsqtydsx/Build/Products/Debug-iphonesimulator/SpreadsheetView.framework: No such file or directory
想定していた動作
ちゃんとコンパイルが行われ、サンプルプロジェクトのTimeTableの動作が確認できる。
実際の動作
コンパイルが失敗し、動作確認が行えない。
質問内容
エラー内容に、「No such file or directory」とあるのですが、
外部ライブラリを使うには、何かファイルやフォルダを新規作成する必要があるのでしょうか。
また、外部ライブラリ使用の手順は、上記「今までにやったこと」に記載の内容で間違い無いでしょうか。
回答1件
あなたの回答
tips
プレビュー