* Go to http://gitlab.faifly.com/ and select your project.
* Click "Setup CI" button.
* Copy-paste the following code:
```stages:
```
stages:
- diawi
diawi_build:
...
...
@@ -48,9 +50,43 @@ diawi_build:
* Find `Code Signing Identity` Field and select `iOS Distribution` for your distribution configuration.
* Make sure `Development Team` is correctly selected for your distribution configuration.
* Go to https://developer.apple.com/ and generate AdHoc provisioning profiles for your project and make sure you have a correct signing identity to use them.
*
**3. Setup fastlane for the project.**
**5. Setup fastlane for the project.**
* Run`fastlane init` and follow the instructions.
*
\ No newline at end of file
* Open `Fastfile` for editing and copy-paste the following code: