Adium Plugin assistance

Evan Kinney Evan.Kinney at sas.com
Mon Sep 10 19:38:27 UTC 2012


ARC is most definitely the future - embrace it! Love it! Curse at things when you're converting your non-ARC code and things start breaking! Talk to it and whisper sweet nothings in its ear when it makes your life so much easier when writing new code!

That being said: if you're compiling the aforementioned code as part of your Xcode build, you can mark individual files with a compiler flag to disable ARC. It's in Targets/Build Phases/Compile Sources. Double-click the Compiler Flags field and add "-fno-objc-arc"

Compiling proper frameworks or static libraries with ARC completely disabled and then linking to them works as well.

/ek

On Sep 10, 2012, at 2:36 PM, Bob Tanner <tanner at real-time.com>
 wrote:

> On 2012-09-08 04:52:58 +0000, Bob Tanner said:
> 
>> Followed http://trac.adium.im/wiki/CreatingPlugins to get a bare bones plugin compiled.
> 
> Is  ARC the future of development in osx?
> 
> I have several Frameworks that are throwing errors like:
> 
> ARC forbids explicit message send of 'autorelease'
> ARC forbids explicit message send of 'release'
> 'release' is unavailable: not available in automatic reference count mode
> 
> Do I got make my Frameworks ARC compliant (because that's the future) OR
> 
> Can I compile my Frameworks non-ARC? OR
> 
> Do I make my whole project non-ARC?
> 
> Most of the Frameworks were wrote in Xcode 3 (tool chains) as I pretty much used vim+make for the code.
> 
> -- 
> Bob Tanner <tanner at real-time.com>                  | Phone : (952 943-8700
> http://www.real-time.com, Linux, OSX, VMware | Fax   : (952)943-8500
> Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378
> 
> 
> 
> 






More information about the devel mailing list