xcode7中出現 dyld: Symbol not found: ___NSArray0__的錯誤

        使用xcode新建工程,模擬器運行一切ok,但真機測試時卻出現 dyld: Symbol not found: ___NSArray0__的錯誤,底下還有一堆:xcode

        那麼問題在哪呢?看到裏面有提到CoreFoundation.framework了嗎?是的,就是這個庫的問題,因而咱們找到測試

TARGETS -> Build Phases -> Link Binary With Librariesui


        若是沒有CoreFoundation.framework,則點擊+好添加,而後修改成Optional,運行,完美解決!code