How can I use the box-api in a project using ARC? I copied the SDK folder to my project and added them, but I can't build my project since it uses ARC.
Asked
Active
Viewed 196 times
0
-
Can you share a little more detail? Which SDK are you referring to? Can you also disambiguate ARC? What do you mean by "uses ARC." Is that a library? – Peter Sep 10 '12 at 00:31
-
I'm using the box-api (https://github.com/box/box-ios-sdk), copied the SDKFiles folder as readme said. ARC (Automatic Reference Counting) removes the need of manual memory management. – sverin Sep 10 '12 at 06:51
1 Answers
0
You have to disable ARC for these files:
- Go to Your Project > Your Target > Build Phases
- Select all Box files, press Enter and insert "-fno-objc-arc" without quotas
- Clean and Build! ;)

Francesco Vadicamo
- 5,522
- 35
- 29