setupFastlane method

void setupFastlane(
  1. String bundleId,
  2. Map appstoreDeployment
)

Implementation

void setupFastlane(String bundleId, Map appstoreDeployment) {
  final path = join(current, 'ios', 'fastlane', 'Appfile');
  path.write(
      '''app_identifier("$bundleId") # The bundle identifier of your app
apple_id("${appstoreDeployment['email_identity']}") # Your Apple email address

itc_team_id("${appstoreDeployment['itc_team_id']}") # App Store Connect Team ID
team_id("${appstoreDeployment['team_id']}") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile''');

  StatusHelper.generated(path);
}