Spring框架StoryBoard渲染错误

Joh*_*ohn 2 ios xcode-storyboard cocoapods swift

我有一个项目工作项目.现在我再次安装pod

pod'Spring' 

,:git =>' https://github.com/MengTo/Spring.git ',: branch =>'swift3'



不,我收到此错误.


"错误:IB Designables:无法呈现和更新AvailabilityViewController的自动布局状态,找不到合适的图像.找到了:Spring.framework:'Spring.framework'缺少必需的代码签名"



现在我的应用程序正在运行.但我无法在故事板中找到视图.


我试图从Xcode中删除所有派生数据,我关闭自动管理签名.但没有任何作用.希望你能理解我的问题.提前致谢.

Mat*_*old 10

这是与新的XCode和CocoaPods 1.5版相关的问题

你也可以

  1. 将CocoaPods降级到1.4.x
  2. 实现以下解决方法:(添加到podfile的末尾并执行 pod update

    post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end end

更多信息:官方CocoaPods git问题:https: //github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098