React Native XCode Project Product Archive Fails with duplicate symbols for architecture arm64 : <p><a href="https://i.stack.imgur.com/ceHku.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ceHku.png" alt="XCode Log"></a></p>

<p>Strangely, I can't seem to get Archive to work in XCode but the build succeeds without the errors on duplicate symbols if I do not attempt to Archive but simply build a release version. The project builds properly on devices as well.</p>

<p>I have searched up on this topic and tried disabling testability, and setting the 'No Common Blocks' in the project settings to NO as well but no luck so far.</p>

<p>The Project is a React Native 0.40 based project with CocoaPods installed as well. PodFile is this</p>

<pre><code># You Podfile should look similar to this file. React Native currently does not support use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

# Change 'AirMapsExplorer' to match the target in your Xcode project.
target 'StreetSmart' do
  pod 'React', path: '../node_modules/react-native', :subspecs =&gt; [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]

  pod 'GoogleMaps'  # &lt;~~ remove this line if you do not want to support GoogleMaps on iOS

# when not using frameworks  we can do this instead of including the source files in our project (1/4):
#  pod 'react-native-maps', path: '../../'
#  pod 'react-native-google-maps', path: '../../'  # &lt;~~ if you need GoogleMaps support on iOS
end
</code></pre>

<p>XCode Version is 8.2.1, and the project file is opened via .xcworkspace since pods are installed. </p>

<p>Would really appreciate any help or insight on this, been stuck at this for hours.</p>
