求教o(╥﹏╥)o
按官方文档接入IOS微信登录,出现 Undefined symbols ?我按照微信官方文档(https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS.html) 接入IOS登录 问题:报错出现很多libWeChatSDK.a 文件中的 Undefined symbols 该如何解决? 错误信息: "_OBJC_CLASS_$_UIPasteboard", referenced from: objc-class-ref in libWeChatSDK.a(AppCommunicate.o) "_OBJC_CLASS_$_UIDevice", referenced from: objc-class-ref in libWeChatSDK.a(WeChatApiUtil.o) "_OBJC_CLASS_$_UIScreen", referenced from: objc-class-ref in AppDelegate.o objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) objc-class-ref in libWeChatSDK.a(WeChatApiUtil.o) "_OBJC_CLASS_$_UIApplication", referenced from: objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) objc-class-ref in libWeChatSDK.a(WeChatApiUtil.o) objc-class-ref in libWeChatSDK.a(WXApi.o) "_UIImageJPEGRepresentation", referenced from: -[WXMediaMessage setThumbImage:] in libWeChatSDK.a(WXApiObject.o) "_OBJC_CLASS_$_UINavigationController", referenced from: objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_CLASS_$_UIWindow", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_UIBarButtonItem", referenced from: objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_METACLASS_$_UIViewController", referenced from: _OBJC_METACLASS_$_WXWebViewController in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_CLASS_$_UIImage", referenced from: objc-class-ref in libWeChatSDK.a(WechatAuthSDK.o) objc-class-ref in libWeChatSDK.a(AppCommunicateData.o) "_UIApplicationOpenURLOptionUniversalLinksOnly", referenced from: +[WXApi launchApplicationWithUrl:completion:] in libWeChatSDK.a(WXApi.o) "_OBJC_CLASS_$_UIAlertAction", referenced from: objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_CLASS_$_UIAlertController", referenced from: objc-class-ref in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_CLASS_$_UIResponder", referenced from: _OBJC_CLASS_$_AppDelegate in AppDelegate.o "_OBJC_CLASS_$_UIViewController", referenced from: _OBJC_CLASS_$_WXWebViewController in libWeChatSDK.a(WapAuthHandler.o) "_OBJC_METACLASS_$_UIResponder", referenced from: _OBJC_METACLASS_$_AppDelegate in AppDelegate.o ld: symbol(s) not found for architecture arm64 ViewController", referenced from:\ _OBJC_METACLASS_$_WXWebViewController in libWeChatSDK.a(WapAuthHandler.o)\ "_OBJC_CLASS_$_UIImage", referenced from:\ objc-class-ref in libWeChatSDK.a(WechatAuthSDK.o)\ objc-class-ref in libWeChatSDK.a(AppCommunicateData.o)\ "_UIApplicationOpenURLOptionUniversalLinksOnly", referenced from:\ +[WXApi launchApplicationWithUrl:completion:] in libWeChatSDK.a(WXApi.o)\ "_OBJC_CLASS_$_UIAlertAction", referenced from:\ objc-class-ref in libWeChatSDK.a(WapAuthHandler.o)\ "_OBJC_CLASS_$_UIAlertController", referenced from:\ objc-class-ref in libWeChatSDK.a(WapAuthHandler.o)\ "_OBJC_CLASS_$_UIResponder", referenced from:\ _OBJC_CLASS_$_AppDelegate in AppDelegate.o\ "_OBJC_CLASS_$_UIViewController", referenced from:\ _OBJC_CLASS_$_WXWebViewController in libWeChatSDK.a(WapAuthHandler.o)\ "_OBJC_METACLASS_$_UIResponder", referenced from:\ _OBJC_METACLASS_$_AppDelegate in AppDelegate.o\ ld: symbol(s) not found for architecture arm64\ } 如下图: [图片] 接入版本:1.8.7.1 xcode版本:11.5 Build Setting 部分设置: [图片] Build Phases部分设置: [图片] 其他项均按文档设置
2020-07-17解决了吗?我也遇到这个问题了
onShareAppMessage调用我点击了转发按钮,调用onShareAppMessage(),应该说会马上弹出分享窗口的。但是,我想延迟1~2s后弹出分享窗口。总之,我的需求是:点击转发按钮,延迟1~2s后弹出分享窗口。这该如何实现呢?
2019-11-26