简体   繁体   English

使用cocoapods时发生错误?

[英]Error occurs when using cocoapods?

I am using a library called MZFormSheetController, and I put it in to my program using cocoapods ,when the app runs ,it tell me there's error in the library. 我正在使用一个名为MZFormSheetController的库,并使用cocoapods将其放入程序中,当应用程序运行时,它告诉我该库中有错误。 在此处输入图片说明

在此处输入图片说明

I seems it cannot recognize the UIViewController? 我似乎无法识别UIViewController? what's going on? 这是怎么回事?

You are missing UIKit framework import. 您缺少UIKit框架导入。 You have to @import UIKit; 您必须@import UIKit;

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM