0
0

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

Xcode ver 9 にFSCalendarを使用するための準備

Posted at

MacOS High Sierra にインストール
$ sudo gem install cocoapods

私の場合は、Xcode Command Line Tool がインストールしていないので、これもインストールされた。
CocoaPodsのVersionは、1.5.3

$ pod setup を実行する。

Xcodeで最初にProjectを作成しておく。

そして、ターミナルから

$ pod init を実行して

実行後、ディレクトリ内にPodfileが作成されれば成功です。

Podfile をnanoコマンドで編集します。

pod 'FSCalendar'
pod 'CalculateCalendarLogic'

// 以下、Cocoapod ver 1.5.0のバク対応のコード
    post_install do |installer|
     installer.pods_project.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
    end
    end

編集後、以下のコマンドでインストールをする。

$ pod install

これで完了です。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?