Search code examples
iosobjective-cpayumoney

Property requires fields to be named error in objective c


I am using one third party SDK, where there are some variables declared as

enter image description here

I have clean and build the project and also erased the derived data, still i'm getting this error.

How to get rid off this issue?


Solution

  • Finally, I have found were I am wrong,

    I have done a stupid thing that I installed a SDK through cocoapods and also used the same SDK by drag and drop, so the same properties repeated twice in my code leads to this error.

    Thank you for your suggestions.