Undefined symbols for architecture arm64: "_OBJC_CLASS_$_WeiboApi", referenced from:
解决方法:
这是使用腾讯微博的时候报错的:
在你的项目中的appDelegate中
[ShareSDK connectTencentWeiboWithAppKey:kTencentWeiBoSDKAppKey
appSecret:kTencentWeiBoSDKAppSecret
redirectUri:kTencentWeiBoSDKRedirectUri
wbApiCls:[WeiboApi class]];
替换成:
[ShareSDK connectTencentWeiboWithAppKey:kTencentWeiBoSDKAppKey
appSecret:kTencentWeiBoSDKAppSecret
redirectUri:kTencentWeiBoSDKRedirectUri];
本文将详细解释并解决在使用腾讯微博SDK时遇到的Undefined symbols for architecture arm64错误,通过修改appDelegate中的代码实现成功连接腾讯微博。主要涉及在iOS项目中集成腾讯微博SDK的步骤,以及遇到特定错误时的解决策略。
1583

被折叠的 条评论
为什么被折叠?



