Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'stdarg.h' file not found error

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.

  • Device - Universal
  • language - swift
  • Not using Core Data

Errors:

/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;

I am new to development using Xcode.

like image 321
user3923049 Avatar asked Feb 16 '26 09:02

user3923049


1 Answers

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

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

like image 148
idmean Avatar answered Feb 18 '26 21:02

idmean



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!