xcode 真机运行报错:Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758
As shown below:
Solution:
在 targets-->Build Settings -->Other Linker Flags 里添加 -ld_classic
As shown below, then recompile and run