“stdarg.h"文件未找到错误 [英] 'stdarg.h' file not found error

查看:77
本文介绍了“stdarg.h"文件未找到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到 xcode 6.3.1.我尝试从主从应用程序"模板创建示例项目,但构建失败并出现以下错误.

I recently upgraded to xcode 6.3.1. I tried creating a sample project from "Master Detail application" template, but build failed with the below error.

  • 设备 - 通用
  • 语言 - 快速
  • 不使用核心数据

错误:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/usr/include/dispatch/dispatch.h:32:10:错误:'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:错误:'uint64_t' 的声明必须从模块导入'ObjectiveC.runtime' 之前是必需的 typedef uint64_tos_activity_t;

/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 进行开发的新手.

I am new to development using Xcode.

推荐答案

很可能您安装的 Xcode(或模拟器)已损坏.

It is likely that your installation of Xcode (or the simulator) is damaged.

您可以尝试重新安装开发者工具,或者完全重新安装 Xcode.

You can try reinstalling the developer tools, or completely reinstall Xcode.

这篇关于“stdarg.h"文件未找到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