Undefined symbols for architecture arm64 :(shareSdk weibo)
来源:互联网 发布:易语言30000源码百度云 编辑:程序博客网 时间:2024/05/21 23:08
目前,腾讯微博和人人网的分享等还没有推出arm64的分享SDK,但是用web分享授权还是没有问题的,只是不能调用客户端进行授权.
下面说一下用ShareSDK分享的时候出现的一个报错:
Undefined symbols for architecture arm64 :
“_OBJC_CLASS_$_WeiboApi”, referenced from:
objc-class-ref in AppDelegate.o
ld:
symbol(s) not found for architecture arm64
这是使用腾讯微博的时候报错的:
在你的项目中的appDelegate中
[ShareSDK connectTencentWeiboWithAppKey:key
appSecret:AppSecret
redirectUri:Uri
wbApiCls:[WeiboApi class]
];
替换成:
[ShareSDK connectTencentWeiboWithAppKey:Key
appSecret:AppSecret
redirectUri:Uri];
也就是说不用注册class,其他的平台还是一样的,去掉那个注册的class就好了
那么去掉class注册这个意味着什么呢?
去掉注册意味着不能调用手机上的客户端进行分享授权,而是强制以web的方式进行分享授权,等到官方支持了arm64之后把class加上,就可以直接调用客户端进行分享授权了
clean一下程序,在运行一下OK搞定…
0 0
- Undefined symbols for architecture arm64 :(shareSdk weibo)
- Undefined symbols for architecture arm64:
- Undefined symbols for architecture arm64:
- Undefined symbols for architecture arm64
- Undefined symbols for architecture arm64:
- Undefined symbols for architecture arm64:
- Undefined symbols for architecture arm64
- Undefined symbols for architecture arm64
- archiving出错:Undefined symbols for architecture arm64
- iOS错误:Undefined symbols for architecture arm64
- Undefined symbols for architecture arm64解决方案
- Cocoapods Undefined symbols for architecture armv7s\arm64
- ios Undefined symbols for architecture arm64
- Undefined symbols for architecture arm64:问题解决方法
- iOS开发 - Undefined symbols for architecture arm64:
- iOS :Undefined symbols for architecture arm64解决方案
- Undefined symbols for architecture arm64解决方案
- Undefined symbols for architecture arm64解决方案
- 斯坦福大学公开课 :机器学习课程(Andrew Ng)——10、无监督学习:Mixture of Gaussians and the EM Algorithm
- 去掉或自定义ExpandableListView的箭头图标
- linux服务器怎么修改时区和时间
- Java_语法基础_保留指定位数小数
- popToViewController、pushViewController问题
- Undefined symbols for architecture arm64 :(shareSdk weibo)
- Field 对象
- iphone NSString 字符串处理:截取字符串、匹配字符串、分隔字符串
- 验证码
- C# winform 防止sql注入代码
- mac Ruby下安装compass失败原因及解决办法
- Oracle优化器(RBO与CBO)
- kbengine里如何使用git快速下载项目?
- 扩展activiti使用自己的用户表和群组表