ideashower / ShareKit

Drop in sharing features for all iPhone and iPad apps
http://getsharekit.com
1.78k stars 375 forks source link

Project ARC #358

Open markfree opened 12 years ago

markfree commented 12 years ago

I'm Marc Vallejo Apple developer, from spanish (Barcelona), I'm trying to add your project sharekit inmy project. The problem is that I work with ARC. I get many errors andsome difficult to correct.

There is the last project to ARC?

thanks!

bmunge commented 12 years ago

Mark,

You need to add the project as a new target in XCode that does not support ARC.

Go to File -> New -> Target. Choose Framework and & Library -> Cocoa Touch Static Library Fill out the name, uncheck Use Automatic Reference Counting You can delete the ShareKit.h and ShareKit.m that XCode created for you Drag and drop sharekit files into the target folder you just created, make sure you copy items and add to the ShareKit target. Check your sharekit build settings. Make sure Objective-C Automatic Reference Counting is marked no under Apple LLVM compiler 3.1 - Lanuage Add the sharekit target as a dependency through Linked Frameworks and Libraries.

artem-shmatkov commented 12 years ago

Mark,

I think this thread will be useful for you - http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project

Cheers.