sinaweibosdk / weibo_ios_sdk

新浪微博 IOS SDK
http://weibo.com
Other
1.44k stars 565 forks source link

Undefined symbols for architecture i386 #430

Closed RadioHeadach closed 4 years ago

RadioHeadach commented 4 years ago

我把sdk封装成一个cocoapod依赖,在执行pod lib lint的时候报错

Undefined symbols for architecture i386:
      "_OBJC_CLASS_$_WBSendMessageToWeiboResponse", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBSendMessageToWeiboRequest", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBNewVideoObject", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBImageObject", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBAuthorizeResponse", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBWebpageObject", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBMessageObject", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WBAuthorizeRequest", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
      "_OBJC_CLASS_$_WeiboSDK", referenced from:
          objc-class-ref in Sina(SinaComponent.o)
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
sinaweibosdk commented 4 years ago

下一版将支持i386

RadioHeadach commented 4 years ago

感谢回复,希望尽快支持

sinaweibosdk commented 4 years ago

您好,3.2.7版本已经增加该架构