ci(INJI-564): fix bundle id and path error (#1076)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
This commit is contained in:
adityankannan-tw
2023-12-08 14:36:27 +05:30
committed by GitHub
parent b1de7cebf0
commit 8434eff87c
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ def generate_app_bundle_id()
flavor = APP_FLAVOR
case flavor
when "residentapp"
return "io.mosip.resident"
return "io.mosip.residentapp"
when "inji"
return "io.mosip.inji"
when "collab"

View File

@@ -126,11 +126,11 @@ platform :ios do
)
# replace bundle ID
s = "s/mobileid/#{map_flavour_tosuffix}/g"
sh("sed -i '' -e #{s} ios/Inji.xcodeproj/project.pbxproj")
sh("sed -i '' -e #{s} Inji.xcodeproj/project.pbxproj")
# replace Product name
p = "s|PRODUCT_NAME = Inji|PRODUCT_NAME = \"#{generate_app_name}\"|"
sh ("sed -i '' -e #{p} ios/Inji.xcodeproj/project.pbxproj")
sh ("sed -i '' -e #{p} Inji.xcodeproj/project.pbxproj")
# update app display name
update_info_plist(