According to the Cocoapods documentation (which you're presumably looking at right now), your choices are "true
", "false
" or the actual files that require ARC (automated-ref-counting).
So for the Podspec pattern spec.requires_arc = ['Classes/*ARC.m', 'Classes/ARC.mm']
you'd be saying that any files in the "Classes" directory that are either named ARC.mm
or *ARC.m
(i.e. * being a wildcard so "ChenFanFangARC.m
would be a valid match while ARCMichael.m
is not), these files are expected to work with Automated Reference Counting.
All other files compiled for this pod would have ARC turned off.