2

after upgrading to Xcode 12 From App Store, the project not able to build and i get Errors :

error: 'SVProgressHUD/SVProgressHUD.h' file not found #import <SVProgressHUD/SVProgressHUD.h>

Showing Recent Messages
Failed to emit precompiled header '/Users/mohammedrezk/Library/Developer/Xcode/DerivedData/APPNAME-bxzcdxjpyvptvrdegichefojwviu/Build/Intermediates.noindex/PrecompiledHeaders/APPNAME-Bridging-Header-swift_2E6RO3XQ4PJKS-clang_AGVOYNG8YIID.pch' for bridging header '~/APPNAME-Bridging-Header.h'

I searched alot for issues with XCode 12 and I Updated Cocoa Pods to 1.10. because i found some answers related to Umbrella Header issue with Xcode 12 and CocoaPods, but still have the issue and not able to build and run the project

Please, any solution for this?

Danijel
  • 8,198
  • 18
  • 69
  • 133

1 Answers1

1

It confused me several days, finally I found the answer.Xcode12 set Architectures $(ARCHS_STANDARD) by default.If you select Any iOS Device or your iPhone, not simulator,the issue goes away.About the Architectures setting, you can see Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64.

chokshen
  • 101
  • 5