Method override for the designated initializer of the superclass '-init' not found

安稳与你 提交于 2019-12-11 09:58:34

问题


I've encountered following address of Braintree in my XCode 7. Before upgrading to XCode 7, everything is working smooth. Now got that problem. Please let me know how to solve that issue.

/.../Pods/Braintree/Braintree/API/Client/BTAPIResponseParser.m:9:17: Method override for the designated initializer of the superclass '-init' not found


回答1:


What version of Braintree are you using? It may be that you need to update to 3.9.3, which includes xCode7 support. (https://github.com/braintree/braintree_ios/blob/master/CHANGELOG.md)

You probably already know this, but just change the version number in your podfile, and then run "pod install" in the terminal.




回答2:


I was facing the same issue. After hours of struggle I got the solution:

Update the Braintree pod to 3.9.3 version

pod 'Braintree' , '~> 3.9.3'

After that in Link Binaries with Libraries Delete the libPayPalMobile.a file.

This Solution works for me.



来源:https://stackoverflow.com/questions/34673977/method-override-for-the-designated-initializer-of-the-superclass-init-not-fou

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!