Git Product home page Git Product logo

xiaweizi / simplicityweather Goto Github PK

View Code? Open in Web Editor NEW
442.0 9.0 82.0 93.17 MB

一款简约风格的 flutter 天气项目,提供实时、多日、24 小时、台风路径以及生活指数等服务,支持定位、删除、搜索等操作。

Home Page: http://xiaweizi.cn

Kotlin 21.07% Ruby 0.32% Swift 0.12% Objective-C 0.01% Dart 78.48%
flutter-apps dart weather-app weather weather-forecast flutter-examples

simplicityweather's Issues

界面一直 loadding, 日志如下

image

Performing hot reload...
Reloaded 0 of 912 libraries in 76ms.
flutter: fluttify-dart: AMapLocationManager@105553125612240::requestLocationWithReGeocode(['withReGeocode':true])
UMLOG: event: session_id=750FE94A8995D471515878C7EF06E824, event=located_city_name, label=null null
[VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: Unhandled error Converting object to an encodable object failed: Instance of 'CityModel' occurred in Instance of 'CityBloc'.
#0 _JsonStringifier.writeObject (dart:convert/json.dart:687:7)
#1 _JsonStringifier.writeList (dart:convert/json.dart:735:7)
#2 _JsonStringifier.writeJsonValue (dart:convert/json.dart:717:7)
#3 _JsonStringifier.writeObject (dart:convert/json.dart:678:9)
#4 _JsonStringStringifier.printOn (dart:convert/json.dart:876:17)
#5 _JsonStringStringifier.stringify (dart:convert/json.dart:861:5)
#6 JsonEncoder.convert (dart:convert/json.dart:261:30)
#7 JsonCodec.encode (dart:convert/json.dart:171:45)
#8 SPUtil.saveCityModels (package:flutter_dynamic_weather/app/utils/shared_preference_util.dart:22:26)

没有开发桌面小部件吗

请教下,如何给应用制作桌面小部件功能
今天问别人他们说flutter不能实现跨平台的小部件功能

mac 跑不起来

Running Xcode build...
Xcode build done. 32.1s
Failed to build iOS app
Error output from Xcode build:

2020-09-11 16:28:19.170 xcodebuild[79980:1301797] WARNING: Failed to load plugin at path:
"/Users/duodian/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin", skipping.
Error: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets): no suitable image
found. Did find:
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets: code signature in
(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets) not valid for use
in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom
identity or adhoc?)
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets: stat() failed with
errno=1" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources.,
NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets,
NSDebugDescription=dlopen_preflight(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets): no suitable image
found. Did find:
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets: code signature in
(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets) not valid for use
in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom
identity or adhoc?)
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin/Contents/MacOS/RTImageAssets: stat() failed with
errno=1, NSBundlePath=/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/RTImageAssets.xcplugin, NSLocalizedDescription=The bundle
“RTImageAssets” couldn’t be loaded because it is damaged or missing necessary resources.}
2020-09-11 16:28:19.177 xcodebuild[79980:1301797] WARNING: Failed to load plugin at path:
"/Users/duodian/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin", skipping. Error:
Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz): no suitable image found. Did
find:
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz: code signature in
(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz) not valid for use in process
using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz: stat() failed with errno=1"
UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources.,
NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz,
NSDebugDescription=dlopen_preflight(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz): no suitable image found.
Did find:
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz: code signature in
(/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz) not valid for use in process
using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/duodian/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/MacOS/Alcatraz: stat() failed with errno=1,
NSBundlePath=/Users/duodian/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin,
NSLocalizedDescription=The bundle “Alcatraz” couldn’t be loaded because it is damaged or missing necessary
resources.}
2020-09-11 16:28:19.613 xcodebuild[79980:1301812] DTDeviceKit: deviceType from
73dd1eb3e33a0f0debd6272d422868c323f875d7 was NULL
2020-09-11 16:28:19.710 xcodebuild[79980:1301845] DTDeviceKit: deviceType from
73dd1eb3e33a0f0debd6272d422868c323f875d7 was NULL
** BUILD FAILED **

