Closed clayly closed 5 years ago
"Not there ll be no error if xcode options" <- This is unclear to me? What does this fix?
"Not there ll be no error if xcode options" <- This is unclear to me? What does this fix?
Just a typo ). If someone will link to your library and also will link to modern Objective-C code which uses automatic reference count (ARC), there will be compile error without this fix.
Ah! Awesome! Thanks!
Fixes error if xcode options CLANG_ENABLE_OBJC_WEAK=YES CLANG_ENABLE_OBJC_ARC=YES is added to xcode build settings. This options is needed to use modern Objective-C with automatic memory management.