Skip to content

Commit

Permalink
[Platform IOS] convert app to ipa
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterPu committed Dec 9, 2024
1 parent b180a86 commit ecd237b
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions Platform/IOS.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,26 @@ def PostPackaged(self):
PrintStageLog("PostPackaged - IOS")

path_final_product = UBSHelper.Get().GetPath_FinalProduct(self.GetTargetPlatform(),bInBinaries= False)
self.SetArchivePath_FinalProduct(path_final_product)

self.PostPackaged_DoXcodeBuild()

path_final_product = UBSHelper.Get().GetPath_FinalProduct(self.GetTargetPlatform(),bInBinaries=True)

## Convert App To IPA
bUseMordenXcodeProject = UBSHelper.Get().DoesUseModernXcodeProject()
if bUseMordenXcodeProject:
path_app = Path(path_final_product).with_suffix('.app')
UnrealProjectManager.ConvertMacAppToIPA(path_app)


self.SetArchivePath_FinalProduct(path_final_product)

bHasPostXcodeBuildAdded = ABSHelper.Get().HasPostXcodeBuildAdded()

if bHasPostXcodeBuildAdded:

self.PostPackaged_DoXcodeBuild()

path_final_product = UBSHelper.Get().GetPath_FinalProduct(self.GetTargetPlatform(),bInBinaries=True)
self.SetArchivePath_FinalProduct(path_final_product)


bshould_gen_with_all_ios_certs = UBSHelper.Get().ShouldPackageWithAllIOSCerts()

Expand Down

0 comments on commit ecd237b

Please sign in to comment.