feat: Add fastlane for iOS

This commit is contained in:
Christian Pauly 2021-06-19 17:22:00 +02:00
commit e3c9e595ed
11 changed files with 317 additions and 14 deletions

8
ios/fastlane/Appfile Normal file
View file

@ -0,0 +1,8 @@
app_identifier("im.fluffychat.app") # The bundle identifier of your app
apple_id("christian.pauly@wtal.de") # Your Apple email address
itc_team_id("122628977") # App Store Connect Team ID
team_id("4NXF6Z997G") # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile

25
ios/fastlane/Fastfile Normal file
View file

@ -0,0 +1,25 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "Runner.xcodeproj")
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
upload_to_testflight
end
end

29
ios/fastlane/README.md Normal file
View file

@ -0,0 +1,29 @@
fastlane documentation
================
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```
xcode-select --install
```
Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew install fastlane`
# Available Actions
## iOS
### ios beta
```
fastlane ios beta
```
Push a new beta build to TestFlight
----
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

28
ios/fastlane/report.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000641">
</testcase>
<testcase classname="fastlane.lanes" name="1: increment_build_number" time="2.088475">
</testcase>
<testcase classname="fastlane.lanes" name="2: build_app" time="630.512924">
</testcase>
<testcase classname="fastlane.lanes" name="3: upload_to_testflight" time="1426.146813">
</testcase>
</testsuite>
</testsuites>