Generating Xcode project wrongly with source build engine on Mac
I have a binary build engine and a source build engine. Both are 4.3.1 version. I want to switch unreal engine version of a project from binary build to source build. After switching, I click the "Generate Xcode Project", but the generated Xcode project doesn't seem correctly. The "Source" folder in Xcode doesn't cover all engine sources, like pictures below:
Even if the project is created from the source build editor (right now the Xcode project is correctly with full engine source code), after I click the "Generate Xcode Project" from the context menu of .uproject file, the Xcode project is changed to the wrong one.
When I click the "Refresh Xcode Project" button in the editor, it will generate the correct Xcode project, like the one below:
I'd like to know what's going on here, and how to generate correct Xcode project If I want to use the "Generate Xcode Project" in context menu of .uproject file. Thank you!
asked Aug 05 '14 at 12:18 PM in Installation & Setup
It looks like it's a bug :( Command line params used to generate the project have changed recently and Mac services app (which provides right-click menu options for .uproject file) was not updated to reflect that :(
To be precise, when it's executing GenerateProjectFile.sh script, it misses -engine param. I'll make sure that's fixed soon, but for now you can work around this problem by editing your GenerateProjectFiles.sh script in /Users/shenqian/UnrealEngine/Engine/Build/BatchFiles/Mac and add -engine to its last line:
mono ../../../Binaries/DotNET/UnrealBuildTool.exe -XcodeProjectFile "$@" -engine
Apologies for inconvenience.
answered Aug 06 '14 at 05:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here