Add Carthage wrapper to circumvent issues with Xcode 12

Carthage is currently not working with Xcode 12. As a workaround a wrapper script has been proposed (see https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5). Until the issue is fixed and Carthage can built again with Xcode 12, the wrapper must be used instead of the direct `carthage` command.
This commit is contained in:
Danny Moesch 2020-09-19 15:30:29 +02:00 committed by Mingshen Sun
parent 293df9ea6e
commit cfd74c773d
4 changed files with 23 additions and 5 deletions

View file

@ -47,10 +47,10 @@ For more, please read the [wiki page](https://github.com/mssun/passforios/wiki).
## Building Pass for iOS
1. Install libtool, automake, cmake, carthage, cocoapods, and go: `brew install libtool automake cmake carthage cocoapods go`.
2. Run carthage bootstrap in the project root directory: `carthage update ` then `carthage bootstrap --platform iOS` (this may take some time).
2. Install dependencies via Carthage in the project root directory: `./wcarthage update` then `./wcarthage bootstrap --platform iOS`. This may take some time.
3. Run `./gopenpgp_build.sh` to build go dependencies.
4. Run pod install in the project root directory: `pod install`.
5. Open `pass.xcworkspace` file in Xcode.
4. Install dependencies via CocoaPods in the project root directory: `pod install`.
5. Open the `pass.xcworkspace` file in Xcode.
6. Build & Run.
## License