cocaposd setup and install for ios project
Pub Date: 2023-07-23
setup cocoapods for ios project and install packages
install cocoapods
sudo gem update --system
sudo gem install ffi
sudo gem install -n /usr/local/bin cocoapods -v 1.7.0
sudo gem install activesupport -v 6.1.7.3
add packages
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
pod 'SDWebImage', '~> 5.17.0'
install packages
pod install
common used packages
https://gitlink.org.cn/dnrops/SDWebImageSwiftUI.git
https://gitlink.org.cn/dnrops/swiftui-gif.git
https://gitcode.net/dnrops/Refresh.git
https://gitlink.org.cn/dnrops/realm-swift.git
install Simulator for Xcode
sudo xcode-select -s /Applications/Xcode-beta.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add "/Users/ryanandrew/Downloads/iOS_17_beta_5_Simulator_Runtime.dmg"