ios - Compiler Flag -fno-objc-arc not working in Swift -
my program being written in swift, class dependency on "no leak skshapenode." class written in obj-c , therefore needs compiler flags used. implemented -fno-objc-arc on skshapenodeleakfree.m file yet compiler still doesn't detect arc disabled.
the -fno-objc-arc
setting in "compile sources" of target's "build phases" looks fine.
it looks must have incorrectly imported .m
file in bridging header. should #import
.h
file in bridging header. explain why you're seeing objective-c arc messages under "swift compiler error" section.
wiki
Comments
Post a Comment