" CFBundleIdentifier碰撞。 CFBundleIdentifier值包含多个捆绑包&org.cocoapods.FMDB'

时间:2017-04-21 07:48:27

标签: ios swift frameworks app-store cocoapods

我有一个pod文件

target 'MainApp' do  # the host app target
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for xxxxxx
   ....
  pod 'FMDB', '2.6.2'
   ......
end

target 'CallExtension3' do  # the Extension target whose host app is MainApp
   platform :ios, '10.0'
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks
    use_frameworks!

    # Pods for CallExtension3
    pod 'FMDB', '2.6.2''
end

构建和存档是可以的。但是当我向app store提交应用程序时,会出现错误。

ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'org.cocoapods.FMDB' under the iOS application 'xxxxxx.app'."

如何解决?感谢

1 个答案:

答案 0 :(得分:0)

https://github.com/CocoaPods/CocoaPods/issues/4203 可能可以帮到你

或点击目标栏目中的扩展程序 - >构建阶段 - >删除嵌入pods框架