rxreader / weibo_kit Goto Github PK
View Code? Open in Web Editor NEWFlutter版新浪微博登录/分享
License: Apache License 2.0
Flutter版新浪微博登录/分享
License: Apache License 2.0
安卓,必现.
bundle identifier 确定和开发者账户里的一模一样
登录成功返回 0
查看用户信息, 报错
flutter : 1.17
IOS
flutter: HttpException: HttpResponse statusCode: 403, reasonPhrase: Forbidden.
flutter: #0 Weibo.getUserInfo.
package:fake_weibo/src/weibo.dart:137
#1 _rootRunUnary (dart:async/zone.dart:1192:38)
#2 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#3 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#5 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#6 Future._completeWithValue (dart:async/future_impl.dart:526:5)
#7 Future.wait. (dart:async/future.dart:402:22)
#8 _rootRunUnary (dart:async/zone.dart:1192:38)
#9 _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#10 _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#11 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#12 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#13 Future._completeWithValue (dart:async/future_impl.dart<…>
安卓则是无法运行
Could not resolve io.flutter:flutter_embedding_debug:1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90.
Required by:
project :app
project :app > project :fake_weibo
Could not resolve io.flutter:flutter_embedding_debug:1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90/flutter_embedding_debug-1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90/flutter_embedding_debug-1.0.0-b851c718295a896918dc93cb1ff14f2f895a1b90.pom'.
> Connect to storage.googleapis.com:443 [storage.googleapis.com/34.64.4.80] failed: connect timed out
当auth成功后,执行到weibo.dart
的75行时
Future<dynamic> _handleMethod(MethodCall call) async {
switch (call.method) {
case _METHOD_ONAUTHRESP:
_authRespStreamController.add(
WeiboAuthResp.fromJson(call.arguments as Map<String, dynamic>)); // 这里的实际类型不匹配导致报错
break;
case _METHOD_ONSHAREMSGRESP:
_shareMsgRespStreamController
.add(WeiboSdkResp.fromJson(call.arguments as Map<String, dynamic>));
break;
}
}
出现报错:_CastError (type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast)
通过iOS平台通道传递过来的数据类型不匹配导致错误而没有任何回调。正常情况下可以做如下修改来进行修复:
final Map<String, dynamic> json =
Map<String, dynamic>.from(call.arguments);
_authRespStreamController.add(WeiboAuthResp.fromJson(json));
但是由于作者引入了pedantic
,会导致这个正常操作会静态分析报错The argument type 'dynamic' can't be assigned to the parameter type 'Map<dynamic, dynamic>'
希望能进行修复,谢谢~
微博分享图片目前是不能传本地图片地址的,除非你在主工程配置ProviderPath,即使如此也可能是找不到的。
目前imageUri:需要的是网络图片下载到本地的地址,而不是网络图片url,因此建议不使用imageUri,只使用imageData。
await wbkit.Weibo.instance.shareImage(
text: '${info.title}。${info.brief}',
imageData: await getNetworkImageData(info.url),
imageUri: Uri.parse(info.href),
);
分享图片时,应该也可以分享文本
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :app > project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://google.bintray.com/exoplayer/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not GET 'https://google.bintray.com/exoplayer/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 502 from server: Bad Gateway
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 55s
Exception: Gradle task assembleDebug failed with exit code 1
项目用的flutter 版本是 1.20.0 需要怎么修改
Could not determine the dependencies of task ':weibo_kit:compileVendorDebugAidl'.
Could not resolve all task dependencies for configuration ':weibo_kit:vendorDebugCompileClasspath'.
Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not HEAD 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden
使用android studio x86模拟器调试时会因缺少libwind.so而闪退,请问有解决办法吗?
引入 weibo_kit后,flutter run 出现错误
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :app > project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not HEAD 'https://dl.google.com/dl/android/maven2/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Connect to dl.google.com:443 [dl.google.com/203.208.39.225] failed: Read timed out
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
授权失败,配置正常
Execution failed for task ':app:mergeDebugAssets'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.sina.weibo.sdk:core:9.12.0.
Required by:
project :app > project :weibo_kit
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://google.bintray.com/exoplayer/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not GET 'https://google.bintray.com/exoplayer/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.bintray.com/umsdk/release/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not GET 'https://dl.bintray.com/umsdk/release/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.sina.weibo.sdk:core:9.12.0.
> Could not get resource 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'.
> Could not GET 'https://dl.bintray.com/thelasterstar/maven/com/sina/weibo/sdk/core/9.12.0/core-9.12.0.pom'. Received status code 403 from server: Forbidden
Configure project :weibo_kit
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /***/android/app/build.gradle:
android {
compileSdkVersion 33
...
}
建议和你其他库保持一致,用31或32,目前Adnrdois SDK
缺少 Sources for Android 33
导致主工程切到33后,xml 文件属性会提示 Unknown Attributes
如果要避免33的提示的话,可以在 gradle.properties
文件中加入 android.suppressUnsupportedCompileSdk=33
Suggestion use compileSdkVersion 31
or compileSdkVersion 32
, currently Android SDK
missing Sources for Android 33
, so if main project use compileSdkVersion 33
while make some xml file waring eg: Unknown Attributes
;
Also you can add android.suppressUnsupportedCompileSdk=33
in gradle.properties
file to void build waring;
有计划支持 Null safety 吗
IOS 回调不执行,我集成了 tencent_kit 就没问题,weobo_kit 就有问题,请问这是什么原因呢
机型:红米k40,Android12
概率:必现
复现步骤:通过截屏repaintKey获取到imageData之后,调用shareImage会报TransactionTooLargeException问题,在低版本Android机子上使用正常
lanuch app with UniversalLinks,it will go into this method and got error.
[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: 'package:fake_weibo/src/weibo.dart': Failed assertion: line 180 pos 12: '(imageData != null && imageData.lengthInBytes <= 2 * 1024 * 1024) ||
E/flutter (16785): (imageUri != null &&
E/flutter (16785): imageUri.isScheme(_SCHEME_FILE) &&
E/flutter (16785): imageUri.toFilePath().length <= 512 &&
E/flutter (16785): File.fromUri(imageUri).lengthSync() <= 10 * 1024 * 1024)': is not true.
E/flutter (16785): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:42:39)
E/flutter (16785): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:38:5)
E/flutter (16785): #2 Weibo.shareImage (package:fake_weibo/src/weibo.dart:180:12)
E/flutter (16785): #3 SharingUtils._shareImageOnSina (package:timeory/src/util/share_utils.dart:225:20)
E/flutter (16785): <asynchronous suspension>
E/flutter (16785): #4 SharingUtils.shareImage (package:timeory/src/util/share_utils.dart:84:11)
E/flutter (16785): #5 _AppSharePageState._buildShareItem.<anonymous closure>.<anonymous closure> (package:timeory/src/pages/setting/app_share_page.dart:218:30)
E/flutter (16785): #6 _rootRunUnary (dart:async/zone.dart:1134:38)
E/flutter (16785): #7 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter (16785): #8 _FutureListener.handleValue (dart:async/future_impl.dart:140:18)
E/flutter (16785): #9 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
E/flutter (16785): #10 Future._propagateToListeners (dart:async/future_impl.dart:711:32)
E/flutter (16785): #11 Future._completeWithValue (dart:async/future_impl.dart:526:5)
E/flutter (16785): #12 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:34:15)
E/flutter (16785): #13 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:293:13)
E/flutter (16785): #14 _AppSharePageState._savePoster (package:timeory/src/pages/setting/app_share_page.dart)
E/flutter (16785): <asynchronous suspension>
E/flutter (16785): #15 _AppSharePageState._buildShareItem.<anonymous closure> (package:timeory/src/pages/setting/app_share_page.dart:199:11)
E/flutter (16785): #16 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:705:14)
E/flutter (16785): #17 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:788:36)
E/flutter (16785): #18 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter (16785): #19 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter (16785): #20 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter (16785): #21 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
E/flutter (16785): #22 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:470:9)
E/flutter (16785): #23 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
E/flutter (16785): #24 PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:117:9)
E/flutter (16785): #25 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
E/flutter (16785): #26 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
E/flutter (16785): #27 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
E/flutter (16785): #28 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
E/flutter (16785): #29 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter (16785): #30 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter (16785): #31 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter (16785): #32 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter (16785): #33 _rootRunUnary (dart:async/zone.dart:1138:13)
E/flutter (16785): #34 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter (16785): #35 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter (16785): #36 _invoke1 (dart:ui/hooks.dart:273:10)
E/flutter (16785): #37 _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
图片分享方法不能用
Xcode更新后,运行报错,
登录出现这个错误
感觉您的开源,请问一下。这个是ios上面 微博不支持 分享链接了吗?
应用审核不通过,反馈“您的应用在用户同意隐私政策前申请获取用户的 ANDROID ID个人信息”。
尊敬的开发者,您好,您的应用在用户同意隐私政策前申请获取用户的【ANDROID ID】个人信息,请参考以下调用栈,可协助您定位问题,并将相关信息获取调整至同意政策之后,谢谢。
[com.weibo.ssosdk.MfpBuilder.getAndroidId(SourceFile:1),
com.weibo.ssosdk.MfpBuilder.genMfpString(SourceFile:32),
com.weibo.ssosdk.MfpBuilder.getMfp(SourceFile:1),
com.weibo.ssosdk.WeiboSsoSdk.updateInfo(SourceFile:8),
com.weibo.ssosdk.WeiboSsoSdk.access$200(SourceFile:1),
com.weibo.ssosdk.WeiboSsoSdk$e.run(SourceFile:1),
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167),
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641),
java.lang.Thread.run(Thread.java:933)]
环境 flutter 2.0.6 安卓,之前是可以的,后面更新了一下就报错了
报错代码如下,请问是什么原因呢?
E/AndroidRuntime( 3735): at java.lang.Runtime.loadLibrary0(Runtime.java:1067) E/AndroidRuntime( 3735): at java.lang.Runtime.loadLibrary0(Runtime.java:1007) E/AndroidRuntime( 3735): at java.lang.System.loadLibrary(System.java:1667) E/AndroidRuntime( 3735): at com.weibo.ssosdk.WeiboSsoSdk.<clinit>(SourceFile:23) E/AndroidRuntime( 3735): at com.weibo.ssosdk.WeiboSsoSdk.initConfig(Unknown Source:0) E/AndroidRuntime( 3735): at com.sina.weibo.sdk.a.a.a(SourceFile:29) E/AndroidRuntime( 3735): at com.sina.weibo.sdk.a.a(SourceFile:1043) E/AndroidRuntime( 3735): at com.sina.weibo.sdk.openapi.a.registerApp(SourceFile:38) E/AndroidRuntime( 3735): at io.github.v7lin.weibo_kit.WeiboKitPlugin.onMethodCall(WeiboKitPlugin.java:184) E/AndroidRuntime( 3735): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233) E/AndroidRuntime( 3735): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/AndroidRuntime( 3735): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818) E/AndroidRuntime( 3735): at android.os.MessageQueue.nativePollOnce(Native Method) E/AndroidRuntime( 3735): at android.os.MessageQueue.next(MessageQueue.java:336) E/AndroidRuntime( 3735): at android.os.Looper.loop(Looper.java:174) E/AndroidRuntime( 3735): at android.app.ActivityThread.main(ActivityThread.java:7356) E/AndroidRuntime( 3735): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 3735): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) E/AndroidRuntime( 3735): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) I/Process ( 3735): Sending signal. PID: 3735 SIG: 9 Lost connection to device.
Xcode's output:
↳
In file included from
/Users/jinsong5/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake
_weibo-0.2.4/ios/Classes/FakeWeiboPlugin.m:2:
/Users/jinsong5/Desktop/zhongce/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h
:153:9: warning: parameter 'mid' not found in the function declaration
[-Wdocumentation]
@param mid 微博id
^~~
/Users/jinsong5/Desktop/zhongce/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h
:154:9: warning: parameter 'aid' not found in the function declaration
[-Wdocumentation]
@param aid 文章id
^~~
/Users/jinsong5/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake
_weibo-0.2.4/ios/Classes/FakeWeiboPlugin.m:165:44: warning: unused variable
'sendMessageToWeiboResponse' [-Wunused-variable]
WBSendMessageToWeiboResponse * sendMessageToWeiboResponse =
(WBSendMessageToWeiboResponse *) response;
^
3 warnings generated.
In file included from
/Users/jinsong5/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake
_weibo-0.2.4/ios/Classes/FakeWeiboPlugin.m:2:
/Users/jinsong5/Desktop/zhongce/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h
:153:9: warning: parameter 'mid' not found in the function declaration
[-Wdocumentation]
@param mid 微博id
^~~
/Users/jinsong5/Desktop/zhongce/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h
:154:9: warning: parameter 'aid' not found in the function declaration
[-Wdocumentation]
@param aid 文章id
^~~
/Users/jinsong5/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fake
_weibo-0.2.4/ios/Classes/FakeWeiboPlugin.m:165:44: warning: unused variable
'sendMessageToWeiboResponse' [-Wunused-variable]
WBSendMessageToWeiboResponse * sendMessageToWeiboResponse =
(WBSendMessageToWeiboResponse *) response;
^
3 warnings generated.
ld: warning: instance method 'wbsdk_stringByReplacingRange:with:' in
category from
/Users/jinsong5/Desktop/zhongce/ios/Pods/Weibo_SDK/libWeiboSDK/libWeiboSDK.a
(WBSDKComposerWebViewController.o) conflicts with same method from another
category
ld: warning: instance method 'wbsdk_stringByReplacingRange:with:' in
category from
/Users/jinsong5/Desktop/zhongce/ios/Pods/Weibo_SDK/libWeiboSDK/libWeiboSDK.a
(WBSDKAuthorizeWebViewController.o) conflicts with same method from another
category
ld: warning: instance method 'wbsdk_stringByReplacingRange:with:' in
category from
/Users/jinsong5/Desktop/zhongce/ios/Pods/Weibo_SDK/libWeiboSDK/libWeiboSDK.a
(WBSDKComposerWebViewController.o) conflicts with same method from another
category
ld: warning: instance method 'wbsdk_stringByReplacingRange:with:' in
category from
/Users/jinsong5/Desktop/zhongce/ios/Pods/Weibo_SDK/libWeiboSDK/libWeiboSDK.a
(WBSDKAuthorizeWebViewController.o) conflicts with same method from another
category
Non-fat binary
/Users/jinsong5/Desktop/zhongce/build/ios/Debug-iphoneos/Runner.app/Framewor
ks/Reachability.framework/Reachability is not armv7. Running lipo -info:
Non-fat file:
/Users/jinsong5/Desktop/zhongce/build/ios/Debug-iphoneos/Runner.app/Framewor
ks/Reachability.framework/Reachability is architecture: arm64
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build systemnote: Planning buildnote: Constructing build
description
Could not build the precompiled application for the device.
Error launching application on iPhone.
我用x86模拟器时出现这个错误,好像是没有对应的so文件。
Syncing files to device sdk gphone x86...
E/flutter (10691): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.UnsatisfiedLinkError: dlopen failed: library "libwind.so" not found
谢谢
Weibo _weibo = Weibo()
..registerApp(
appKey: _WEIBO_APP_KEY,
scope: _WEIBO_SCOPE,
redirectUrl: _WEIBOURL,
);
执行registerApp时会报如下错误
W/System.err(30511): java.lang.Exception: visitor login failed
W/System.err(30511): at com.weibo.ssosdk.WeiboSsoSdk.getAid(WeiboSsoSdk.java:363)
W/System.err(30511): at com.sina.weibo.sdk.sso.WeiboSsoManager.initAid(WeiboSsoManager.java:42)
W/System.err(30511): at com.sina.weibo.sdk.sso.WeiboSsoManager.init(WeiboSsoManager.java:37)
W/System.err(30511): at com.sina.weibo.sdk.auth.BaseSsoHandler.<init>(BaseSsoHandler.java:53)
W/System.err(30511): at com.sina.weibo.sdk.auth.sso.SsoHandler.<init>(SsoHandler.java:17)
W/System.err(30511): at io.github.v7lin.fakeweibo.FakeWeiboPlugin.onMethodCall(FakeWeiboPlugin.java:105)
W/System.err(30511): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222)
W/System.err(30511): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96)
W/System.err(30511): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:643)
W/System.err(30511): at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err(30511): at android.os.MessageQueue.next(MessageQueue.java:386)
W/System.err(30511): at android.os.Looper.loop(Looper.java:175)
W/System.err(30511): at android.app.ActivityThread.main(ActivityThread.java:7625)
W/System.err(30511): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(30511): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
W/System.err(30511): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
E/SharesdkPlugin(30511): Android no need this method, Please use gradle set
您好,非常感谢开发这么棒的开源库,但是我在 iOS 上使用登录的时候没有回调消息,我是按照您的文档写的,您知道可能是什么原因吗?
Xcode's output:
↳
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (NSString *)getWeiboAppInstallUrl;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: note: insert '_Nullable' if the pointer may be null
+ (NSString *)getWeiboAppInstallUrl;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: note: insert '_Nonnull' if the pointer should never be null
+ (NSString *)getWeiboAppInstallUrl;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: note: insert '_Nullable' if the pointer may be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: note: insert '_Nonnull' if the pointer should never be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:35: note: insert '_Nullable' if the block pointer may be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:413:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBMessageObject *message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:413:47: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:413:47: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)responseWithMessage:(WBMessageObject *)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:4: note: insert '_Nullable' if the pointer may be null
+ (id)responseWithMessage:(WBMessageObject *)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)responseWithMessage:(WBMessageObject *)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:44: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)responseWithMessage:(WBMessageObject *)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:44: note: insert '_Nullable' if the pointer may be null
+ (id)responseWithMessage:(WBMessageObject *)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:420:44: note: insert '_Nonnull' if the pointer should never be null
+ (id)responseWithMessage:(WBMessageObject *)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:434:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBMessageObject *message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:434:47: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:434:47: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)requestWithMessage:(WBMessageObject *)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:4: note: insert '_Nullable' if the pointer may be null
+ (id)requestWithMessage:(WBMessageObject *)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)requestWithMessage:(WBMessageObject *)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)requestWithMessage:(WBMessageObject *)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:43: note: insert '_Nullable' if the pointer may be null
+ (id)requestWithMessage:(WBMessageObject *)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:443:43: note: insert '_Nonnull' if the pointer should never be null
+ (id)requestWithMessage:(WBMessageObject *)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)requestWithMessage:(WBMessageObject *)message
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:4: note: insert '_Nullable' if the pointer may be null
+ (id)requestWithMessage:(WBMessageObject *)message
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)requestWithMessage:(WBMessageObject *)message
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)requestWithMessage:(WBMessageObject *)message
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:43: note: insert '_Nullable' if the pointer may be null
+ (id)requestWithMessage:(WBMessageObject *)message
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:456:43: note: insert '_Nonnull' if the pointer should never be null
+ (id)requestWithMessage:(WBMessageObject *)message
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:457:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
authInfo:(WBAuthorizeRequest *)authRequest
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:457:46: note: insert '_Nullable' if the pointer may be null
authInfo:(WBAuthorizeRequest *)authRequest
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:457:46: note: insert '_Nonnull' if the pointer should never be null
authInfo:(WBAuthorizeRequest *)authRequest
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:458:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
access_token:(NSString *)access_token;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:458:36: note: insert '_Nullable' if the pointer may be null
access_token:(NSString *)access_token;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:458:36: note: insert '_Nonnull' if the pointer should never be null
access_token:(NSString *)access_token;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:470:50: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:470:50: note: insert '_Nullable' if the pointer may be null
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:470:50: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:482:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBMessageObject *message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:482:47: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:482:47: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBMessageObject *message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:490:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)requestWithMessage:(WBMessageObject *)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:490:45: note: insert '_Nullable' if the pointer may be null
+ (void)requestWithMessage:(WBMessageObject *)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:490:45: note: insert '_Nonnull' if the pointer should never be null
+ (void)requestWithMessage:(WBMessageObject *)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:488:3: warning: '@return' command used in a comment that is attached to a method returning void [-Wdocumentation]
@return 返回一个*自动释放的*WBSendMessageToWeiboRequest对象
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:501:50: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:501:50: note: insert '_Nullable' if the pointer may be null
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:501:50: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic,strong) WBAuthorizeResponse *authResponse;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:518:40: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) NSString *text;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:518:40: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) NSString *text;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:518:40: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) NSString *text;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:525:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBImageObject *imageObject;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:525:45: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBImageObject *imageObject;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:525:45: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBImageObject *imageObject;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:532:49: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBBaseMediaObject *mediaObject;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:532:49: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBBaseMediaObject *mediaObject;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:532:49: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBBaseMediaObject *mediaObject;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:539:48: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) WBNewVideoObject *videoObject;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:539:48: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) WBNewVideoObject *videoObject;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:539:48: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) WBNewVideoObject *videoObject;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:547:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)message;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:547:4: note: insert '_Nullable' if the pointer may be null
+ (id)message;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:547:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)message;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:570:40: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
-(void)wbsdk_TransferDidReceiveObject:(id)object;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:570:40: note: insert '_Nullable' if the pointer may be null
-(void)wbsdk_TransferDidReceiveObject:(id)object;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:570:40: note: insert '_Nonnull' if the pointer should never be null
-(void)wbsdk_TransferDidReceiveObject:(id)object;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:575:99: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
-(void)wbsdk_TransferDidFailWithErrorCode:(WBSDKMediaTransferErrorCode)errorCode andError:(NSError*)error;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:575:99: note: insert '_Nullable' if the pointer may be null
-(void)wbsdk_TransferDidFailWithErrorCode:(WBSDKMediaTransferErrorCode)errorCode andError:(NSError*)error;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:575:99: note: insert '_Nonnull' if the pointer should never be null
-(void)wbsdk_TransferDidFailWithErrorCode:(WBSDKMediaTransferErrorCode)errorCode andError:(NSError*)error;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:590:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property (nonatomic, strong) NSData *imageData;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:590:38: note: insert '_Nullable' if the pointer may be null
@property (nonatomic, strong) NSData *imageData;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:590:38: note: insert '_Nonnull' if the pointer should never be null
@property (nonatomic, strong) NSData *imageData;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:602:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)object;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:602:4: note: insert '_Nullable' if the pointer may be null
+ (id)object;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:602:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)object;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:609:12: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (UIImage *)image;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:609:12: note: insert '_Nullable' if the pointer may be null
- (UIImage *)image;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:609:12: note: insert '_Nonnull' if the pointer should never be null
- (UIImage *)image;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:615:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:615:52: note: insert '_Nullable' if the pointer may be null
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:615:52: note: insert '_Nonnull' if the pointer should never be null
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:620:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (void)addImages:(NSArray<UIImage *>*)imageArray;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:620:38: note: insert '_Nullable' if the pointer may be null
- (void)addImages:(NSArray<UIImage *>*)imageArray;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:620:38: note: insert '_Nonnull' if the pointer should never be null
- (void)addImages:(NSArray<UIImage *>*)imageArray;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:625:10: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
-(NSArray*)finalAssetArray;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:625:10: note: insert '_Nullable' if the pointer may be null
-(NSArray*)finalAssetArray;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:625:10: note: insert '_Nonnull' if the pointer should never be null
-(NSArray*)finalAssetArray;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:636:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (id)object;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:636:4: note: insert '_Nullable' if the pointer may be null
+ (id)object;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:636:4: note: insert '_Nonnull' if the pointer should never be null
+ (id)object;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:646:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:646:52: note: insert '_Nullable' if the pointer may be null
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:646:52: note: insert '_Nonnull' if the pointer should never be null
@property(nonatomic,weak)id<WBMediaTransferProtocol> delegate;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:651:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
-(void)addVideo:(NSURL*)videoUrl;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:651:23: note: insert '_Nullable' if the pointer may be null
-(void)addVideo:(NSURL*)videoUrl;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:651:23: note: insert '_Nonnull' if the pointer should never be null
-(void)addVideo:(NSURL*)videoUrl;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:656:11: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
-(NSString*)finalAsset;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:656:11: note: insert '_Nullable' if the pointer may be null
-(NSString*)finalAsset;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:656:11: note: insert '_Nonnull' if the pointer should never be null
-(NSString*)finalAsset;
^
_Nonnull
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:118:52: warning: 'object' is deprecated: WBBaseMediaObject is deprecated [-Wdeprecated-declarations]
WBWebpageObject *object = [WBWebpageObject object];
^
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:706:25: note: 'object' has been explicitly marked deprecated here
+ (id _Nullable )object DEPRECATED_MSG_ATTRIBUTE("WBBaseMediaObject is deprecated");
^
In module 'Foundation' imported from /Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:8:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/AvailabilityMacros.h:185:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:126:16: warning: 'webpageUrl' is deprecated: webpageUrl is deprecated [-Wdeprecated-declarations]
object.webpageUrl = call.arguments[ARGUMENT_KEY_WEBPAGEURL];
^
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:723:63: note: 'webpageUrl' has been explicitly marked deprecated here
@property (nonatomic, strong) NSString * _Nullable webpageUrl DEPRECATED_MSG_ATTRIBUTE("webpageUrl is deprecated");
^
In module 'Foundation' imported from /Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:8:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/AvailabilityMacros.h:185:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:177:43: warning: unused variable 'sendMessageToWeiboResponse' [-Wunused-variable]
WBSendMessageToWeiboResponse *sendMessageToWeiboResponse = (WBSendMessageToWeiboResponse *)response;
^
68 warnings generated.
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (NSString *)getWeiboAppInstallUrl;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: note: insert '_Nullable' if the pointer may be null
+ (NSString *)getWeiboAppInstallUrl;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:81:13: note: insert '_Nonnull' if the pointer should never be null
+ (NSString *)getWeiboAppInstallUrl;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: note: insert '_Nullable' if the pointer may be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:66: note: insert '_Nonnull' if the pointer should never be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:35: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:35: note: insert '_Nullable' if the block pointer may be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:113:35: note: insert '_Nonnull' if the block pointer should never be null
+ (void)checkUniversalLink:(void (^)(WBULCheckStep step, NSError *error))checkBlock;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:30: note: insert '_Nullable' if the pointer may be null
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:30: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:65: note: insert '_Nullable' if the pointer may be null
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:123:65: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)handleOpenURL:(NSURL *)url delegate:(id<WeiboSDKDelegate>)delegate;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:133:49: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)handleOpenUniversalLink:(NSUserActivity *)userActivity delegate:(nullable id<WeiboSDKDelegate>)delegate;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:133:49: note: insert '_Nullable' if the pointer may be null
+ (BOOL)handleOpenUniversalLink:(NSUserActivity *)userActivity delegate:(nullable id<WeiboSDKDelegate>)delegate;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:133:49: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)handleOpenUniversalLink:(NSUserActivity *)userActivity delegate:(nullable id<WeiboSDKDelegate>)delegate;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:146:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)sendRequest:(WBBaseRequest *)request completion:(void (^ __nullable)(BOOL success))completion;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:146:36: note: insert '_Nullable' if the pointer may be null
+ (void)sendRequest:(WBBaseRequest *)request completion:(void (^ __nullable)(BOOL success))completion;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:146:36: note: insert '_Nonnull' if the pointer should never be null
+ (void)sendRequest:(WBBaseRequest *)request completion:(void (^ __nullable)(BOOL success))completion;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:157:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)sendResponse:(WBBaseResponse *)response completion:(void (^ __nullable)(BOOL success))completion;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:157:38: note: insert '_Nullable' if the pointer may be null
+ (void)sendResponse:(WBBaseResponse *)response completion:(void (^ __nullable)(BOOL success))completion;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:157:38: note: insert '_Nonnull' if the pointer should never be null
+ (void)sendResponse:(WBBaseResponse *)response completion:(void (^ __nullable)(BOOL success))completion;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:35: note: insert '_Nullable' if the pointer may be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:35: note: insert '_Nonnull' if the pointer should never be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:53: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:77: note: insert '_Nullable' if the pointer may be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:77: note: insert '_Nonnull' if the pointer should never be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:105: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:105: note: insert '_Nullable' if the pointer may be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:180:105: note: insert '_Nonnull' if the pointer should never be null
+ (void)logOutWithToken:(NSString *)token delegate:(id<WBHttpRequestDelegate>)delegate withTag:(NSString*)tag;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:193:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (void)linkToUser:(NSString *)uid;
^
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:193:30: note: insert '_Nullable' if the pointer may be null
+ (void)linkToUser:(NSString *)uid;
^
_Nullable
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:193:30: note: insert '_Nonnull' if the pointer should never be null
+ (void)linkToUser:(NSString *)uid;
^
_Nonnull
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:188:9: warning: parameter 'mid' not found in the function declaration [-Wdocumentation]
@param mid 微博id
^~~
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:189:9: warning: parameter 'aid' not found in the function declaration [-Wdocumentation]
@param aid 文章id
^~~
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:118:52: warning: 'object' is deprecated: WBBaseMediaObject is deprecated [-Wdeprecated-declarations]
WBWebpageObject *object = [WBWebpageObject object];
^
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:706:25: note: 'object' has been explicitly marked deprecated here
+ (id _Nullable )object DEPRECATED_MSG_ATTRIBUTE("WBBaseMediaObject is deprecated");
^
In module 'Foundation' imported from /Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:8:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/AvailabilityMacros.h:185:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:126:16: warning: 'webpageUrl' is deprecated: webpageUrl is deprecated [-Wdeprecated-declarations]
object.webpageUrl = call.arguments[ARGUMENT_KEY_WEBPAGEURL];
^
In file included from /Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:2:
/Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:723:63: note: 'webpageUrl' has been explicitly marked deprecated here
@property (nonatomic, strong) NSString * _Nullable webpageUrl DEPRECATED_MSG_ATTRIBUTE("webpageUrl is deprecated");
^
In module 'Foundation' imported from /Users/company/jz_imageclip/ios/Pods/Headers/Public/Weibo_SDK/WeiboSDK.h:8:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/AvailabilityMacros.h:185:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/weibo_kit-3.1.0/ios/Classes/WeiboKitPlugin.m:177:43: warning: unused variable 'sendMessageToWeiboResponse' [-Wunused-variable]
WBSendMessageToWeiboResponse *sendMessageToWeiboResponse = (WBSendMessageToWeiboResponse *)response;
^
Info.plist已设置
flutter doctor
如下
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.3.1 21E258 darwin-arm, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.57.1)
[✓] Connected device (2 available)
• No issues found!
更新到flutter 1.12版本,ios 下fake_weibo插件用不了,运行报下面的错,把fake_weibo插件去掉运行正常。
android 使用正常。
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "fake_weibo":
In Podfile:
fake_weibo (from `.symlinks/plugins/fake_weibo/ios`)
Specs satisfying the `fake_weibo (from `.symlinks/plugins/fake_weibo/ios`)` dependency were found, but they required a higher minimum deployment target.
flutter 1.20.3
错误日志:java.lang.SecurityException: getSerial requires READ_PHONE_STATE or READ_PRIVILEGED_PHONE_STATE permission
执行 pod install 时,出现的错误如下:
[!] CocoaPods could not find compatible versions for pod "fake_weibo":
In Podfile:
fake_weibo (from.symlinks/plugins/fake_weibo/ios
)Specs satisfying the
fake_weibo (from
.symlinks/plugins/fake_weibo/ios)
dependency were found, but they required a higher minimum deployment target.[!] Automatically assigning platform
iOS
with version8.0
on targetRunner
because no platform was specified. Please specify a platform for this target in your Podfile. Seehttps://guides.cocoapods.org/syntax/podfile.html#platform
.
大佬 抖音的SDK接入有木有插件的 我是小白
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.