Add Fastlane
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
|
||||
# apple_id("[[APPLE_ID]]") # Your Apple email address
|
||||
|
||||
|
||||
# For more information about the Appfile, see:
|
||||
# https://docs.fastlane.tools/advanced/#appfile
|
||||
@@ -0,0 +1,131 @@
|
||||
# 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)
|
||||
|
||||
before_each do |_lane, _options|
|
||||
ENV['USER_NAME'] = 'mlch911@icloud.com'
|
||||
ENV['BUNDLE_ID'] = 'tech.mluoc.hyzpYbqx'
|
||||
ENV['TEAM_ID'] = '124688302'
|
||||
ENV['WORKSPACE'] = 'Runner.xcworkspace'
|
||||
ENV['SCHEME'] = 'Runner'
|
||||
ENV['']
|
||||
end
|
||||
|
||||
platform :ios do
|
||||
lane :release do
|
||||
bump_build()
|
||||
build_ios_app(
|
||||
workspace: ENV['WORKSPACE'],
|
||||
configuration: 'Release',
|
||||
scheme: ENV['SCHEME'],
|
||||
clean: true,
|
||||
xcargs: '-allowProvisioningUpdates',
|
||||
include_symbols: true
|
||||
)
|
||||
deliver(
|
||||
api_key: {
|
||||
'key_id': 'NFBM52M2PY',
|
||||
'issuer_id': '22e070fb-ba6d-4f93-bf6f-1a6415f583fe',
|
||||
'key': '''-----BEGIN PRIVATE KEY-----
|
||||
MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgD1Oi0HNrBDYZnpyB
|
||||
FZkitTAPPYyVUNMd6PVTXKn1LJWgCgYIKoZIzj0DAQehRANCAAQ8z07wnl2HAwew
|
||||
BWQsPHV/39P60ym+gN1u9SbD103BuiDhUaym1EAHFjFsNxaAD40SlpLaQBI+N+w2
|
||||
xeCPq6ef
|
||||
-----END PRIVATE KEY-----
|
||||
''',
|
||||
'duration': 1200,
|
||||
'in_house': false
|
||||
},
|
||||
ipa: lane_context[:IPA_OUTPUT_PATH],
|
||||
username: ENV['USER_NAME'],
|
||||
team_id: ENV['TEAM_ID'],
|
||||
app_identifier: ENV['BUNDLE_ID'],
|
||||
submit_for_review: true,
|
||||
automatic_release: true,
|
||||
phased_release: false,
|
||||
force: true, # Skip HTMl report verification
|
||||
skip_metadata: false,
|
||||
skip_screenshots: false,
|
||||
overwrite_screenshots: true,
|
||||
skip_binary_upload: false,
|
||||
precheck_include_in_app_purchases: false,
|
||||
submission_information: { add_id_info_uses_idfa: false, export_compliance_uses_encryption: false }
|
||||
)
|
||||
end
|
||||
|
||||
lane :bump_version do
|
||||
ensure_git_status_clean
|
||||
|
||||
increment_version_number_in_plist(
|
||||
bump_type: 'patch',
|
||||
target: lane_context[:TARGET_NAME]
|
||||
)
|
||||
increment_version_number_in_plist(
|
||||
bump_type: 'patch',
|
||||
target: lane_context[:WIDGET_TARGET_NAME]
|
||||
)
|
||||
info_plist_path = get_info_plist_path(scheme: lane_context[:SCHEME])
|
||||
widget_info_plist_path = get_info_plist_path(scheme: lane_context[:WIDGET_SCHEME])
|
||||
git_commit(
|
||||
path: [info_plist_path, widget_info_plist_path],
|
||||
message: 'Bump to next version',
|
||||
skip_git_hooks: true
|
||||
)
|
||||
end
|
||||
|
||||
private_lane :bump_build do
|
||||
increment_build_number_in_plist(scheme: lane_context[:SCHEME])
|
||||
increment_build_number_in_plist(scheme: lane_context[:WIDGET_SCHEME])
|
||||
|
||||
info_plist_path = get_info_plist_path(scheme: lane_context[:SCHEME])
|
||||
widget_info_plist_path = get_info_plist_path(scheme: lane_context[:WIDGET_SCHEME])
|
||||
git_commit(
|
||||
path: [info_plist_path, widget_info_plist_path],
|
||||
message: 'Increase Build Number',
|
||||
skip_git_hooks: true
|
||||
)
|
||||
|
||||
add_git_tag(tag: tag_string)
|
||||
end
|
||||
|
||||
private_lane :tag_string do
|
||||
unless lane_context[:TAG_STRING]
|
||||
tag = "#{version_string}.#{build_string}"
|
||||
lane_context[:TAG_STRING] = tag
|
||||
end
|
||||
lane_context[:TAG_STRING]
|
||||
end
|
||||
|
||||
private_lane :version_build_string do
|
||||
"#{version_string}.#{build_string}"
|
||||
end
|
||||
|
||||
private_lane :version_string do
|
||||
unless lane_context[:VERSION_STRING]
|
||||
version = get_version_number_from_plist(target: lane_context[:TARGET_NAME])
|
||||
lane_context[:VERSION_STRING] = version
|
||||
end
|
||||
lane_context[:VERSION_STRING]
|
||||
end
|
||||
|
||||
private_lane :build_string do
|
||||
unless lane_context[:BUILD_STRING]
|
||||
build = get_build_number_from_plist(target: lane_context[:TARGET_NAME])
|
||||
lane_context[:BUILD_STRING] = build
|
||||
end
|
||||
lane_context[:BUILD_STRING]
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
# Autogenerated by fastlane
|
||||
#
|
||||
# Ensure this file is checked in to source control!
|
||||
|
||||
gem 'fastlane-plugin-versioning'
|
||||
@@ -0,0 +1,40 @@
|
||||
fastlane documentation
|
||||
----
|
||||
|
||||
# Installation
|
||||
|
||||
Make sure you have the latest version of the Xcode command line tools installed:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
|
||||
|
||||
# Available Actions
|
||||
|
||||
## iOS
|
||||
|
||||
### ios release
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios release
|
||||
```
|
||||
|
||||
|
||||
|
||||
### ios bump_version
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios bump_version
|
||||
```
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
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).
|
||||
@@ -0,0 +1 @@
|
||||
四川省踏石科技有限公司 版权所有
|
||||
@@ -0,0 +1 @@
|
||||
UTILITIES
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
apptest
|
||||
@@ -0,0 +1 @@
|
||||
apptest
|
||||
@@ -0,0 +1 @@
|
||||
mlch911@icloud.com
|
||||
@@ -0,0 +1 @@
|
||||
闵
|
||||
@@ -0,0 +1 @@
|
||||
罗琛
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
+8618361275778
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
该App主要用于管理人员的移动办公,通过与管理平台共享数据库,实现:人工审核、推送交警、账户管理、信息查询、数据统计、点位电子地图、设备控制(如摄像头控制、LED设置等)、状态显示、报警展示等功能。
|
||||
@@ -0,0 +1 @@
|
||||
黑烟车抓拍系统
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
黑烟车抓拍系统
|
||||
@@ -0,0 +1 @@
|
||||
http://www.sctastech.com/
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
http://www.sctastech.com/
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuites>
|
||||
<testsuite name="fastlane.lanes">
|
||||
|
||||
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000189">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="1: Switch to ios bump_build lane" time="7.1e-05">
|
||||
|
||||
</testcase>
|
||||
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.4 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 764 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 558 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 399 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 206 KiB |
Reference in New Issue
Block a user