ios – 为Xcode安装pod时终端出错

我试图在我的 Xcode项目上安装一个pod.

这是我的pod文件:

platform :ios, '8.0'
use_frameworks!

target 'aa' do
    pod 'Canvas'
end

尝试安装pod时,我在终端中收到这些错误
The errors

谢谢!

编辑:
没关系我让它工作并安装它
我在我的Podfile中添加了这个. (cc是另一个项目).
项目’/Users/ashotgharibyan/Desktop/cc/cc.xcodeproj’

但现在我有this warning.
任何帮助?有没有办法解决它,或者我不应该担心它.

最佳答案 很简单如Xcode所说,你忘了在 – (void)awakeFromNib方法中编写[super awakeFromNib]方法.

所以,你的方法应该是

-(void)swakeFromNib{
[super awakeFromNib]
//Now write Your Stuff here
}

您可以在此链接awakeFromNib上查看更多详细信息

you must call the super implementation of awakeFromNib to give parent
classes the opportunity to perform any additional initialization they
require. Although the default implementation of this method does
nothing, many UIKit classes provide non-empty implementations. You may
call the super implementation at any point during your own
awakeFromNib method.

点赞