Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Generating Xcode project wrongly with source build engine on Mac

Hi guys,

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:

alt text

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:

alt text

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!

Product Version: Not Selected
qq20140805-1.png (42.3 kB)
qq20140805-2.png (38.6 kB)
more ▼

asked Aug 05 '14 at 12:18 PM in Installation & Setup

avatar image

16 3 6 6

avatar image ZeroEightSix STAFF Aug 05 '14 at 04:04 PM

Could you please paste the output from the terminal window that shows when you generate the Xcode project? Thanks!

avatar image pianpian Aug 06 '14 at 01:56 PM


alt text

qq20140806-2.png (71.2 kB)
avatar image ZeroEightSix STAFF Aug 06 '14 at 02:27 PM

It certainly seems that you're doing everything correctly, so this may be some bug in our project generator that we're not aware of. Let me check a few things and get back to you soon.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Aug 06 '14 at 05:33 PM

avatar image

ZeroEightSix STAFF
2.1k 18 6 36

avatar image pianpian Aug 07 '14 at 12:51 AM

That works. Thanks, Michael.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question