RunnersHigh
環境構築
- HomeBrewなければ入れる
- BrewでRbEnvを入れる
brew install rbenv
- rbenvでrubyのversion2.7.1をインストール
rbenv install 2.7.1
- rbenvでrubyのversionを指定
rbenv local 2.7.1
- まだGemfileがなければ初期化して記入
rbenv exec bundle init
# frozen_string_literal: true
source "https://rubygems.org"
gem 'cocoapods' , '1.10.0'
gem 'fastlane'
- bundle install
rbenv exec bundle install --path bundle
- まだ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
- podをinstall
rbenv exec bundle exec pod install