我最近升級到xcode 6.3.1。我試圖從「主細節應用程序」模板創建一個示例項目,但構建失敗,出現以下錯誤。'stdarg.h'文件未找到錯誤
- 設備 - 通用
- 語言 - 迅速
- 不使用核心數據
錯誤:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/usr/include/dispatch/dispatch.h:32:10: error: 'stdarg.h' file not found
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/usr/include/os/activity.h:38:9: error: declaration of 'uint64_t' must be imported from module 'ObjectiveC.runtime' before it is required typedef uint64_t os_activity_t;
我使用Xcode的是新的發展。
你確定Xcode沒有損壞嗎?你安裝了開發者工具嗎?可能安裝它們或重新安裝Xcode有幫助。 – idmean
是的..它的工作..完全刪除Xcode並重新安裝後,它的作品。 – user3923049
我很高興我能幫助你。我會發布這個建議作爲答案,因爲它解決了你的問題。如果你想要,你可以接受它。這明確表明你的問題已經解決,並會給你我一些聲譽。 – idmean