1.xib文件重复,未找到相同名称,逐个移除,知道无重复文件,包含redme,lince等文件。
2.podfile文件新增
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings['CODE_SIGN_IDENTITY'] = "Team ID";
config.build_settings['CODE_SIGN_IDENTITY[sdk=*]'] = "Team ID";
end
end
Pod '项目名称'
disable_input_output_paths => true
end
并执行podinstall
参考:https://www.jianshu.com/p/2acbcf1cc901 感谢