A subclass of NSObject overrides the static "initialize" method. This method isn't called when compiling in Release mode with "whole module optimization" turned on. Compiling in Debug mode, or switching to "Fast, Single-file optimization" enables the call.
Attachment: Download
Environment
Xcode 8.1 GMAdditional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, OptimizedOnly | |Assignee | None | |Priority | Medium | md5: 65dccff72c161b2e0a1279d16443afc9Issue Description:
A subclass of NSObject overrides the static "initialize" method. This method isn't called when compiling in Release mode with "whole module optimization" turned on. Compiling in Debug mode, or switching to "Fast, Single-file optimization" enables the call.