mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Install guide: Remove MatrixKit references.
This commit is contained in:
27
INSTALL.md
27
INSTALL.md
@@ -44,35 +44,35 @@ $ gem install bundler
|
||||
|
||||
## Choose Matrix SDKs version to build
|
||||
|
||||
To choose the [MatrixKit](https://github.com/matrix-org/matrix-ios-kit) version (and depending MatrixSDK and OLMKit) you want to develop and build against you will have to modify the right definitions of `$matrixKitVersion` variable in the `Podfile`.
|
||||
To choose the [MatrixSDK](https://github.com/matrix-org/matrix-ios-sdk) version (and depending OLMKit) you want to develop and build against you will have to modify the right definitions of `$matrixSDKVersion` variable in the `Podfile`.
|
||||
|
||||
### Determine your needs
|
||||
|
||||
To select which `$matrixKitVersion` value to use you have to determine your needs:
|
||||
To select which `$matrixSDKVersion` value to use you have to determine your needs:
|
||||
|
||||
- **Build an App Store release version**
|
||||
|
||||
To build the last published App Store code you just need to checkout master branch. If you want to build an older App Store version just checkout the tag of the corresponding version. You have nothing to modify in the `Podfile`. In this case `$matrixKitVersion` will be set to a specific version of the MatrixKit already published on CocoaPods repository.
|
||||
To build the last published App Store code you just need to checkout master branch. If you want to build an older App Store version just checkout the tag of the corresponding version. You have nothing to modify in the `Podfile`. In this case `$matrixSDKVersion` will be set to a specific version of the MatrixSDK already published on CocoaPods repository.
|
||||
|
||||
- **Build last development code and modify Element project only**
|
||||
|
||||
If you want to build last development code you have to checkout the develop branch and use `$matrixKitVersion = {'develop' => 'develop'}` in the `Podfile`. This will also use MatrixKit and MatrixSDK develop branches.
|
||||
If you want to build last development code you have to checkout the `develop` branch and use `$matrixSDKVersion = {:branch => 'develop'}` in the `Podfile`. This will also use MatrixSDK develop branche.
|
||||
|
||||
- **Build specific branch of Kit and SDK and modify Element project only**
|
||||
- **Build specific branch of SDK and modify Element project only**
|
||||
|
||||
If you want to build a specific branch for the MatrixKit and the MatrixSDK you have to indicate them using a dictionary like this: `$matrixKitVersion = {'kit_branch_name' => 'sdk_branch_name'}`.
|
||||
If you want to build a specific branch for the MatrixSDK you have to indicate it using a dictionary like this: `$matrixSDKVersion = {:branch => 'sdk_branch_name'}`.
|
||||
|
||||
- **Build any branch and be able to modify MatrixKit and MatrixSDK locally**
|
||||
- **Build any branch and be able to modify MatrixSDK locally**
|
||||
|
||||
If you want to modify MatrixKit and/or MatrixSDK locally and see the result in Element project you have to uncommment `$matrixKitVersion = :local` in the `Podfile`.
|
||||
But before you have to checkout [MatrixKit](https://github.com/matrix-org/matrix-ios-kit) repository in `../matrix-ios-kit` and [MatrixSDK](https://github.com/matrix-org/matrix-ios-sdk) in `../matrix-ios-sdk` locally relatively to your Element iOS project folder.
|
||||
Be sure to use compatible branches for Element iOS, MatrixKit and MatrixSDK. For example, if you want to modify Element iOS from develop branch, use MatrixKit and MatrixSDK develop branches and then make your modifications.
|
||||
If you want to modify MatrixSDK locally and see the result in Element project you have to uncommment `$matrixSDKVersion = :local` in the `Podfile`.
|
||||
But before you have to checkout [MatrixSDK](https://github.com/matrix-org/matrix-ios-sdk) in `../matrix-ios-sdk` locally relatively to your Element iOS project folder.
|
||||
Be sure to use compatible branches for Element iOS and MatrixSDK. For example, if you want to modify Element iOS from develop branch, use MatrixSDK develop branche and then make your modifications.
|
||||
|
||||
**Important**: By working with [XcodeGen](https://github.com/yonaskolb/XcodeGen) you will need to use the _New Build System_ in Xcode, to have your some of the xcconfig variables taken into account. It should be enabled by default on the latest Xcode versions, but if you need to enable it go to Xcode menu and select `File > Workspace Settings… > Build System` and then choose `New Build System`.
|
||||
|
||||
### `$matrixKitVersion` Modification
|
||||
### `$matrixSDKVersion` Modification
|
||||
|
||||
Every time you change the `$matrixKitVersion` variable in the `Podfile`, you have to run the `pod install` command again.
|
||||
Every time you change the `$matrixSDKVersion` variable in the `Podfile`, you have to run the `pod install` command again.
|
||||
|
||||
|
||||
## Build
|
||||
@@ -110,8 +110,7 @@ Or if you prefer to use directly CocoaPods:
|
||||
$ pod install
|
||||
```
|
||||
|
||||
This will load all dependencies for the Element source code, including [MatrixKit](https://github.com/matrix-org/matrix-ios-kit)
|
||||
and [MatrixSDK](https://github.com/matrix-org/matrix-ios-sdk).
|
||||
This will load all dependencies for the Element source code, including [MatrixSDK](https://github.com/matrix-org/matrix-ios-sdk).
|
||||
|
||||
|
||||
### Open workspace
|
||||
|
||||
Reference in New Issue
Block a user