File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -294,8 +294,19 @@ def PostPackaged_UseLegencyXcodeProject(self):
294294 OneXcodeCommand = XcodeCommand ()
295295
296296 params = ParamsXcodebuild ()
297- name_workspace = uproject_name + "_IOS.xcworkspace"
298- params .workspace = path_project_root / name_workspace
297+
298+ # Legacy UE4 Workspace Logic
299+ # Try to find valid workspace in root first (UE4 convention)
300+ # Or Intermediate/ProjectFiles
301+
302+ name_workspace_root = uproject_name + ".xcworkspace"
303+ path_workspace_root = path_project_root / name_workspace_root
304+
305+ if path_workspace_root .exists ():
306+ params .workspace = path_workspace_root
307+ else :
308+ PrintLog (f"Cannot find workspace in root path { path_workspace_root } " )
309+
299310 params .scheme = uproject_name
300311
301312 ioscert_tag_name = self .Params ['ioscert' ]
You can’t perform that action at this time.
0 commit comments