[ci-bitrise] Fix envs and versioning to match this project's actual config

agvtool doesn't apply here — no VERSIONING_SYSTEM set, CURRENT_PROJECT_VERSION
comes from Skip.env (shared with the Android side) via #include in
Darwin/PediFoods.xcconfig. Bump it there instead.

Dropped APPLE_ID, ITC_TEAM_ID and unused BITRISE_DISTRIBUTION_METHOD carried
over from LC Wallet's Fastfile/Appfile shape — none of them are read anywhere
in this project's Appfile or Fastfile.

Added the actual missing piece: DEVELOPMENT_TEAM, which both
Darwin/PediFoods.xcconfig and Darwin/fastlane/AppStore.xcconfig leave blank
on purpose for CI to fill in. Wired BITRISE_DISTRIBUTION_METHOD into
build_app's export_method so it stops being dead config.
This commit is contained in:
Daniel Arantes Loverde
2026-07-09 14:07:57 -03:00
parent 38e641a082
commit ffd7ca6125
2 changed files with 19 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ lane :assemble do |options|
build_app(
scheme: "PediFoods App",
sdk: "iphoneos",
export_method: ENV["BITRISE_DISTRIBUTION_METHOD"] || "app-store",
xcconfig: "fastlane/AppStore.xcconfig",
xcargs: "-skipPackagePluginValidation -skipMacroValidation",
derived_data_path: "../.build/Darwin/DerivedData",