3

I can get the ShareKit demo from github to compile using the iOS 4.1 SDK, but when I import it into my project exactly how it's described on the ShareKit site, after compiling I'm getting 4,448 errors. It looks like I'm missing a framework, but I have the required frameworks listed. Maybe there's some kind of framework conflict. Here are some screenshots:

sharekit1      

The frameworks:

 

sharekit2    

sharekit build settings    

Has anyone else seen this before? Thanks!

taber
  • 3,166
  • 4
  • 46
  • 72

1 Answers1

2

Looks like you're trying to compile a pure-C file with some Objective-C mixed in. I'd make sure that all the files have a source type of "sourcecode.c.objc" (which you can do by selecting the file and typing cmd-i)

Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
  • thank you! well, that got rid of 4,447 errors, but now i'm stuck with a weird link error... "Symbol(s) not found" screenshot: http://dl.dropbox.com/u/20013/temp/sharekit4.png - i tried clean all, and to empty xcode's caches, to no avail. any ideas on that one? – taber Sep 14 '10 at 01:00
  • oops nevermind - i didn't read that carefully enough and just renamed the files as source.c.objc. haha. and that was causing them to be copied as bundle resources instead of compiled sources. doh. thanks a lot dave! – taber Sep 14 '10 at 04:50