LoginSignup
1
0

More than 5 years have passed since last update.

iOSメモ①

Posted at

iOSプロジェクトを作って、初めてやること

Cocoapod入れる

touch /path/to/project/Podfile

中身の補充

source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!
use_frameworks!
platform :ios, '11.0'

PROJECT_NAME    = '<project name>'

def base_pods
    pod 'Alamofire'
    pod 'XCGLogger', '~> 6.0.2'
end

def view_pods
end

target PROJECT_NAME do
    base_pods
    view_pods
end
pod install

これで、workspaceが生成される

xcodeでbuildすれば、R.generated.swiftが生成される
(R.swift使う前提なので)

image.png

enjoy development!

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