首页 > 解决方案 > 无法渲染和更新自动布局状态 Stripe.Framework

问题描述

我不知道发生了什么,但突然我的 xcode 停止渲染自动布局在此处输入图像描述

这是我从 xcode 得到的错误的图片。

编辑:

我的解决方案是运行命令

pod install 

标签: iosxcodeautolayout

解决方案


这对我来说是工作

https://github.com/evgenyneu/Cosmos/issues/105

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'XYZ' do

use_frameworks!

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

pod 'Alamofire'
pod 'Stripe'
/* etc ... */
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for Gozem Provider
end

在你可以安装或更新 pod 之后

- - - - - - - - - - - - - - - 或者 - - - - - - - - - - ------------------

如果您的项目选择自动管理签名而不是删除它

在此处输入图像描述

让它像你可以选择无,否则你可以使用你的当前证书而不是干净的项目并再次构建

在此处输入图像描述


推荐阅读