In a static library, Xcode 8.1 does not detect when an objective-c method is not implemented
- 阅读更多 关于 In a static library, Xcode 8.1 does not detect when an objective-c method is not implemented
问题 My objective-c project uses a static library and recently I just discovered that Xcode 8.1 does not give some warnings for the library. When a method implementation is missing in the app itself, I get a warning. But if a method implementation is missing in the library, I get no warning. It just crashes at run time. Same for the switch statement with an enum. If a case is missing, Xcode would signal a warning, but not in the static library. In previous versions of Xcode, I am sure I received