fluttercommunity / app_review

App Review - Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. Maintainer: @rodydavis
https://fluttercommunity.github.io/app_review/
MIT License
335 stars 121 forks source link

Errors on deploy on iOS #8

Closed duduf15 closed 5 years ago

duduf15 commented 5 years ago

Hi, add implement your plugin app_review: ^0.0.9 in my flutter project, no problem on Android but when i wanted to deploy on iOS i got many errors. When is remove your plugin of the project all is ok. before i had resolved an other problem, specify here #7

Thanks for your plugin and your help.

Flutter Doctor :

[✓] Flutter (Channel master, v1.1.6-pre.4, on Mac OS X 10.13.6 17G65, locale
    fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] Connected device (1 available)
• No issues found!

Terminal output:

Xcode build done.                                           26,4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1252:95: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.h:514:131: note: parameter of overridden method is annotated with __attribute__((noescape))
- (BOOL)executeStatements:(NSString *)sql withResultBlock:(__attribute__((noescape)) FMDBExecuteStatementsCallbackBlock _Nullable)block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1394:51: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (NSError*)inSavePoint:(void (^)(BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabase.h:988:88: note: parameter of overridden method is annotated with __attribute__((noescape))
- (NSError * _Nullable)inSavePoint:(__attribute__((noescape)) void (^)(BOOL *rollback))block;
^
2 warnings generated.
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:238:46: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inDatabase:(void (^)(FMDatabase *db))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:15:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h:199:72: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inDatabase:(__attribute__((noescape)) void (^)(FMDatabase *db))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:273:73: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:15:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h:213:99: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inDeferredTransaction:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:277:65: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:15:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h:206:91: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inTransaction:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:281:67: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m:15:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h:224:104: note: parameter of overridden method is annotated with __attribute__((noescape))
- (NSError * _Nullable)inSavePoint:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
4 warnings generated.
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:173:46: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inDatabase:(void (^)(FMDatabase *db))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:9:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:204:72: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inDatabase:(__attribute__((noescape)) void (^)(FMDatabase *db))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:230:73: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:9:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:218:99: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inDeferredTransaction:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:234:65: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:9:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:211:91: note: parameter of overridden method is annotated with __attribute__((noescape))
- (void)inTransaction:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:238:67: warning: parameter of overriding method should be annotated with __attribute__((noescape)) [-Wmissing-noescape]
- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block {
^
In file included from flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:9:
flutter_app/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:231:104: note: parameter of overridden method is annotated with __attribute__((noescape))
- (NSError * _Nullable)inSavePoint:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
^
4 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
While building module 'Flutter' imported from flutter_app/ios/Runner/AppDelegate.h:1:
In file included from <module-includes>:1:
In file included from flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:51:
In file included from flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterAppDelegate.h:11:
flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterPlugin.h:124:34: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
didReceiveLocalNotification:(UILocalNotification*)notification;
^
In module 'UIKit' imported from flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterAppDelegate.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
While building module 'Flutter' imported from flutter_app/ios/Runner/AppDelegate.h:1:
In file included from <module-includes>:1:
In file included from flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:62:
flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:92:34: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
didReceiveLocalNotification:(UILocalNotification*)notification;
^
In module 'UIKit' imported from flutter_app/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterAppDelegate.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
2 warnings generated.
2 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AppReviewPlugin", referenced from:
objc-class-ref in GeneratedPluginRegistrant.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone XR.
Exited (sigterm)