UIImageView | unrecognized selector sent to instance | Xcode 6.4 | iOS 8.4

前端 未结 4 558
一个人的身影
一个人的身影 2021-01-16 13:10

I\'m new at Xcode, and my task was to migrate the code from iOS 6.1 to 8.4, but there where so many deprecated methods. I solved them (I hope so), but now I

相关标签:
4条回答
  • 2021-01-16 13:34

    Just add -ObjC in other linker flags and added sdwebcache.a in link libraries

    0 讨论(0)
  • 2021-01-16 13:38

    By the Collaborator ofSDWebImage

    See https://github.com/rs/SDWebImage#add-linker-flag. Correctly setting the flags should take care of the issue. BTW: I strongly recommend you guys switch to CocoaPods, that way those issues will never arise.

    0 讨论(0)
  • 2021-01-16 13:39

    If you imported the framework and set up all of the right flags, try to delete the contents of this folder ~/Library/Developer/Xcode/DerivedData and fun a clean build. It should help.

    0 讨论(0)
  • 2021-01-16 13:46

    Copy and paste all files from the library in your project. I tried everything suggested and nothing worked. At the end, simple copy paste do the work.

    Also, I must say that I didn't have this problem on the new project, just in existing one. On the new project everything worked just fine.

    0 讨论(0)
提交回复
热议问题