Reputation: 6133
I just started learning about creating cocoapods. I followed this tutorials and everything look okay.
http://code.tutsplus.com/tutorials/creating-your-first-cocoapod--cms-24332
Problems is that some project file use ARC but some doesn't. If I write this code,
s.requires_arc = false
I got error like this.
ERROR | [iOS] xcodebuild: WWAutoupdate/WWAutoupdate/Classes/Library/Hawk/Base64/NSData+Base64.m:39:2: error: This library requires automatic reference counting
If I don't write, I got another error not to use arc. How can I put both arc and non-arc files together in my cocoapods? In my build phases, I have already specified -fno-objc-arc though.
Upvotes: 2
Views: 195
Reputation: 4285
requires_arc
can take an array of files e.g. requires_arc = ["folder/no-arc/*"]
Upvotes: 1