1.8 KiB
1.8 KiB
Mastodon
Requirements
- Xcode 12.4+
- Swift 5.3+
- iOS 14.0+
Setup
We needs the latest version Xcode from App Store. And install Cocoapods for dependency management.
CocoaPods
For the Intel Mac
# install cocoapods from Homebrew
brew install cocoapods
pod install
For the M1 Mac
# install cocoapods from Homebrew
brew install cocoapods
# pod install may not works on M1 Mac. Fix by install ffi
# ref: https://github.com/CocoaPods/CocoaPods/issues/10220
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
Start
- Open
Mastodon.xcworkspace
- Wait the Swift Package Dependencies resolved.
- Check the signing settings make sure choose a team. More info…
- Select
Mastodon
scheme and run it.
Acknowledgements
- ActiveLabel
- AlamofireImage
- AlamofireNetworkActivityIndicator
- Alamofire
- CommonOSLog
- CryptoSwift
- DateToolSwift
- Kanna
- KeychainAccess
- Kingfisher
- SwiftGen
- SwiftyJSON
- TwitterTextEditor
- TwitterProfile
- UITextView-Placeholder