奇怪的是,我似乎无法让Archive在XCode中工作,但如果我不尝试存档而只是构建一个发行版本,那么构建成功而没有重复符号的错误.该项目也适用于设备.
我已经搜索过这个主题并尝试禁用可测试性,并将项目设置中的"No Common Blocks"设置为NO,但到目前为止还没有运气.
该项目是一个基于React Native 0.40的项目,同时安装了CocoaPods.PodFile就是这样
# 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 => [
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket'
]
pod 'GoogleMaps' # <~~ remove this line if you do not want to support GoogleMaps on iOS
# when …
Run Code Online (Sandbox Code Playgroud)