wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.58k stars 544 forks source link

IOS - 5 duplicate symbols for architecture arm64 #699

Open MacDinhThanh opened 1 year ago

MacDinhThanh commented 1 year ago

5 duplicate symbols for architecture arm64

MacDinhThanh commented 1 year ago

"react-native": "0.68.2",

Jawlia commented 1 year ago

A workaround which you can try in your package.json, i.e "react-native-pdf": "6.3.0", also remove react-native-blob-util.

Mahmoudezz93 commented 1 year ago

same issue here

iamabdulhaseeb commented 1 year ago

Was anyone able to solve this?

fcaldarelli commented 1 year ago

I had rn-fetch-blob and react-native-blob-util both installed. After removing rn-fetch-blob (because react-native-blob-util is arn-fetch-blob` fork), I fixed the error.

luatvudinh commented 1 year ago

I had rn-fetch-blob and react-native-blob-util both installed. After removing rn-fetch-blob (because react-native-blob-util is arn-fetch-blob` fork), I fixed the error.

Thank you, it worked. But in my case, I need to change some places in code using rn-fetch-blob to react-native-blob-util.

luatvudinh commented 1 year ago

Another option is downgrading react-native-pdf version to 6.3.0 ("react-native-pdf": "6.3.0") which using rn-fetch-blob so could not affect your original code and avoid modification old code as well.

Happy coding!