Xcode's output:

In file included from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/umeng_analytics_plugin-1.0.3/ios/Classes/UmengAnalyticsPlugin.
m:1:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:11:29: warning: this block declaration is not a prototype
[-Wstrict-prototypes]
typedef void(^CallbackBlock)();
^
void
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:65:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void
~^~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:64:9: warning: parameter 'UMAnalyticsConfig' not found in the
function declaration [-Wdocumentation]
@param UMAnalyticsConfig 实例类,具体参照该类成员的参数定义
^~~~~~~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:64:9: note: did you mean 'configure'?
@param UMAnalyticsConfig 实例类,具体参照该类成员的参数定义
^~~~~~~~~~~~~~~~~
configure
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:76:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:82:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:88:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:94:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:100:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:114:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:122:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:130:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:144:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:143:10: warning: parameter '(optional)' not found in the function
declaration [-Wdocumentation]
@param (optional) label 标签
^~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:143:10: note: did you mean 'label'?
@param (optional) label 标签
^~~~~~~~~~
label
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:154:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:152:10: warning: parameter 'label' not found in the function
declaration [-Wdocumentation]
@param label 分类标签。不同的标签会分别进行统计,方便同一事件的不同标签的对比,为nil或空字符串时后台会生成和eventId同名的标签.
^~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:153:10: warning: parameter 'accumulation' not found in the
function declaration [-Wdocumentation]
@param accumulation 累加值。为减少网络交互,可以自行对某一事件ID的某一分类标签进行累加,再传入次数作为参数。
^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:177:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:174:10: warning: parameter 'label' not found in the function
declaration [-Wdocumentation]
@param label 分类标签。不同的标签会分别进行统计,方便同一事件的不同标签的对比,为nil或空字符串时后台会生成和eventId同名的标签.
^~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:175:10: warning: parameter 'primarykey' not found in the function
declaration [-Wdocumentation]
@param primarykey 这个参数用于和event_id一起标示一个唯一事件,并不会被统计;对于同一个事件在beginEvent和endEvent 中要传递相同的eventId 和 primarykey
^~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:176:9: warning: parameter 'millisecond' not found in the function
declaration [-Wdocumentation]
@param millisecond 自己计时需要的话需要传毫秒进来
^~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:231:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:230:9: warning: parameter 'provider' not found in the function
declaration [-Wdocumentation]
@param provider : 不能以下划线""开头,使用大写字母和数字标识; 如果是上市公司,建议使用股票代码。
^~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa

