Duplicate symbols for architecture x86_64 #4946
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
bug
Something isn't working
Documentation
An issue or a feature-request for our Amplify UI Doc site or AWS Amplify docs
React Native
An issue or a feature-request for React Native platform
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React Native
Which UI component?
Authenticator
How is your app built?
React Native App
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
US
Please describe your bug.
I just started following your documentation to install and use react native ui authentication using amplify
In the doc, it start with installing the packages
npm install @aws-amplify/ui-react-native aws-amplify @aws-amplify/react-native react-native-safe-area-context amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill
After running npx pod-install and then running the ios application it keep giving symbol duplication error
I
What's the expected behaviour?
Running without error
Help us reproduce the bug!
Just follow the doc to setup react native ui and run the ios simulator
Code Snippet
// Put your code below this line.
Console log output
No response
Additional information and screenshots
investigated the error and found out this package is included in the initial package installation amazon-cognito-identity-js
And it has conflict with other amplify package which themself include aws cognito js library
I removed the package and installed it again and everything run well
So i suggest to update the doc and remove that unnecessary package
The text was updated successfully, but these errors were encountered: