Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode not compiling a .c file?




On Nov 9, 2005, at 9:06 AM, Ben Kazez wrote:

This question is so simple that I can't believe I still can't figure it out. I'm compiling a framework in Xcode and I just added a .h/.c file pair. I put the .h file in the "Copy Headers" build phase and included it from the main framework include file, and that's working. Then I put the .c file in the "Compile Sources" build phase. Xcode just isn't compiling it -- I can put blatant syntax errors in there and it doesn't complain about them.

I'd like to keep the project confidential, unfortunately, but given this description, does anyone see my (probably outrageously simple) mistake?

Did you actually add the file to your framework target? There's a column of checkboxes indicating Target Membership in the detailed file list. Make sure that when your framework target is selected, your .c and .h files have checkboxes by them.


-Prachi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Xcode not compiling a .c file? (From: Ben Kazez <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.