search

Home  >  Q&A  >  body text

objective-c - 七牛云SDK集成不成功 iOS

搞了一天了,脑子有点昏了,已经不知道怎么解决这个问题了。

网上搜的能使用的方法都解决不聊,我这边是直接把QiniuSDK和HappyDNS拖进去的,因为项目一直没有用cocopods,之前也试过使用,不过依然报错。


这些配置 和网上所说的添加lib都是没有问题的,而且是 只要集成这两个文件就报错,删掉就能够运行。 万能的SF求助攻啊~

我想大声告诉你我想大声告诉你2757 days ago629

reply all(1)I'll reply

  • 阿神

    阿神2017-05-02 09:20:59

    You must first understand the errors reported by the connection library before you can prescribe the right medicine.

    To be honest, Qiniu’s SDK is so fucked up that it even uses PHImageManagerthis third-party image selection framework without telling you.

    This sentence means that there are unfound symbols, and i386 means that it is the simulator kernel. It means that the third-party library you reference refers to other libraries, but the other libraries are not connected

    有很大的可能性,是这个第三方库,编译的时候没有编译i386版本,所以你用真机试一下,说不定就好了

    The name of the symbol not found is PHImageManager. You can look for it online, but I didn't find this library. Not available on github or pod

    This is the file that references it. It starts with QN and is the SDK of Qiniu. This class should be used to select system media files.

    I can only help you so far, I wish you good luck.

    ps: It’s time to change your computer. The current one is not 64-bit.

    reply
    0
  • Cancelreply