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"

I can't create a C++ project on my OS X.

I want to create an project in c++ on My Mac OS X (1,6 GHz Intel Core i5/Intel HD Graphics 6000 1536 MB) but i always get this warning message: An error occurred while trying to generate project files.

Running Mono...

Setting up Mono /Users/Shared/UnrealEngine/4.12/Engine /Users/Shared/UnrealEngine/4.12/Engine/Binaries/Mac Discovering modules, targets and source code for project... Compiling with non-standard Xcode (xcode-select): /Library/Developer/CommandLineTools/ Triggered an exception while looking for SDK directory in Xcode.app System.IO.DirectoryNotFoundException: Directory '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in :0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in :0 at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in :0 at System.IO.Directory.GetDirectories (System.String path) [0x00000] in :0 at UnrealBuildTool.AppleToolChain.SelectSDK (System.String BaseSDKDir, System.String OSPrefix, System.String& PlatformSDKVersion, Boolean bVerbose) [0x00000] in :0 ERROR: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs

What is the problem? I have Visual Studio Code installed with the c/c++ plugin and it also installed some packages called "mono". Please Help!

Product Version: UE 4.12
more ▼

asked Aug 16 '16 at 11:12 AM in Using UE4

avatar image

11 1 1 2

avatar image haroldsx450 Oct 05 '16 at 07:25 AM

Im having the same issue, its only been since I upgraded to sierra and Xcode8 so I think its an apple thing not UE4

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

2 answers: sort voted first

Probably you had another version of "cli-xcode". For example, if you try some developer stuff like homebrew or just "xcode-select --install" ,which installs little bit different SDK (more regular for compile command line apps).

Anyway try to install official Xcode first and run this command in terminal after: $sudo xcode-select -r

Let me know if it helps

more ▼

answered Jan 19 '17 at 06:26 AM

avatar image

Pirate Tony
138 5 11 18

avatar image Jessixian May 28 '17 at 11:32 PM

Can confirm that the sudo xcode-select -r was what fixed it for me.

avatar image mabrumgames Jul 27 '18 at 04:58 PM

yeah thank you very much it works with sudo xcode-select --reset

avatar image sakyaer Aug 29 '18 at 06:36 PM

ThankU, It work for me

avatar image 西电小白 Oct 30 '18 at 03:14 AM

That U, It work for me too.

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

Do you have XCode instalied? It looks like it can't find the sdk directory for it.

more ▼

answered Aug 16 '16 at 03:22 PM

avatar image

1.1k 31 8 40

avatar image Pethymos Aug 17 '16 at 11:32 AM

Thanks, just noticed myself. Didn't realize that Apple runs different.

(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