v4.2.5/UMMobClick.framework/Headers/MobClick.h:238:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void.
~^~~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:250:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void
~^~~~~~~~~~~
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/UMengAnalytics-NO-IDFA/umsdk_IOS_analyics_no-idfa_
v4.2.5/UMMobClick.framework/Headers/MobClick.h:256:3: warning: '@return' command used in a comment that is
attached to a method returning void [-Wdocumentation]
@return void
~^~~~~~~~~~~
25 warnings generated.
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/foundation_fluttify-0.8.11+1/ios/Classes/PlatformService.m:34:
17: warning: performSelector may cause a leak because its selector is unknown [-Warc-performSelector-leaks]
[target performSelector:NSSelectorFromString(selector) withObject:object];
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/foundation_fluttify-0.8.11+1/ios/Classes/PlatformService.m:34:
33: note: used here
[target performSelector:NSSelectorFromString(selector) withObject:object];
^
1 warning generated.
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
131:46: warning: unused variable 'args' [-Wunused-variable]
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>>) argsBatch)
objectAtIndex:i];
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
230:46: warning: unused variable 'args' [-Wunused-variable]
NSDictionary<NSString*, id>* args = [((NSArray<NSDictionary<NSString*, id>>) argsBatch)
objectAtIndex:i];
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
595:31: warning: 'crashReportEnabled' is deprecated: 从v1.5.7开始废弃,调用无任何作用 [-Wdeprecated-declarations]
BOOL result = ref.crashReportEnabled;
^
In module 'AMapFoundationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/AmapCoreFluttifyPlugin.h:
6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapFoundation/AMapFoundationKit.framework/Headers
/AMapServices.h:34:70: note: 'crashReportEnabled' has been explicitly marked deprecated here
@Property (nonatomic, assign) BOOL crashReportEnabled attribute((deprecated("从v1.5.7开始废弃,调用无任何作用")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
1000:35: warning: 'crashReportEnabled' is deprecated: 从v1.5.7开始废弃,调用无任何作用 [-Wdeprecated-declarations]
BOOL result = ref.crashReportEnabled;
^
In module 'AMapFoundationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/AmapCoreFluttifyPlugin.h:
6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapFoundation/AMapFoundationKit.framework/Headers
/AMapServices.h:34:70: note: 'crashReportEnabled' has been explicitly marked deprecated here
@Property (nonatomic, assign) BOOL crashReportEnabled attribute((deprecated("从v1.5.7开始废弃,调用无任何作用")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
1360:17: warning: 'crashReportEnabled' is deprecated: 从v1.5.7开始废弃,调用无任何作用 [-Wdeprecated-declarations]
ref.crashReportEnabled = crashReportEnabled;
^
In module 'AMapFoundationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/AmapCoreFluttifyPlugin.h:
6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapFoundation/AMapFoundationKit.framework/Headers
/AMapServices.h:34:70: note: 'crashReportEnabled' has been explicitly marked deprecated here
@Property (nonatomic, assign) BOOL crashReportEnabled attribute((deprecated("从v1.5.7开始废弃,调用无任何作用")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
1709:21: warning: 'crashReportEnabled' is deprecated: 从v1.5.7开始废弃,调用无任何作用 [-Wdeprecated-declarations]
ref.crashReportEnabled = crashReportEnabled;
^
In module 'AMapFoundationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/AmapCoreFluttifyPlugin.h:
6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapFoundation/AMapFoundationKit.framework/Headers
/AMapServices.h:34:70: note: 'crashReportEnabled' has been explicitly marked deprecated here
@Property (nonatomic, assign) BOOL crashReportEnabled attribute((deprecated("从v1.5.7开始废弃,调用无任何作用")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_core_fluttify-0.9.5/ios/Classes/SubHandler/SubHandler0.m:
16:26: warning: unused variable 'weakSelf' [-Wunused-variable]
__weak __typeof(self)weakSelf = self;
^
7 warnings generated.
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:71:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:78:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
arglocationManager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:103:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:119:13: warning: incompatible pointer types initializing 'NSString ' with an expression of type
'NSObject<NSCoding,NSCopying,NSSecureCoding> ' [-Wincompatible-pointer-types]
NSString
argcustomID = customID == nil ? [NSNull null] : customID;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:121:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argerror = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:146:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:153:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:160:13: warning: incompatible pointer types initializing 'NSString ' with an expression of type
'NSObject<NSCoding,NSCopying,NSSecureCoding> ' [-Wincompatible-pointer-types]
NSString
argcustomID = customID == nil ? [NSNull null] : customID;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:162:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argerror = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:187:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:194:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
arglocationManager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:219:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:226:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argerror = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:251:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:258:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
arglocation = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:283:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:290:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
arglocation = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:297:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argreGeocode = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:322:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:349:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:385:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:392:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argnewHeading = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:405:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)amapLocationManager : (AMapLocationManager
)manager didStartMonitoringForRegion:
(AMapLocationRegion
)region
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:184:1: note: method 'amapLocationManager:didStartMonitoringForRegion:' declared here
- (void)amapLocationManager:(AMapLocationManager )manager didStartMonitoringForRegion:(AMapLocationRegion
)region attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:417:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:424:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:437:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)amapLocationManager : (AMapLocationManager
)manager didEnterRegion: (AMapLocationRegion
)region
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:191:1: note: method 'amapLocationManager:didEnterRegion:' declared here
- (void)amapLocationManager:(AMapLocationManager )manager didEnterRegion:(AMapLocationRegion )region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:449:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:456:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:469:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)amapLocationManager : (AMapLocationManager
)manager didExitRegion: (AMapLocationRegion
)region
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:198:1: note: method 'amapLocationManager:didExitRegion:' declared here
- (void)amapLocationManager:(AMapLocationManager )manager didExitRegion:(AMapLocationRegion )region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:481:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:488:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:501:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)amapLocationManager : (AMapLocationManager
)manager didDetermineState: (AMapLocationRegionState)state
forRegion: (AMapLocationRegion
)region
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:206:1: note: method 'amapLocationManager:didDetermineState:forRegion:' declared here
- (void)amapLocationManager:(AMapLocationManager )manager didDetermineState:(AMapLocationRegionState)state
forRegion:(AMapLocationRegion )region attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:513:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:522:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:535:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)amapLocationManager : (AMapLocationManager
)manager monitoringDidFailForRegion:
(AMapLocationRegion
)region withError: (NSError*)error
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:214:1: note: method 'amapLocationManager:monitoringDidFailForRegion:withError:' declared here
- (void)amapLocationManager:(AMapLocationManager *)manager monitoringDidFailForRegion:(AMapLocationRegion
*)region withError:(NSError *)error attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:547:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argmanager = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:554:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregion = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.m:561:13: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type
'NSNull * _Nonnull' [-Wincompatible-pointer-types]
NSNumber
argerror = [NSNull null];
^ ~~~~~~~~~~~~~
38 warnings generated.
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:99:17: warning: 'township' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.township = township;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:68:63: note: 'township' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString *township
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:116:17: warning: 'neighborhood' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.neighborhood = neighborhood;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:71:67: note: 'neighborhood' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString *neighborhood
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:133:17: warning: 'building' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.building = building;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:74:63: note: 'building' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString *building
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:885:21: warning: 'township' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.township = township;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:68:63: note: 'township' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString *township
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:903:21: warning: 'neighborhood' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.neighborhood = neighborhood;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:71:67: note: 'neighborhood' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString neighborhood
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:921:21: warning: 'building' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
ref.building = building;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:74:63: note: 'building' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString building
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler1.m:16:26: warning: unused variable 'weakSelf' [-Wunused-variable]
__weak __typeof(self)weakSelf = self;
^
7 warnings generated.
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:656:27: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type 'NSNull *
_Nonnull' [-Wincompatible-pointer-types]
NSNumber
arglocation = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:663:27: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type 'NSNull *
_Nonnull' [-Wincompatible-pointer-types]
NSNumber
argregeocode = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:670:27: warning: incompatible pointer types initializing 'NSNumber ' with an expression of type 'NSNull *
_Nonnull' [-Wincompatible-pointer-types]
NSNumber
argerror = [NSNull null];
^ ~~~~~~~~~~~~~
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:745:18: warning: 'startMonitoringForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref startMonitoringForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:104:78: note: 'startMonitoringForRegion:' has been explicitly marked deprecated here
- (void)startMonitoringForRegion:(AMapLocationRegion )region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:767:18: warning: 'stopMonitoringForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref stopMonitoringForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:110:77: note: 'stopMonitoringForRegion:' has been explicitly marked deprecated here
- (void)stopMonitoringForRegion:(AMapLocationRegion )region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:789:18: warning: 'requestStateForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref requestStateForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:116:75: note: 'requestStateForRegion:' has been explicitly marked deprecated here
- (void)requestStateForRegion:(AMapLocationRegion )region attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:1413:46: warning: unused variable 'args' [-Wunused-variable]
NSDictionary<NSString
, id>
args = [((NSArray<NSDictionary<NSString
, id>
>
) argsBatch)
objectAtIndex:i];
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:1567:22: warning: 'startMonitoringForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref startMonitoringForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:104:78: note: 'startMonitoringForRegion:' has been explicitly marked deprecated here
- (void)startMonitoringForRegion:(AMapLocationRegion *)region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:1592:22: warning: 'stopMonitoringForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref stopMonitoringForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:110:77: note: 'stopMonitoringForRegion:' has been explicitly marked deprecated here
- (void)stopMonitoringForRegion:(AMapLocationRegion *)region
attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:1617:22: warning: 'requestStateForRegion:' is deprecated: 请使用AMapGeoFenceManager
[-Wdeprecated-declarations]
[ref requestStateForRegion : region];
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationManager.h:116:75: note: 'requestStateForRegion:' has been explicitly marked deprecated here
- (void)requestStateForRegion:(AMapLocationRegion )region attribute((deprecated("请使用AMapGeoFenceManager")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:2333:36: warning: 'township' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.township;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:68:63: note: 'township' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString township
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:2351:36: warning: 'neighborhood' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.neighborhood;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:71:67: note: 'neighborhood' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString neighborhood
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:2369:36: warning: 'building' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.building;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:74:63: note: 'building' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString building
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:3460:40: warning: 'township' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.township;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:68:63: note: 'township' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString township
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:3480:40: warning: 'neighborhood' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.neighborhood;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:71:67: note: 'neighborhood' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString neighborhood
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/SubHandler/SubHand
ler0.m:3500:40: warning: 'building' is deprecated: 该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.
[-Wdeprecated-declarations]
NSString
result = ref.building;
^
In module 'AMapLocationKit' imported from
/Users/duodian/.pub-cache/hosted/pub.flutter-io.cn/amap_location_fluttify-0.14.0+1/ios/Classes/AmapLocationFlutti
fyPlugin.h:6:
/Users/duodian/Downloads/work/morec/SimplicityWeather/ios/Pods/AMapLocation/AMapLocationKit.framework/Headers/AMa
pLocationCommonObj.h:74:63: note: 'building' has been explicitly marked deprecated here
@Property (nonatomic, copy) NSString *building
attribute((deprecated("该字段从v2.2.0版本起不再返回数据,建议您使用AMapSearchKit的逆地理功能获取.")));
^
16 warnings generated.
lib/views/app/flutter_app.dart:40:24: Error: 'Router' is imported from both
'package:flutter/src/widgets/router.dart' and 'package:flutter_dynamic_weather/app/router.dart'.
onGenerateRoute: Router.generateRoute,
^^^^^^
lib/views/pages/home/home_page.dart:76:43: Error: 'Router' is imported from both
'package:flutter/src/widgets/router.dart' and 'package:flutter_dynamic_weather/app/router.dart'.
Navigator.of(context).pushNamed(Router.search);
^^^^^^
lib/views/pages/manager/manager_page.dart:330:43: Error: 'Router' is imported from both
'package:flutter/src/widgets/router.dart' and 'package:flutter_dynamic_weather/app/router.dart'.
Navigator.of(context).pushNamed(Router.search);
^^^^^^
lib/views/pages/home/main_app_bar.dart:106:47: Error: 'Router' is imported from both
'package:flutter/src/widgets/router.dart' and 'package:flutter_dynamic_weather/app/router.dart'.
Navigator.of(context).pushNamed(Router.manager);
^^^^^^
lib/views/pages/home/main_app_bar.dart:127:47: Error: 'Router' is imported from both
'package:flutter/src/widgets/router.dart' and 'package:flutter_dynamic_weather/app/router.dart'.
Navigator.of(context).pushNamed(Router.about);
^^^^^^

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning build
note: Constructing build description

这个报错怎么解决呢?

Could not determine the dependencies of task ':amap_core_fluttify:compileDebugJavaWithJavac'.

Failed to find Platform SDK with path: platforms;android-28
第一次跑你这个工程运行到手机,报这个错,感谢赐教

疑惑:自动生成的代码

大佬,我看代码里generated/json目录和model目录里有很多自动生成的代码,请问是用的什么工具,怎么生成的呢?

Flutter版本升级问题

很不错的项目,可惜升级Flutter 3.0 太痛苦

高德定位组件已经不维护了
友盟统计插件也升级了
插件中依赖地址也废弃变更
V1升级V2 Gradle版本升级
还有好多编译版本问题。。。。

升级失败 哎。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.