RunnersHigh

環境構築

  1. HomeBrewなければ入れる
  2. BrewでRbEnvを入れる

brew install rbenv
  1. rbenvでrubyのversion2.7.1をインストール

rbenv install 2.7.1
  1. rbenvでrubyのversionを指定

rbenv local 2.7.1
  1. まだGemfileがなければ初期化して記入

rbenv exec bundle init

# frozen_string_literal: true

source "https://rubygems.org"
gem 'cocoapods' , '1.10.0'
gem 'fastlane'
  1. bundle install

rbenv exec bundle install --path bundle
  1. まだPodfileがなければ初期化して記入

rbenv exec bundle exec pod init

# Uncomment the next line to define a global platform for your project
platform :ios, '15.0'

# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

target 'RunnersHigh' do
  pod 'R.swift', '5.2.2'
  pod 'LicensePlist'

  # Pods for RunnersHigh

  target 'RunnersHighTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'RunnersHighUITests' do
    # Pods for testing
  end

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
    end
  end
end
  1. podをinstall

rbenv exec bundle exec pod install

GitHub

View Github