Thursday, May 23, 2019

XCode duplicate symbol architecture arm64

https://stackoverflow.com/questions/42021796/react-native-xcode-project-product-archive-fails-with-duplicate-symbols-for-arch

Yup i came across, when XCode build Archive the error were ld: 362 duplicate symbols for architecture arm64. The solution is the provided link.

Open Podfile and check the bottom part:
supposed to show something like

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end

If you see none, that add that one and then execute $ pod install
so the Pods project would be rebuild.

thank you ^^

No comments: