2

I have faced with such error while building the project:

Developer/SDKs/iPhoneOS12.4.sdk/usr/include/dispatch/dispatch.h:25:10: error: could not build module 'Darwin'

screenshot

Aleksey Potapov
  • 3,683
  • 5
  • 42
  • 65

1 Answers1

0

It can be solved in two ways.

1)/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks

go to that path and replace the frameworks folder from another mac on which xcode is installed.

2)clean that and build again and again might solve your problem.

Manish Kumar
  • 997
  • 2
  • 13
  • 30