mastodon-app-ufficiale-ipho.../README.md

63 lines
1.8 KiB
Markdown
Raw Normal View History

2021-01-22 07:27:37 +01:00
# Mastodon
## Requirements
2021-01-26 12:33:16 +01:00
- Xcode 12.4+
- Swift 5.3+
- iOS 14.0+
2021-01-22 07:27:37 +01:00
## Setup
2021-01-26 12:33:16 +01:00
We needs the latest version Xcode from App Store. And install Cocoapods for dependency management.
### CocoaPods
2021-01-22 07:27:37 +01:00
2021-01-26 12:33:16 +01:00
#### For the Intel Mac
```zsh
# install cocoapods from Homebrew
brew install cocoapods
pod install
```
2021-01-22 07:27:37 +01:00
2021-01-26 12:33:16 +01:00
#### For the M1 Mac
2021-01-22 07:27:37 +01:00
```zsh
2021-01-26 12:33:16 +01:00
# 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
2021-01-22 07:27:37 +01:00
sudo arch -x86_64 gem install ffi
2021-01-26 12:33:16 +01:00
arch -x86_64 pod install
2021-01-22 07:27:37 +01:00
```
2021-01-26 12:33:16 +01:00
## Start
1. Open `Mastodon.xcworkspace`
2. Wait the Swift Package Dependencies resolved.
2. Check the signing settings make sure choose a team. [More info…](https://help.apple.com/xcode/mac/current/#/dev23aab79b4)
3. Select `Mastodon` scheme and run it.
2021-01-22 07:27:37 +01:00
## Acknowledgements
2021-02-04 12:28:16 +01:00
- [ActiveLabel](https://github.com/TwidereProject/ActiveLabel.swift)
2021-01-22 07:27:37 +01:00
- [AlamofireImage](https://github.com/Alamofire/AlamofireImage)
- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator)
- [Alamofire](https://github.com/Alamofire/Alamofire)
- [CommonOSLog](https://github.com/mainasuk/CommonOSLog)
2021-04-25 06:48:29 +02:00
- [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift)
2021-01-22 07:27:37 +01:00
- [DateToolSwift](https://github.com/MatthewYork/DateTools)
- [Kanna](https://github.com/tid-kijyun/Kanna)
- [KeychainAccess](https://github.com/kishikawakatsumi/KeychainAccess.git)
2021-02-04 12:28:16 +01:00
- [Kingfisher](https://github.com/onevcat/Kingfisher)
2021-01-22 07:27:37 +01:00
- [SwiftGen](https://github.com/SwiftGen/SwiftGen)
- [SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON)
2021-03-11 08:41:27 +01:00
- [TwitterTextEditor](https://github.com/twitter/TwitterTextEditor)
2021-04-09 13:44:48 +02:00
- [TwitterProfile](https://github.com/OfTheWolf/TwitterProfile)
2021-03-18 10:33:07 +01:00
- [UITextView-Placeholder](https://github.com/devxoul/UITextView-Placeholder)
2021-01-22 07:27:37 +01:00
## License