Error connecting modules for Xcode

I am trying to install pods in my Xcode project.
Here is my swap file:

platform :ios, '8.0'
use_frameworks!

target 'aa' do
    pod 'Canvas'
end

      

I am getting these errors in terminal when trying to install containers Errors

Thank!


Edit: Nevermind I got it to work and installed it I added this to my subfile. (cc is another project). project '/Users/ashotgharibyan/Desktop/cc/cc.xcodeproj'

but now I have this warning .
Any help? Is there a way to fix this or I shouldn't worry about it.

+3


source to share


1 answer


It's just, as Xcode said, you forgot to write a method [super awakeFromNib]

in a method -(void)awakeFromNib

.

So your method should be

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

      



For more details about this link you can check out awakeFromNib

you must call the super implementation awakeFromNib to give the class parents the ability to do any additional initialization they require. While the default implementation of this method is nothing, many UIKit classes provide non-empty implementations. You can call the super implementation anytime awakeFromNib.

+2


source







All Articles