In article
,
Florian Zschocke wrote:
> Florian Zschocke schrieb:
>
> Ahrg, had to rename GeneratePreviewForURL.c to
> GeneratePreviewForURL.m.
When you have that many errors, it's often the case that Xcode is trying
to compile the wrong language (or wrong dialect). In this case the ".c"
told Xcode to expect only C, not Objective-C stuff, leading to the
errors you got. FWIW you can always override these defaults in Xcode--
select the file and press cmd-I, and in the "general" tab you can set
the file type to whatever's appropriate.
--
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/ >> Stay informed about: QuickLook project 1333 Errors