- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我对 Flutter 有疑问。我无法在 iOS 模拟器上运行我的应用程序,也无法为 iOS 构建版本。运行应用程序时出现此错误:
event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in Splitti...}
event sent after app closed: {id: 0, progressId: null, finished: true}
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 41,3s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:28699:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:32750:14: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'VList' (aka 'int') [-Wshorten-64-to-32]
pIn[0] = nAlloc;
~ ^~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:33394:8: warning: "gethostuuid() is disabled." [-W#warnings]
# warning "gethostuuid() is disabled."
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:34860:14: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR );
~ ^~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:33904:21: note: expanded from macro 'osWrite'
#define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:36756:11: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
got = osPread(id->h, pBuf, cnt, offset);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94674:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95506:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95517:26: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pSorter->nMemory = nNew;
~ ^~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95671:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:96124:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:96980:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:97021:40: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
nChunk = copy.endpoint.iOffset - iOff;
~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:97088:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:97112:23: warning: implicit conversion loses integer precision: 'long long' to 'int' [-Wshorten-64-to-32]
p->nSize = iAmt + iOfst;
~ ~~~~~^~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:97289:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
...
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:220751:40: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
assert_nc( memcmp(pToken, pTerm, MIN(nToken, nTerm))<=0 );
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:221593:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:221921:52: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
iOff += fts5DecodePoslist(pRc, pBuf, &a[iOff], MIN(n-iOff, nPos));
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:223056:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pSorter->aIdx[i] = &aBlob[nBlob] - a;
~ ~~~~~~~~~~~~~~^~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:226751:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
is = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:226758:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
is = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:226808:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
ie = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:226812:37: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rc = xToken(pCtx, 0, aFold, zOut-aFold, is, ie);
~~~~~~ ~~~~^~~~~~
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:229114:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:229186:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
In module 'Darwin' imported from /Users/splitti1/Projects/Splitti/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
...
/Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Mime/MultipartFormDataParser.m:32:80: note: previous definition is here
- (int) numberOfBytesToLeavePendingWithData:(NSData*) data length:(NSUInteger) length encoding:(int) encoding;
~~~~~~~~~~ ^
1 warning generated.
/Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:54:58: warning: sending 'HTTPServer *__strong' to parameter of incompatible type 'id<GCDAsyncSocketDelegate> _Nullable'
asyncSocket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:serverQueue];
^~~~
In module 'CocoaAsyncSocket' imported from /Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:2:
/Users/splitti1/Projects/Splitti/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:90:71: note: passing argument to parameter 'aDelegate' here
- (instancetype)initWithDelegate:(nullable id<GCDAsyncSocketDelegate>)aDelegate delegateQueue:(nullable dispatch_queue_t)dq;
^
/Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:162:3: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
documentRoot = valueCopy;
^
self->
/Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:189:3: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
connectionClass = value;
^
self->
/Users/splitti1/Projects/Splitti/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:212:3: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
interface = valueCopy;
^
self->
...
/Users/splitti1/Projects/Splitti/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:34:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
- (void)populateNotificationContent:(UNMutableNotificationContent *)content
^
2 warnings generated.
/Users/splitti1/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:195:43: error: expected a type
- (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage *)remoteMessage {
^
/Users/splitti1/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:302:53: error: nullability specifier 'nonnull' conflicts with existing specifier 'nullable'
didReceiveRegistrationToken:(nonnull NSString *)fcmToken {
^
In module 'UserNotifications' imported from /Users/splitti1/Projects/Splitti/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:19:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:16:12: note: 'UNNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface UNNotificationContent : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
^
While building module 'FirebaseMessaging' imported from /Users/splitti1/Projects/Splitti/ios/Pods/Headers/Public/Firebase/Firebase.h:66:
In file included from <module-includes>:1:
In file included from /Users/splitti1/Projects/Splitti/ios/Pods/Target Support Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
In file included from /Users/splitti1/Projects/Splitti/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18:
/Users/splitti1/Projects/Splitti/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionHelper.h:34:1: note: annotate 'populateNotificationContent:withContentHandler:' with an availability attribute to silence this warning
- (void)populateNotificationContent:(UNMutableNotificationContent *)content
^
2 warnings generated.
2 warnings generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'cached_video_player' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
...
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flutter' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
这是我的 pubspec.yaml
name: app
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.0+1
environment:
sdk: ">=2.8.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: ^0.1.2
contacts_service: ^0.3.10
rxdart: any
permission_handler: ^5.0.0+hotfix.2
font_awesome_flutter: ^8.8.1
animated_floatactionbuttons: ^0.1.0
solid_bottom_sheet: ^0.1.9
share: ^0.6.4
http: ^0.12.1
device_info: ^0.4.2+2
firebase_core: ^0.4.0+9
image_picker: ^0.6.6+1
#^6.0.13
firebase_messaging:
shared_preferences: ^0.5.12+4
url_launcher: ^5.4.7
flutter_image_compress: ^0.7.0
bot_toast: ^3.0.0
percent_indicator: "^2.1.5"
flutter_keyboard_visibility: #^2.0.0
moor: ^3.4.0 # use the latest version
#moor_ffi: ^0.5.0
sqlite3_flutter_libs: ^0.3.0
path_provider:
path:
flutter_luban: ^0.1.11
app_settings: ^4.0.4
number_display:
google_fonts: ^1.1.0
flutter_swiper: ^1.1.6
intl: any
uuid: ^2.2.2
dotted_border: ^1.0.7
#sms: ^0.2.4
#tutorial_coach_mark: ^0.5.2
cached_network_image:
material_design_icons_flutter:
cached_video_player:
story_view:
photo_view:
uni_links:
flutter_credit_card:
cool_alert:
country_code_picker:
flutter_country:
#card_scanner:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
dev_dependencies:
flutter_test:
sdk: flutter
moor_generator: # use the latest version
build_runner:
flutter_launcher_icons: "^0.8.0"
flutter_native_splash: ^0.2.9
flutter_icons:
image_path: "assets/images/iconsround.png"
android: true
ios: true
image_path_ios: "assets/images/logo_ios2.jpg"
# For information on the generic Dart part of this file, see the c
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
这是 flutter doctor -v 命令
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H1217 darwin-x64,
locale fr-CD)
• Flutter version 1.22.5 at /Users/splitti1/Development/flutter
• Framework revision 7891006299 (8 months ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/splitti1/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for
more details.
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[!] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.58.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.24.0
[✓] Connected device (1 available)
• iPhone 12 Pro Max (mobile) • 4C0D6598-33D1-46B3-8871-9EEC509C33F4 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
我使用的是 flutter 1.22.5 版本。我该如何解决这个问题,我已经尝试了所有的解决方案,但到目前为止我的问题还没有解决。
最佳答案
你应该可以开始了。
关于ios - 当我运行 flutter run 时,Flutter iOS 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68679825/
我在使用 gradle 构建一个特定应用程序时遇到问题。该应用程序可以用 eclipse 编译和构建,它在平板电脑上运行良好。当我尝试使用 Gradle 构建它时,“compileDebugJava”
我有一个 C 程序,是一位离开的开发人员留给我的。我试图弄清楚他到底在做什么,并将软件重新安排成更合乎逻辑的东西,这样我就可以更轻松地构建它。我正在使用 CMake 构建,而他使用的是 Make。 有
我刚开始阅读“Pro Spring MVC with web flow”,它附带了一个我想遵循的代码示例。 我要什么 - 我想像书中那样构建应用程序,使用 Gradle 有什么问题 - 我没用过 Gr
我希望有人已经这样做了。我正在尝试为我的一个 angular 2 项目在 teamcity 中建立一个连续的构建。在做了一些研究之后,我按照以下步骤操作: 构建步骤 1:为 teamcity 安装 j
我有一个旧的 ASP.Net 网站解决方案,看起来像: 当我在 Visual Studio 中构建解决方案时,我得到以下输出: ------ Build started: Project: C:\..
我使用 gulp-usref、gulp-if、gulp-uglify、gulp-csso 和 gulp-file-include 来构建我的应用程序。除了 HTML 保持原样外,构建中的一切都运行良好
我正在使用 ionic2 开发内部移动应用程序。我可以通过以下方式成功构建 ios: ionic build ios and ionic build ios --prod 但当我这样做时,它一直失败
我是一位经验丰富的 .NET/C# 开发人员,但对这里的几乎所有技术/库(包括 SQL/DB 工作)都是新手。 我正在开发一个具有 Azure/Entity Framework .NET 后端和可移植
我正在使用 VS 2008。我可以使用 IDE 成功编译我的解决方案。但是,当我尝试使用 devenv.com 构建它时,它失败并提示“错误:找不到项目输出组'(无法确定名称)的输出”。该组、其配置或
版本: ember.js 2.7,ember-data 2.7 ember-cli 2.9.1//同样适用于 ember-cli 2.7 node 6.9.1, npm 3.10.9//也适用于 no
我第一次修补 AzureDevops,设置一些 CI 任务。 我有一个公共(public)存储库(开源)和一个包含 3 个 F# 项目的解决方案(.sln)。该解决方案在 Windows/Mac/Li
目前 5.1.5 版本或 STLPort CVS 存储库似乎仍不支持 VS2008。如果有人已经完成了这项工作,那么如果可能的话,分享会很有用:) 同样,了解 VS2005 或 2008 x64 构建
我有一个 Python 2.7 项目,到目前为止一直使用 gfortran 和 MinGW 来构建扩展。我使用 MinGW,因为它似乎支持 Fortran 代码中的写入语句和可分配数组,而 MSVC
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题? Update the question所以它是on-topic对于堆栈溢出。 9年前关闭。 Improve this que
我想知道为什么在 Zimbra Wiki 中只列出了构建过程的特定平台。这意味着不可能在其他 Linux 发行版上构建 Zimbra? Zimbra 社区选择一个特殊的 Linux 发行版来构建 Zi
我将在 Swift 中构建一个 CLI 工具。我用这个命令创建了项目 swift package init --type executable当我构建我的项目并解析 时读取别名 Xcode 中的参数并
我想为添加到 docker 镜像的文件设置文件权限。我有这个简单的 Dockerfile: FROM ubuntu:utopic WORKDIR /app RUN groupadd -g 1000 b
当我使用 clBuildProgram在我的 OpenCl 代码中,它失败并显示错误代码 -11,没有任何日志信息。 这是我的代码的样子: ret = clBuildProgram(program
我有一个底部导航栏,它有一个列表页面,该页面使用状态块。 class _MainPageState extends State { int _index = 0; @override Wi
我在本地计算机上使用Jenkins(Jenkins URL未通过Internet公开,但该计算机上已启用Internet。) 我进行了以下配置更改: 在Jenkins工具上安装了Git和Github插
我是一名优秀的程序员,十分优秀!