Разверните, что сборка iOS не удалась, когда я бегаю за бег.IOS

Программируем под IOS
Ответить
Anonymous
 Разверните, что сборка iOS не удалась, когда я бегаю за бег.

Сообщение Anonymous »

У меня есть проблема с Flutter. Я не могу запустить свое приложение на симуляторе iOS и не могу создать релиз для iOS. Я получаю эту ошибку, когда запускаю приложение: < /p>
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( rch, 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)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)
Это трепетание доктора -v Команда < /p>
[✓] 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/in ... roid-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)
< /code>
Я использую версию Flutter 1.22.5.
Как я могу решить эту проблему, я попробовал все решения, но пока моя проблема не решается. < /p>

Подробнее здесь: https://stackoverflow.com/questions/686 ... lutter-run
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»