-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
app_identifier "com.mapbox.maps.FlutterMapsExample" # The bundle identifier of your app | ||
itc_team_name "Mapbox, Inc." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
default_platform(:ios) | ||
|
||
ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1" | ||
ENV["SPACESHIP_SKIP_2FA_UPGRADE"] = "1" | ||
|
||
platform :ios do | ||
|
||
lane :update_code_signing do | ||
setup_circle_ci | ||
sync_code_signing(type: "development") | ||
end | ||
|
||
lane :build_examples_tests do | ||
setup_circle_ci | ||
sync_code_signing(type: "development") | ||
update_code_signing_settings( | ||
use_automatic_signing: false, | ||
path: "example/ios/Runner.xcodeproj", | ||
team_id: "GJZR2MEM28", # Developer Portal Team ID, | ||
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.maps.FlutterMapsExample"], | ||
targets: ["Runner"], | ||
code_sign_identity: "Apple Development: Machiney McMachineface", | ||
) | ||
update_code_signing_settings( | ||
use_automatic_signing: false, | ||
path: "example/ios/Runner.xcodeproj", | ||
team_id: "GJZR2MEM28", # Developer Portal Team ID, | ||
profile_name: lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]["com.mapbox.maps.FlutterRunnerTests"], | ||
targets: ["RunnerTests"], | ||
code_sign_identity: "Apple Development: Machiney McMachineface", | ||
) | ||
# build tests archive in the `output_directory` to launch on firebase | ||
run_tests( | ||
workspace: 'example/ios/Runner.xcworkspace', | ||
scheme: 'Runner', # XCTest scheme | ||
xcconfig: "example/ios/Flutter/Release.xcconfig", | ||
derived_data_path: "example/build/output", | ||
configuration: "Release", | ||
xcargs: "ENABLE_TESTABILITY=YES SWIFT_TREAT_WARNINGS_AS_ERRORS=NO COMPILER_INDEX_STORE_ENABLE=NO", | ||
skip_detect_devices: true, # Required | ||
build_for_testing: true, # Required | ||
sdk: 'iphoneos', # Required | ||
should_zip_build_products: true, # Must be true to set the correct format for Firebase Test Lab, | ||
result_bundle: true, | ||
output_directory: "example/build/output/", | ||
code_coverage: true | ||
) | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
git_url("[email protected]:mapbox/apple-certificates.git") | ||
type("development") # The default type, can be: appstore, adhoc, enterprise or development | ||
app_identifier(["com.mapbox.maps.FlutterMapsExample", "com.mapbox.maps.FlutterRunnerTests"]) | ||
username("[email protected]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" | ||
|
||
plugins_path = File.join(File.dirname(__FILE__), '.fastlane', 'Pluginfile') | ||
eval_gemfile(plugins_path) if File.exist?(plugins_path) |