I m try in to build an Ios app made with Flutter and Dart ( I did not program it)
But i have this error Command PhaseScriptExecution failed with a nonzero exit code
I don t really understand why, because in the details as seen here, i only have some warnings but no errors.
As i didn t programm it , i don t really know how to handle this, any idea please?
i m using
xcode 12.4
Flutter 2.0.6
Dart 2.12.3
The answers i found related to similar topics didn´t really help me
here the detailled output
Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...
Xcode build done. 684.0s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+7/ios/Classes/FLTImagePickerPlugin.m:149:20: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 -
UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
[[[UIAlertView alloc] initWithTitle:#"Error"
^
In module 'UIKit' imported from /Users/vanessa/Documents/VSProjects/Teichmann-master/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note:
'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
1 warning generated.
In file included from /Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.m:26:
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration
[-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:2:
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration
[-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan_fix-1.0.2/ios/Classes/ScannerOverlay.m:25:12: warning: unused variable 'scanLineColor' [-Wunused-variable]
UIColor *scanLineColor = UIColor.redColor;
^
1 warning generated.
1 warning generated.
../../Flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/src/picture_provider.dart:50:59: Error: No named parameter with the name 'nullOk'.
context != null ? Localizations.localeOf(context, nullOk: true) : null,
^^^^^^
../../Flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
static Locale localeOf(BuildContext context) {
^^^^^^^^
../../Flutter/.pub-cache/git/flutter-cupertino-date-picker-ee093f3440abc1f951c9936b0f6e09906a8ec25f/lib/src/date_picker.dart:103:34: Error: No named parameter with the name 'shadowThemeOnly'.
theme: Theme.of(context, shadowThemeOnly: true),
^^^^^^^^^^^^^^^
../../Flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 8.
Related
I am this error while building for device for iOS in flutter repeatedly, I have tried many things but no resolution yet. This issue is occurring with flutter firebase project and the release is stuck for more than 4 days. I need updated guide for me to resolve this issue as soon as possible
I have updated the flutter and current versions are Flutter 1.20.3 and dart 2.9.2
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file
reference for
"Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"
is a member
of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership in one of the groups will be preserved
(but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another
reference to the same path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Views/TOCropOverlayView.h" is a
member of multiple
groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the
groups will be preserved (but
membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another
reference to the same path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h"
is a member of
multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership in one of the groups will be preserved (but
membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another
reference to the same path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Views/TOCropScrollView.h" is a
member of multiple
groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the
groups will be preserved (but
membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another
reference to the same path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Views/TOCropToolbar.h" is a member
of multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the
groups will be preserved (but membership in
targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Views/TOCropView.h" is a member of
multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the
groups will be preserved (but membership in
targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/TOCropViewController.h" is a member
of multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of the
groups will be preserved (but membership in
targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h"
is a
member of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership in one of the groups will be
preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add
another reference to the same path.
** BUILD FAILED **
Xcode's output: ↳
In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26:
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
warning: parameter 'allowTapToDismiss' not found
in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26:
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
warning: parameter 'allowTapToDismiss' not found
in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
warning: parameter 'allowTapToDismiss' not found
in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:
warning: unused variable 'viewController'
[-Wunused-variable]
UIViewController *viewController =
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:
warning: unused variable 'topPadding'
[-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:
warning: unused variable 'bottomPadding'
[-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:
warning: unused variable 'size'
[-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
warning: parameter 'allowTapToDismiss' not found
in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
warning: empty paragraph passed to '#param'
command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:
warning: unused variable 'viewController'
[-Wunused-variable]
UIViewController *viewController =
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:
warning: unused variable 'topPadding'
[-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:
warning: unused variable 'bottomPadding'
[-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:
warning: unused variable 'size'
[-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
6 warnings generated.
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:195:43:
warning:
'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
[-Wdeprecated-declarations]
- (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage
*)remoteMessage {
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
note: 'FIRMessagingRemoteMessage' has been explicitly
marked deprecated here
__deprecated_msg(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/firebase_messaging/firebase_messaging-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.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/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
dation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:
note: expanded from macro
'__deprecated_msg'
#define __deprecated_msg(_msg) attribute((deprecated(_msg)))
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:307:24:
warning:
'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
[-Wdeprecated-declarations]
didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
note: 'FIRMessagingRemoteMessage' has been explicitly
marked deprecated here
__deprecated_msg(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/firebase_messaging/firebase_messaging-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.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/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
dation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:
note: expanded from macro
'__deprecated_msg'
#define __deprecated_msg(_msg) attribute((deprecated(_msg)))
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:141:30:
warning:
'shouldEstablishDirectChannel' is deprecated: FCM direct channel is deprecated, please use APNs channel for downstream message
delivery. [-Wdeprecated-declarations]
[FIRMessaging messaging].shouldEstablishDirectChannel = true;
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56:
note: 'shouldEstablishDirectChannel' has been
explicitly marked deprecated here
#property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/firebase_messaging/firebase_messaging-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.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/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
dation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:182:64:
note: expanded from macro
'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) attribute((deprecated(s)))
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:
warning: 'appData' is
deprecated [-Wdeprecated-declarations]
[self didReceiveRemoteNotification:remoteMessage.appData];
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
note: 'appData' has been explicitly marked deprecated
here
#property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/firebase_messaging/firebase_messaging-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.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/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
dation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:
note: expanded from macro
'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE attribute((deprecated))
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:306:1:
warning: implementing
deprecated method [-Wdeprecated-implementations]
- (void)messaging:(FIRMessaging *)messaging
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1:
note: method 'messaging:didReceiveMessage:' declared
here
- (void)messaging:(FIRMessaging *)messaging
^
/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:
warning: 'appData' is
deprecated [-Wdeprecated-declarations]
[_channel invokeMethod:#"onMessage" arguments:remoteMessage.appData];
^
In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
note: 'appData' has been explicitly marked deprecated
here
#property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/firebase_messaging/firebase_messaging-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.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/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
dation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:
note: expanded from macro
'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE attribute((deprecated))
^
6 warnings generated.
1 warning generated.
Failed to subset font; aborting.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h
(in target 'TOCropViewController'
from project 'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropOverlayView.h
(in target 'TOCropViewController' from project
'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h
(in target 'TOCropViewController' from
project 'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropScrollView.h
(in target 'TOCropViewController' from project
'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.h
(in target 'TOCropViewController' from project
'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropView.h
(in target 'TOCropViewController' from project 'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/TOCropViewController.h
(in target 'TOCropViewController' from project
'Pods')
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h
(in target
'TOCropViewController' from project 'Pods')
Encountered error while building for device.
This is an issue with the image cropper see here: not able to build project in iOS
The way I solved it was:
I deleted the Pods folder & Podfile & Podfile.lock under the iOS folder
I ran flutter clean & flutter packages get
If it doesn't work, try the stable channel flutter channel stable, and then go back to flutter channel master and repeat the steps above in each step. Sometimes switching channels fixes things for some reason.
When I trying to get the iOS file, there's below error. In settings, mode is debug and platform is iOS
I tried many ways to overcome this. But can't find any way. I have windows PC, not the mac. This app is perfectly work on android. I want to get deploy this app to the ios.
Warning: Building for device with codesigning disabled. You will have to manually codesign before
deploying to device.
Building com.sevensynco.jewtube for device (ios)...
Upgrading project.pbxproj
Running pod install...
107.7s
Running Xcode build...
Xcode build done. 134.3s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:38: warning: variable 'sum_left' may be
uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1426:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1425:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1510:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1509:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
4 warnings generated.
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:663:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:595:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1426:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1425:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1510:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1509:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
4 warnings generated.
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:663:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:595:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.m:26:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:2:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:71:21: warning:
unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.m:26:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:2:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/video_thumbnail-0.2.0/ios/Classes/VideoThumbnailPlugin.m:60:94: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
result( [FlutterError errorWithCode:[NSString stringWithFormat:#"Error %ld", error.code]
~~~ ^~~~~~~~~~
%ld (long)
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_database-3.1.1/ios/Classes/FLTFirebaseDatabasePlugin.m:13:79: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
return [FlutterError errorWithCode:[NSString stringWithFormat:#"Error %ld", error.code]
~~~ ^~~~~~~~~~
%ld (long)
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+2/darwin/Classes/FLTFirebaseCorePlugin.m:6:9: fatal error: 'UserAgent.h' file not found
#import "UserAgent.h"
^~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
════════════════════════════════════════════════════════════════════════════════
Building a deployable iOS app requires a selected Development Team with a
Provisioning Profile. Please ensure that a Development Team is selected by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected.
- For Xcode 10, look under General > Signing > Team.
- For Xcode 11 and newer, look under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
For more information, please visit:
https://flutter.dev/setup/#deploy-to-ios-devices
Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Encountered error while building for device.
Build failed :|
Failed to build for iOS
And below is the info.plist file;
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>NSAppleMusicUsageDescription</key>
<string>Explain why your app uses music</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Explain why your app uses photo library</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>jewtube</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
Please help me to resolve this.
It could be sometimes. Works when deintegrate pod.
cd ios
pod deintegrate
pod install
I'm trying to build on simulator but getting warnings and errors.
I have replaced many packages with latest version but nothing happened still getting a lots of warnings.
My MacOs version: catalina 10.15.2
flutter version:1.12.13+hotfix.5
dart version:2.7.0
flutter run output console:
Errors:
Failed to build iOS app
Error output from Xcode build:
↳
2019-12-23 14:40:27.817 XCBBuildService[82944:471889] Failed to remove:
/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex/XCBuil
dData/ad956668556b5ace65773807034d312f-manifest.xcbuild:
unlink(/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex
/XCBuildData/ad956668556b5ace65773807034d312f-manifest.xcbuild): No such file or directory (2)
2019-12-23 14:40:28.782 XCBBuildService[82944:471889] Failed to remove:
/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex/XCBuil
dData/ad956668556b5ace65773807034d312f-desc.xcbuild:
unlink(/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex
/XCBuildData/ad956668556b5ace65773807034d312f-desc.xcbuild): No such file or directory (2)
** BUILD FAILED **
Xcode's output:
Xcode's output:
↳
In file included from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.m:26
:
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:32
8:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:36
2:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:2:
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:32
8:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:36
2:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/git/plugins-441417c2fed0ff26bf84a49ab2c5ffd2aa5487de/packages/firebase_a
uth/ios/Classes/FirebaseAuthPlugin.m:358:62: warning: implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
userData[#"lastSignInTimestamp"] = [NSNumber numberWithInt:lastSignInDate];
~ ^~~~~~~~~~~~~~
1 warning generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRewardedV
ideoAdWrapper.m:67:66: warning: implicit conversion loses integer precision: 'FLTRewardedVideoAdStatus' to 'int'
[-Wshorten-64-to-32]
(NSString *)rewardedStatusToString[[NSNumber numberWithInt:_rewardedStatus]];
~ ^~~~~~~~~~~~~~~
1 warning generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:71:13: warning: 'testDevices' is deprecated: Use GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers.
[-Wdeprecated-declarations]
request.testDevices = testDevices;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:88:71: note: 'testDevices' has been explicitly marked deprecated here
#property(nonatomic, copy, nullable) NSArray<NSString *> *testDevices GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:91:15: warning: 'birthday' is deprecated [-Wdeprecated-declarations]
request.birthday =
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:95:55: note: 'birthday' has been explicitly marked deprecated here
#property(nonatomic, copy, nullable) NSDate *birthday GAD_DEPRECATED_ATTRIBUTE;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro
'GAD_DEPRECATED_ATTRIBUTE'
#define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:106:19: warning: 'gender' is deprecated [-Wdeprecated-declarations]
request.gender = genderValue;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:92:47: note: 'gender' has been explicitly marked deprecated here
#property(nonatomic, assign) GADGender gender GAD_DEPRECATED_ATTRIBUTE;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro
'GAD_DEPRECATED_ATTRIBUTE'
#define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:116:14: warning: 'tagForChildDirectedTreatment:' is deprecated: use [GADMobileAds.sharedInstance.requestConfiguration
tagForChildDirectedTreatment] [-Wdeprecated-declarations]
[request tagForChildDirectedTreatment:childDirected.boolValue];
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:126:5: note: 'tagForChildDirectedTreatment:' has been explicitly
marked deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
4 warnings generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
m:40:17: warning: 'configureWithApplicationID:' is deprecated: Use [GADMobileAds.sharedInstance startWithCompletionHandler:]
[-Wdeprecated-declarations]
[GADMobileAds configureWithApplicationID:appId];
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
h:6:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADMobileAds.h:74:5: note: 'configureWithApplicationID:' has been explicitly marked
deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE("Use [GADMobileAds.sharedInstance startWithCompletionHandler:]");
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
h:6:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
m:98:79: warning: implicit conversion loses integer precision: 'FLTMobileAdStatus' to 'int' [-Wshorten-64-to-32]
NSString *statusString = (NSString *)statusToString[[NSNumber numberWithInt:_status]];
~ ^~~~~~~
2 warnings generated.
<module-includes>:1:1: warning: umbrella header for module 'cloud_firestore' does not include header 'CloudFirestorePlugin.h'
[-Wincomplete-umbrella]
#import "Headers/cloud_firestore-umbrella.h"
^
1 warning generated.
<module-includes>:1:1: warning: umbrella header for module 'firebase_admob' does not include header 'FirebaseAdMobPlugin.h'
[-Wincomplete-umbrella]
#import "Headers/firebase_admob-umbrella.h"
^
1 warning generated.
2 warnings generated.
error: unable to read property list from file:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Runner/Info.plist: The operation couldn’t be completed.
(XCBUtil.PropertyListConversionError error 1.) (in target 'Runner' from project 'Runner')
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Shrutis-MacBook-Air:babilok brightrootssgruti$
You just have to upgrade your FlutterToast library
fluttertoast: ^4.0.0
And in my case, I changed the target platform to iOS 10.0 as well in Podfile
platform :ios, '10.0'
It's my very first time with ruby on rails.
I cloned this project from github.
https://github.com/fredwu/angel_nest
it took me a while to setup and figure out things.
i'm having a lot of compatibility issues as this project was made a long time ago.
when i do "bundle install"
I get this error and bundler stops.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/bin/ruby extconf.rb checking for main() in -lobjc... yes creating Makefile
make compiling v8_external.cpp clang: warning: argument unused during
compilation: '-rdynamic' [-Wunused-command-line-argument]
v8_external.cpp:10:9: warning: unused variable 'references'
[-Wunused-variable] VALUE references;
^ 1 warning generated. compiling v8_exception.cpp clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_exception.cpp:10:16: warning:
unused variable 'stack' [-Wunused-variable] static void* stack[20];
^ 1 warning generated. compiling v8_function.cpp clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_handle.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_array.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_try_catch.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_v8.cpp clang: warning:
argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_v8.cpp:22:49: warning: implicit
conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
V8::SetFlagsFromString(RSTRING_PTR(string), RSTRING_LEN(string));
~~ ^~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:674:6:
note: expanded from macro 'RSTRING_LEN'
RSTRING_EMBED_LEN(str) : \
^~~~~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:670:6:
note: expanded from macro 'RSTRING_EMBED_LEN'
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v8_v8.cpp:22:49: warning: implicit conversion loses integer precision:
'long' to 'int' [-Wshorten-64-to-32]
V8::SetFlagsFromString(RSTRING_PTR(string), RSTRING_LEN(string));
~~ ^~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:675:28:
note: expanded from macro 'RSTRING_LEN'
RSTRING(str)->as.heap.len)
~~~~~~~~~~~~~~~~~~~~~~^~~ 2 warnings generated. compiling v8_callbacks.cpp clang: warning: argument unused during compilation:
'-rdynamic' [-Wunused-command-line-argument] compiling v8_string.cpp
clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_string.cpp:18:73: warning:
implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
return rr_v8_handle_new(string_class, String::New(RSTRING_PTR(str), RSTRING_LEN(str)));
~~~~~~ ^~~~~~~~~~~~~~~~
/Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:674:6:
note: expanded from macro 'RSTRING_LEN'
RSTRING_EMBED_LEN(str) : \
^~~~~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:670:6:
note: expanded from macro 'RSTRING_EMBED_LEN'
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v8_string.cpp:18:73: warning: implicit conversion loses integer
precision: 'long' to 'int' [-Wshorten-64-to-32]
return rr_v8_handle_new(string_class, String::New(RSTRING_PTR(str), RSTRING_LEN(str)));
~~~~~~ ^~~~~~~~~~~~~~~~
/Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:675:28:
note: expanded from macro 'RSTRING_LEN'
RSTRING(str)->as.heap.len)
~~~~~~~~~~~~~~~~~~~~~~^~~ v8_string.cpp:23:79: warning: implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
return rr_v8_handle_new(string_class, String::NewSymbol(RSTRING_PTR(str), RSTRING_LEN(str)));
~~~~~~ ^~~~~~~~~~~~~~~~
/Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:674:6:
note: expanded from macro 'RSTRING_LEN'
RSTRING_EMBED_LEN(str) : \
^~~~~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:670:6:
note: expanded from macro 'RSTRING_EMBED_LEN'
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v8_string.cpp:23:79: warning: implicit conversion loses integer
precision: 'long' to 'int' [-Wshorten-64-to-32]
return rr_v8_handle_new(string_class, String::NewSymbol(RSTRING_PTR(str), RSTRING_LEN(str)));
~~~~~~ ^~~~~~~~~~~~~~~~
/Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:675:28:
note: expanded from macro 'RSTRING_LEN'
RSTRING(str)->as.heap.len)
~~~~~~~~~~~~~~~~~~~~~~^~~ 4 warnings generated. compiling v8_message.cpp clang: warning: argument unused during compilation:
'-rdynamic' [-Wunused-command-line-argument] compiling rr.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] rr.cpp:48:1: warning: control reaches
end of non-void function [-Wreturn-type] } ^ rr.cpp:151:44: warning:
implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
return String::New(RSTRING_PTR(value), RSTRING_LEN(value));
~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:674:6:
note: expanded from macro 'RSTRING_LEN'
RSTRING_EMBED_LEN(str) : \
^~~~~~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:670:6:
note: expanded from macro 'RSTRING_EMBED_LEN'
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rr.cpp:151:44: warning: implicit conversion loses integer precision:
'long' to 'int' [-Wshorten-64-to-32]
return String::New(RSTRING_PTR(value), RSTRING_LEN(value));
~~~~~~ ^~~~~~~~~~~~~~~~~~ /Users/divyanshuverma/.rvm/rubies/ruby-1.9.3-p551/include/ruby-1.9.1/ruby/ruby.h:675:28:
note: expanded from macro 'RSTRING_LEN'
RSTRING(str)->as.heap.len)
~~~~~~~~~~~~~~~~~~~~~~^~~ 3 warnings generated. compiling v8_weakref.cpp clang: warning: argument unused during compilation:
'-rdynamic' [-Wunused-command-line-argument] compiling v8_script.cpp
clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_date.cpp clang: warning:
argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_debug.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_value.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_value.cpp:100:9: warning: unused
function 'ToInt32' [-Wunused-function] VALUE ToInt32(VALUE self) {
^ 1 warning generated. compiling v8_object.cpp clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_object.cpp:77:19: warning: unused
variable 'proto' [-Wunused-variable]
Handle proto(rr_rb2v8(prototype));
^ 1 warning generated. compiling v8_locker.cpp clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] v8_locker.cpp:45:5: warning: control
reaches end of non-void function [-Wreturn-type]
}
^ v8_locker.cpp:85:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^ 2 warnings generated. compiling v8_template.cpp clang: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8.cpp clang: warning:
argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] compiling v8_context.cpp clang:
warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument] linking shared-object v8.bundle
clang: error: no such file or directory:
'/Users/divyanshuverma/angel_nest/vendor/cache/ruby/1.9.1/gems/libv8-3.3.10.4/lib/libv8/build/v8/libv8.a'
make: *** [v8.bundle] Error 1
Gem files will remain installed in
/Users/divyanshuverma/angel_nest/vendor/cache/ruby/1.9.1/gems/therubyracer-0.9.10
for inspection. Results logged to
/Users/divyanshuverma/angel_nest/vendor/cache/ruby/1.9.1/gems/therubyracer-0.9.10/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.9.10), and Bundler
cannot continue. Make sure that gem install therubyracer -v '0.9.10'
succeeds before bundling.
i've tried all approaches available on stackoverflow for this method but none works!
is there any way to override the requirements of this gem make changes such that project works on the newer version of therubyracer gem
This version is locked only by Gemfile.lock, which means that there're probably no specific requirements in project itself.
You can try updating just this gem without full bundle update via: bundle update therubyracer, most probably newer version will do ok.
While doing Bundle install for my app, I'm getting an error related to therubyracer (0.9.4).
This is the error:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/kpvarma/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for main() in -lobjc... yes
creating Makefile
make
compiling rr.cpp
clang: warning: argument unused during compilation: '-rdynamic'
rr.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
rr.cpp:151:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return String::New(RSTRING_PTR(value), RSTRING_LEN(value));
^~~~~~~~~~~~~~~~~~
/Users/kpvarma/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/ruby/ruby.h:674:6: note: expanded from macro 'RSTRING_LEN'
RSTRING_EMBED_LEN(str) : \
^
/Users/kpvarma/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/ruby/ruby.h:670:6: note: expanded from macro 'RSTRING_EMBED_LEN'
(long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rr.cpp:151:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return String::New(RSTRING_PTR(value), RSTRING_LEN(value));
^~~~~~~~~~~~~~~~~~
/Users/kpvarma/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/ruby/ruby.h:675:28: note: expanded from macro 'RSTRING_LEN'
RSTRING(str)->as.heap.len)
^
3 warnings generated.
compiling v8.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_array.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_callbacks.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_context.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_date.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_debug.cpp
clang: warning: argument unused during compilation: '-rdynamic'
compiling v8_exception.cpp
clang: warning: argument unused during compilation: '-rdynamic'
v8_exception.cpp:15:8: warning: unused function 'segfault' [-Wunused-function]
void segfault(int sig) {
^
1 warning generated.
compiling v8_external.cpp
clang: warning: argument unused during compilation: '-rdynamic'
v8_external.cpp:10:9: warning: unused variable 'references' [-Wunused-variable]
VALUE references;
^
1 warning generated.
compiling v8_function.cpp
clang: warning: argument unused during compilation: '-rdynamic'
v8_function.cpp:24:23: error: variable length array of non-POD element type 'Handle<v8::Value>'
Handle<Value> argv[argc];
^
v8_function.cpp:36:23: error: variable length array of non-POD element type 'Handle<v8::Value>'
Handle<Value> argv[argc];
^
2 errors generated.
make: *** [v8_function.o] Error 1
Gem files will remain installed in /Users/kpvarma/.rvm/gems/ruby-1.9.3-p194/gems/therubyracer-0.9.4 for inspection.
Results logged to /Users/kpvarma/.rvm/gems/ruby-1.9.3-p194/gems/therubyracer-0.9.4/ext/v8/gem_make.out
An error occured while installing therubyracer (0.9.4), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.9.4'` succeeds before bundling.
I amm using ruby-1.9.3-p194 on Mac.
Can anyone please help me out?
Thank you
Regards