Open mikehardy opened 4 years ago
@mikehardy i was also facing same problem after installing react-native-apple-authentication. in my case i was having two Xcode.app in my system 1)Xcode with version 10 2)Xcode with version 11.XX ( which required for apple authentication and IOS 13+ )
While running through command line react-native run-ios --scheme "DemoStageEnv" i was facing same issue. its because of my command line path for xcode is set to Xcode i.e version 10 and it's creating problem while build I have solved this problem by changing command line path for xcode to 11.XX
below link will be help full for me Link
Steps :- 1) Get current xcode path xcode-select --print-path 2) change it new one sudo xcode-select -switch <path/to/>Xcode.app
and react-native run-ios will work fine
Thanks
I'm quite surprised that @jadhavrahul10's comment has marked as off-topic
. I got the same compiler errors (not using warnings
here as they actually made the build fail). After some searches, I saw this issue but seems no solution.
And after some time of futile efforts, I somehow went back to this post again. Find there's a tiny hidden comment. Moreover, after upgrading the Xcode, it did solve the issue.
Sorry that I'm not an experienced developer on React-native, so I'm not 100% sure if that is the right solution. Just leave this message in case anyone has the same problem, you can give it a try.
Strange - I'm not sure why that was off topic. I can say this though: if you develop for iOS, keep your Xcode up to date. It's a baseline expectation (even though it is a monstrously large download...)
Compiler warnings aren't the first thing I go to fix, but with no outstanding module-specific bugs (the "logout causes login process" bug is upstream) this is the only significant issue I see with the library