Skip to content

Commit

Permalink
Merge pull request #51873 from Expensify/andrew-app-file
Browse files Browse the repository at this point in the history
[No QA]Use explicit `app_identifier` to prevent build errors
  • Loading branch information
AndrewGable authored Nov 1, 2024
2 parents fa5007e + 423bce2 commit 2bde8f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions fastlane/Appfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@
apple_id("[email protected]")
itc_team_id("152696")
team_id("368M544MTT")

for_lane :build_hybrid, :build_unsigned_hybrid, :upload_testflight_hybrid do
# For HybridApp build tasks, use the OldApp bundle identifier
app_identifier("com.expensify.expensifylite")
else
app_identifier("com.expensify.expensify")
end
10 changes: 9 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ platform :ios do
)

build_app(
app_identifier: "com.chat.expensify.chat",
workspace: "./ios/NewExpensify.xcworkspace",
scheme: "New Expensify",
output_name: "New Expensify.ipa",
Expand Down Expand Up @@ -304,6 +305,7 @@ platform :ios do
)

build_app(
app_identifier: "com.expensify.expensifylite",
workspace: "../iOS/Expensify.xcworkspace",
scheme: "Expensify",
output_name: "Expensify.ipa",
Expand All @@ -324,6 +326,7 @@ platform :ios do
lane :build_unsigned do
ENV["ENVFILE"]=".env.production"
build_app(
app_identifier: "com.chat.expensify.chat",
workspace: "./ios/NewExpensify.xcworkspace",
scheme: "New Expensify"
)
Expand All @@ -334,6 +337,7 @@ platform :ios do
lane :build_unsigned_hybrid do
ENV["ENVFILE"]="../Mobile-Expensify/.env.production.hybridapp"
build_app(
app_identifier: "com.expensify.expensifylite",
workspace: "../Mobile-Expensify/iOS/Expensify.xcworkspace",
scheme: "Expensify"
)
Expand All @@ -355,6 +359,7 @@ platform :ios do
)

build_app(
app_identifier: "com.chat.expensify.chat",
workspace: "./ios/NewExpensify.xcworkspace",
skip_profile_detection: true,
scheme: "New Expensify AdHoc",
Expand Down Expand Up @@ -388,6 +393,7 @@ platform :ios do
desc "Upload app to TestFlight"
lane :upload_testflight do
upload_to_testflight(
app_identifier: "com.chat.expensify.chat",
api_key_path: "./ios/ios-fastlane-json-key.json",
distribute_external: true,
notify_external_testers: true,
Expand Down Expand Up @@ -421,6 +427,7 @@ platform :ios do
desc "Upload HybridApp to TestFlight"
lane :upload_testflight_hybrid do
upload_to_testflight(
app_identifier: "com.expensify.expensifylite",
api_key_path: "./ios/ios-fastlane-json-key.json",
distribute_external: true,
notify_external_testers: true,
Expand Down Expand Up @@ -452,9 +459,10 @@ platform :ios do
)
end

desc "Submit app to App Store Review"
desc "Submit app for production App Store Review"
lane :submit_for_review do
deliver(
app_identifier: "com.chat.expensify.chat",
api_key_path: "./ios/ios-fastlane-json-key.json",

# Skip HTMl report verification
Expand Down

0 comments on commit 2bde8f2

Please sign in to comment.