React-native-apple-authentication: Duplicate interface definition for class 'RNAppleAuthButtonViewManagerWhiteSignUp' when compiling for ios 14

Created on 21 Aug 2020  路  4Comments  路  Source: invertase/react-native-apple-authentication

Ran a fresh build for an app that's leveraging this repo for apple authentication.

Runs fine on ios 13.

When running on ios 14, with xcode 12 beta 5 getting this error:

Screen Shot 2020-08-21 at 12 22 46 AM

Most helpful comment

@mikehardy hold the phone - wasn't on the latest version. v1.0.6 works perfectly. 馃コ

All 4 comments

Hi @dbarner1 - thanks for pointing this out. Seems your the first to try the compile on the beta toolchain

The image is incomplete, but it looks like it helpfully points out where the duplication is on the left there, out of view in the graphic. You can reach right into node_modules and edit the thing until Xcode is happy with it, then use patch-package to make it persistent in your project and maybe propose the change as a PR?

Thanks @mikehardy - I'm up for the challenge. Will update here on how it goes.

@mikehardy hold the phone - wasn't on the latest version. v1.0.6 works perfectly. 馃コ

whew! Had a sense of impending doom about the Xcode12/ios14 release but now I'm feeling better. Thanks for following up

Was this page helpful?
0 / 5 - 0 ratings