I want to provide my Objective-C library as cocoapod and some users wants to get it with 'use_frameworks!' option. Without this key it works fine but after including it in Podfile Xcode 7.1 Beta throws these errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_***", referenced from:
objc-class-ref in ***.o
"_OBJC_CLASS_$_***", referenced from:
_OBJC_CLASS_$_*** in ***.o
objc-class-ref in ***.o
objc-class-ref in ***.o
(maybe you meant: _OBJC_CLASS_$_***)
"_OBJC_CLASS_$_***", referenced from:
objc-class-ref in ***.o
objc-class-ref in ***.o
objc-class-ref in ***.o
"_OBJC_METACLASS_$_***", referenced from:
_OBJC_METACLASS_$_*** in ***.o
(maybe you meant: _OBJC_METACLASS_$_***)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)