ARC required?

217 views
Skip to first unread message

Bob S

unread,
Apr 11, 2012, 3:13:05 PM4/11/12
to cocoaht...@googlegroups.com
Hello,

 I tried to update to the latest version of CocoaHTTPServer and I have all these warnings about how ARC is required to compile files.  Does my my project really have to use ARC?  Can someone explain how to compile this without my project using ARC?  The messages say 'Use -fobjc -arc flag', but where and how do you do that?  Please can someone explain?

Thanks
Bob

Christopher Morris

unread,
Apr 11, 2012, 3:22:44 PM4/11/12
to cocoaht...@googlegroups.com
Click on your project in XCode and then click on the Target.  Go to Build Phases, expand the compile sources section.  Double-click on the file you want to add the compiler flag to and a box pops up.  Enter the text in there and click done.

Bob

--
You received this message because you are subscribed to the Google Groups "CocoaHTTPServer" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocoahttpserver/-/sNFTe72qc5gJ.
To post to this group, send email to cocoaht...@googlegroups.com.
To unsubscribe from this group, send email to cocoahttpserv...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocoahttpserver?hl=en.



--
Chris Morris

Bob Sabiston

unread,
Apr 11, 2012, 4:02:17 PM4/11/12
to cocoaht...@googlegroups.com
Thanks!

Now I am getting an error 'duplicate symbol HTTPMessage'.  Looks like it is interfering with another HTTPMessage in AQXMLParser.  Ugh.  I guess I can just change the name of one of them…

Bob

Bob Sabiston

unread,
Apr 11, 2012, 4:07:45 PM4/11/12
to cocoaht...@googlegroups.com
Does anyone else use both CocoaHTTPServer and AQXMLParser? They both have 'HTTPMessage' pretty well ingrained .. what did you do to resolved it?

Thanks
Bob

Reply all
Reply to author
Forward
0 new messages