简体   繁体   English

无法呈现和更新UIViewController的自动布局状态:dlopen(Cosmos.framework,1):找不到合适的图像

[英]Failed to render and update auto layout status for UIViewController : dlopen(Cosmos.framework, 1): no suitable image found

I'm using Cosmos Pod in my project as stars rating. 我在我的项目中使用Cosmos Pod作为星级。 I have error in one of my Storyboard after set view class to CosmosView: 在将视图类设置为CosmosView之后,我的一个Storyboard中出现错误:

file:///Users/FedericoVivian/Documents/Documenti%20personali/CSMApp/CSMApp/LogBook/LogBook.storyboard: error: IB Designables: Failed to render and update auto layout status for UIViewController (GJw-lE-8co): dlopen(Cosmos.framework, 1): no suitable image found. file:///Users/FedericoVivian/Documents/Documenti%20personali/CSMApp/CSMApp/LogBook/LogBook.storyboard:error:IB Designables:无法呈现和更新UIViewController(GJw-lE-8co)的自动布局状态:dlopen( Cosmos.framework,1):找不到合适的图像。 Did find: Cosmos.framework: required code signature missing for 'Cosmos.framework' 找到:Cosmos.framework:'Cosmos.framework'缺少必需的代码签名

I using this release 我使用这个版本

Cosmos release 15.0.0 Xcode 9.3 Swift Cosmos发布15.0.0 Xcode 9.3 Swift

How I can fix this error? 我该如何解决这个错误? It causes whole storyboard to be blank. 它导致整个故事板为空白。

Help me please !! 请帮帮我 !!

In case you are using Cocoapods try this solution fixed the problem for me: 如果您正在使用Cocoapods尝试此解决方案为我解决了问题:

https://github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098 https://github.com/CocoaPods/CocoaPods/issues/7606#issuecomment-381279098

Just add code below to your Podfile and update your dependencies. 只需将下面的代码添加到您的Podfile并更新您的依赖项。

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法呈现和更新自动布局状态Stripe.Framework - Failed to render and update auto layout status Stripe.Framework IB Designables:无法渲染和更新自动布局状态 - IB Designables: Failed to render and update auto layout status IB Designables:无法呈现和更新 Google 地图的自动布局状态 - IB Designables: Failed to render and update auto layout status for Google Maps IB Designables:无法呈现和更新自动布局状态(Google地图) - IB Designables: Failed to render and update auto layout status (Google Maps) 无法渲染和更新自动布局状态:无法启动可设计的代理,因为工具正在关闭 - Failed to render and update auto layout status: Failed to launch designable agent because tool was shutting 无法呈现和更新自动布局状态,无法启动可设计代理,因为工具正在关闭 - Failed to render and update auto layout status, Failed to launch designables agent because tool was shutting down 无法更新自动布局状态:代理崩溃 - Failed to update the auto layout status: The agent crashed Designables:无法呈现和更新自动布局状态。我正在使用Xcode 9.3 - Designables: Failed to render and update auto layout status. I am using Xcode 9.3 Xcode 10.1 - IB Designables - 无法呈现和更新自动布局状态,代理崩溃 - Xcode 10.1 - IB Designables - Failed to render and update auto layout status, The agent crashed Xcode 8 - IB Designables - 无法渲染和更新自动布局状态,代理崩溃 - Xcode 8 - IB Designables - Failed to render and update auto layout status, The agent crashed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM