文章出處

如何解決…has been modified since the precompiled header… was built 的問題

 

xcode5.1在程序中報錯:

File '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h' has been modified since the precompiled header '/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache/VMUVAS4MFQHZ/UIKit.pcm' was built

 

具體的解決方法:

 

刪除/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache目錄下的所有文件

 

但是如何找到路徑呢

 

這里我來告訴大家一個簡單快捷的方法(Library是隱藏文件,不容易找的)

 

在Finder上點——>前往——>前往文件夾,會自動彈出讓你輸入路徑,例如:/Users/rjxyrjxy/Library/Developer/Xcode/DerivedData/ModuleCache

會自動找到文件的,刪除里面的所有文件就OK了,不過呢,還是報錯誤的話,你還可以這樣做 Project——>Clean ,Shift + Command + K


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()