Dan Ashby Dan Ashby - 6 months ago 38
Objective-C Question

Compiler error, any help appreciated

I have recently purchased an app and while trying to make edits in Xcode, I am getting a compiler error with the error saying

cannot create __weak static in file using manual reference

I am very new to Xcode and Objective C, so would massively appreciate any help and suggestions how I can fix this error. Thanks.

Snippet of code


This means that you are not using ARC in that file and so you cannot use weak, strong and so on. Therefore you have to remove the keyword __weak.