Spring framework StoryBoard render Error

2019-07-15 04:58发布

问题:

I had a project working project.now I install the pod again



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



No I am getting this error.


“error: IB Designables: Failed to render and update auto layout status for AvailabilityViewController no suitable image found. Did find: Spring.framework: required code signature missing for 'Spring.framework’ ”



Now my app is running.but I could not find views in story board.


I tried to remove all derived data from Xcode and I turn off Automatically manage signing.but nothing works.
Hope you understand my problem.
Thanks in advance.

回答1:

This is an issue related to new XCode and CocoaPods version 1.5

You can either

  1. downgrade your CocoaPods to 1.4.x
  2. Implement the following workaround: (add to the end of your podfile and do 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

More info: Official CocoaPods git issue: https://github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098