Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcode 5.0.2 could not build module "Darwin"

I have bought a new mac mini 2012, and update os to 10.9.1. I downloaded xcode from app store with version 5.0.2


When i first creat a default iphone project and build it. it returns a failure "could not build module "Darwin"


User uploaded file


the solution of this error reported at link is not working for me.

I reinstall xcode. the error is still there.


here is my archtecure settings:

User uploaded file


Can somebody help me with that?

OS X Mavericks (10.9.1)

Posted on Feb 4, 2014 11:33 PM

Reply
Question marked as Best reply

Posted on Feb 17, 2014 10:26 PM

The real problem here is at Build settings in the session:


Apple LLVM 5.0 - language - Modules,


we should set Enable Modules (C and objective c) as NO


User uploaded file

6 replies

xcode 5.0.2 could not build module "Darwin"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.