一些第三方庫只支持真機, 不支持模擬器運行模擬器會報錯
Undefined symbols for architecture x86_64:
...........
......
...
ld: symbol(s) not found for architecture x86_64
解決辦法
只需要在相關的代碼加上判斷即可
#if !TARGET_IPHONE_SIMULATOR
第三方代碼
#endif
或者
#if arch(i386) || arch(x86_64)
#else
掉好第三方代碼
#endif