Reputation: 704
I just updated Xcode (to version 12.5 (12E262)) and got this error in my react native project.
I searched everywhere, but I have not found anything and I do not have any experience with Swift/Objective-C to solve it myself.
here is a screenshot if it helps:
Thanks for any help.
Upvotes: 4
Views: 5183
Reputation: 79
It might be due to the import statement for <React/RCTDevLoadingView.h>
being placed below the block of imports after #ifdef FB_SONARKIT_ENABLED
, which might have been disabled when building/archiving.
Check out the link above to find out the proper way to import your dependencies - it should always be above #ifdef FB_SONARKIT_ENABLED
.
EDIT: I recently encountered this exact issue after upgrading to Xcode 13.
Upvotes: 5