Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on deploy on iOS #8

Closed
duduf15 opened this issue Jan 27, 2019 · 0 comments
Closed

Errors on deploy on iOS #8

duduf15 opened this issue Jan 27, 2019 · 0 comments

Comments

@duduf15
Copy link

duduf15 commented Jan 27, 2019

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants