You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

379 lines
20 KiB

Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
## command
flutter build ios
## exception
ProcessException: ProcessException: Process exited abnormally with exit code -6:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/apple/swift-log.git (cached)
Fetching from https://github.com/apple/swift-protobuf.git (cached)
Fetching from https://github.com/firebase/leveldb.git (cached)
Fetching from https://github.com/google/abseil-cpp-binary.git (cached)
Fetching from https://github.com/apple/swift-http-types (cached)
Fetching from https://github.com/google/app-check.git (cached)
Fetching from https://github.com/google/interop-ios-for-google-sdks.git (cached)
Fetching from https://github.com/SDWebImage/SDWebImage (cached)
Fetching from https://github.com/ybrid/opus-swift.git (cached)
Fetching from https://github.com/google/GTMAppAuth.git (cached)
Fetching from https://github.com/google/GoogleSignIn-iOS.git (cached)
Fetching from https://github.com/TimOliver/TOCropViewController (cached)
Fetching from https://github.com/zhangao0086/DKImagePickerController (cached)
Fetching from https://github.com/zhangao0086/DKCamera (cached)
Fetching from https://github.com/google/gtm-session-fetcher.git (cached)
Fetching from https://github.com/google/GoogleDataTransport.git (cached)
Fetching from https://github.com/firebase/flutterfire (cached)
Fetching from https://github.com/SnapKit/SnapKit.git (cached)
Fetching from https://github.com/apple/swift-openapi-runtime (cached)
Fetching from https://github.com/Alamofire/Alamofire.git (cached)
Fetching from https://github.com/apple/swift-system.git (cached)
Fetching from https://github.com/firebase/nanopb.git (cached)
Fetching from https://github.com/google/promises.git (cached)
Fetching from https://github.com/google/GoogleAppMeasurement.git (cached)
Fetching from https://github.com/kirualex/SwiftyGif.git (cached)
Fetching from https://github.com/google/grpc-binary.git (cached)
Fetching from https://github.com/google/GoogleUtilities.git (cached)
Fetching from https://github.com/MacPaw/OpenAI.git (cached)
Fetching from https://github.com/zhangao0086/DKPhotoGallery (cached)
Fetching from https://github.com/loopwork-ai/eventsource.git (cached)
Fetching from https://github.com/openid/AppAuth-iOS.git (cached)
Fetching from https://github.com/modelcontextprotocol/swift-sdk.git (cached)
Fetching from https://github.com/firebase/firebase-ios-sdk (cached)
Creating working copy of package ‘abseil-cpp-binary’
Checking out 1.2024072200.0 of package ‘abseil-cpp-binary’
Creating working copy of package ‘app-check’
Checking out 11.2.0 of package ‘app-check’
Creating working copy of package ‘opus-swift’
Checking out 0.8.0 of package ‘opus-swift’
Creating working copy of package ‘SDWebImage’
Checking out 5.21.0 of package ‘SDWebImage’
Creating working copy of package ‘swift-http-types’
Checking out 1.4.0 of package ‘swift-http-types’
Creating working copy of package ‘interop-ios-for-google-sdks’
Checking out 101.0.0 of package ‘interop-ios-for-google-sdks’
Creating working copy of package ‘leveldb’
Checking out 1.22.5 of package ‘leveldb’
Creating working copy of package ‘GTMAppAuth’
Checking out 4.1.1 of package ‘GTMAppAuth’
Creating working copy of package ‘swift-log’
Checking out 1.6.3 of package ‘swift-log’
Creating working copy of package ‘swift-protobuf’
Checking out 1.29.0 of package ‘swift-protobuf’
Creating working copy of package ‘GoogleSignIn-iOS’
Checking out 8.0.0 of package ‘GoogleSignIn-iOS’
Creating working copy of package ‘DKCamera’
Checking out master (5c691d1) of package ‘DKCamera’
Creating working copy of package ‘gtm-session-fetcher’
Checking out 3.5.0 of package ‘gtm-session-fetcher’
Creating working copy of package ‘TOCropViewController’
Checking out 2.7.4 of package ‘TOCropViewController’
Creating working copy of package ‘DKImagePickerController’
Checking out 4.3.9 (0bdfeac) of package ‘DKImagePickerController’
Creating working copy of package ‘GoogleDataTransport’
Checking out 10.1.0 of package ‘GoogleDataTransport’
Creating working copy of package ‘swift-openapi-runtime’
Checking out 1.8.2 of package ‘swift-openapi-runtime’
Creating working copy of package ‘flutterfire’
Checking out main (f852df8) of package ‘flutterfire’
Creating working copy of package ‘SnapKit’
Checking out 5.7.1 of package ‘SnapKit’
Creating working copy of package ‘Alamofire’
Checking out 5.10.2 of package ‘Alamofire’
Creating working copy of package ‘swift-system’
Checking out 1.5.0 of package ‘swift-system’
Creating working copy of package ‘nanopb’
Checking out 2.30910.0 of package ‘nanopb’
Creating working copy of package ‘GoogleAppMeasurement’
Checking out 11.13.0 of package ‘GoogleAppMeasurement’
Creating working copy of package ‘promises’
Checking out 2.4.0 of package ‘promises’
Creating working copy of package ‘SwiftyGif’
Checking out 5.4.5 of package ‘SwiftyGif’
Creating working copy of package ‘grpc-binary’
Checking out 1.69.0 of package ‘grpc-binary’
Creating working copy of package ‘GoogleUtilities’
Checking out 8.1.0 of package ‘GoogleUtilities’
Creating working copy of package ‘OpenAI’
Checking out 0.4.3 of package ‘OpenAI’
Creating working copy of package ‘DKPhotoGallery’
Checking out master (311c1bc) of package ‘DKPhotoGallery’
Creating working copy of package ‘eventsource’
Checking out 1.1.1 of package ‘eventsource’
Creating working copy of package ‘AppAuth-iOS’
Checking out 1.7.6 of package ‘AppAuth-iOS’
Creating working copy of package ‘swift-sdk’
Checking out 0.9.0 of package ‘swift-sdk’
Creating working copy of package ‘firebase-ios-sdk’
Checking out 11.13.0 of package ‘firebase-ios-sdk’
'agent_service' dependency on '/Users/liwei/work/flutter/deepvoice_client/local_plugins/music_service/ios/user_portrait' conflicts with dependency on '/Users/liwei/work/flutter/deepvoice_client/local_plugins/user_portrait/ios/user_portrait' which has the same identity 'user_portrait'. this will be escalated to an error in future versions of SwiftPM.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray insertObjects:atIndexes:]: count of array (62) differs from count of index set (61)'
*** First throw call stack:
(
0 CoreFoundation 0x0000000188e62ca0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000188926b90 objc_exception_throw + 88
2 CoreFoundation 0x0000000188f5d1dc -[__NSCFString characterAtIndex:].cold.1 + 0
3 CoreFoundation 0x0000000188e490b8 -[NSMutableArray insertObjects:atIndexes:] + 1444
4 IDEFoundation 0x000000010ce72874 __50-[IDEGroup insertGroupSubitems:atIndexes:context:]_block_invoke + 1084
5 DVTFoundation 0x000000010b67b16c -[DVTModelObjectGraph performBlockCoalescingModelChanges:] + 60
6 IDEFoundation 0x000000010ce72398 -[IDEGroup insertGroupSubitems:atIndexes:context:] + 248
7 DVTFoundation 0x000000010b639c30 -[NSMutableArray(DVTFoundationClassAdditions) dvt_sortedInsertOfObjects:withComparator:] + 184
8 IDESwiftPackageCore 0x000000011a08c15c $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC32registerDependencyFileReferences33_033DB97E8C2A552F3158921835EE9F98LL_27modelGraphSynchronizerTokenySayAA0abgH9ReferenceO010dependencyU0_AC16Reg 9 IDESwiftPackageCore 0x000000011a08f264 $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC27dependencyPackagesDidUpdate33_033DB97E8C2A552F3158921835EE9F98LL8packages14graphHasErrors25revalidatedFilePathCaches27modelGraphSynchronizerToke 10 IDESwiftPackageCore 0x000000011a08717c $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC27packageGraphDidFinishAction_8duration6resulty7SwiftPM12SPMWorkspaceC0bgJ0O_SdAG0oebgJ16ResolutionResultOtYaFyAC05ModelG17SynchronizerToken33_033 11 IDESwiftPackageCore 0x000000011a08ac18 $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC38disableWorkspaceContentSynchronization33_033DB97E8C2A552F3158921835EE9F98LL6duringyyAC27ModelGraphSynchronizerTokenAELLVXE_tFyyXEfU_TA + 20
12 DVTFoundation 0x000000010b84fd68 $sSo19DVTModelObjectGraphC13DVTFoundationE34performBlockCoalescingModelChangesyxxyXElFyyXEfU_ + 104
13 DVTFoundation 0x000000010b8134bc $sSDySSSo8NSObjectCGIgo_ACIego_TR + 20
14 DVTFoundation 0x000000010b84fa80 $sIeg_IyB_TR + 20
15 DVTFoundation 0x000000010b67b24c __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke + 104
16 DVTFoundation 0x000000010b674cf8 -[DVTModelGraphTransactionScope performTransaction:] + 60
17 DVTFoundation 0x000000010b67b1c4 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] + 148
18 DVTFoundation 0x000000010b850520 $sSo19DVTModelObjectGraphC13DVTFoundationE34performBlockCoalescingModelChangesyxxyXElF + 344
19 IDESwiftPackageCore 0x000000011a07d32c $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC38disableWorkspaceContentSynchronization33_033DB97E8C2A552F3158921835EE9F98LL6duringyyAC27ModelGraphSynchronizerTokenAELLVXE_tF + 444
20 IDESwiftPackageCore 0x000000011a086198 $s19IDESwiftPackageCore23IDESPMWorkspaceDelegateC27packageGraphDidFinishAction_8duration6resulty7SwiftPM12SPMWorkspaceC0bgJ0O_SdAG0oebgJ16ResolutionResultOtYaFTY4_ + 164
21 IDESwiftPackageCore 0x000000011a05ba31 $sIeAgH_ytIeAgHr_TRTATQ0_ + 1
22 SwiftPM 0x000000014800cda5 $s7SwiftPM12SPMWorkspaceC26packageGraphActionFinished33_918CA8CFEB8D3E06D2EEA2771EA5EA00LLyyAC07PackageE16ResolutionResultAELLVYaFTQ1_ + 1
23 SwiftPM 0x000000014800c6c1 $s7SwiftPM12SPMWorkspaceC46processPackageGraphActionsInBackgroundIfNeeded33_918CA8CFEB8D3E06D2EEA2771EA5EA00LL010canProcessefG0yAC11AffirmativeO_tFyyYaYbcfU1_yyYacfU0_TQ1_ + 1
24 SwiftPM 0x000000014805b871 $s7SwiftPM33SPMWorkspaceOrchestrationDelegateP27packageGraphDidFinishAction_8duration6resultyAA0C0C07PackagegJ0O_SdAA0cemgJ16ResolutionResultOtYaFTjTQ0_ + 1
25 SwiftPM 0x00000001480d07f1 $sxIeAgHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TQ0_ + 1
26 SwiftPM 0x0000000148057ff9 $sxIeAgHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TATQ0_ + 1
27 libswift_Concurrency.dylib 0x0000000271af883d _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1
)
** INTERNAL ERROR: Uncaught exception **
Uncaught Exception: *** -[NSMutableArray insertObjects:atIndexes:]: count of array (62) differs from count of index set (61)
Stack:
0 __exceptionPreprocess (in CoreFoundation)
1 objc_exception_throw (in libobjc.A.dylib)
2 -[__NSCFString characterAtIndex:].cold.1 (in CoreFoundation)
3 -[NSMutableArray insertObjects:atIndexes:] (in CoreFoundation)
4 __50-[IDEGroup insertGroupSubitems:atIndexes:context:]_block_invoke (in IDEFoundation)
5 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
6 -[IDEGroup insertGroupSubitems:atIndexes:context:] (in IDEFoundation)
7 -[NSMutableArray(DVTFoundationClassAdditions) dvt_sortedInsertOfObjects:withComparator:] (in DVTFoundation)
8 specialized IDESPMWorkspaceDelegate.registerDependencyFileReferences(_:modelGraphSynchronizerToken:) (in IDESwiftPackageCore)
9 specialized IDESPMWorkspaceDelegate.dependencyPackagesDidUpdate(packages:graphHasErrors:revalidatedFilePathCaches:modelGraphSynchronizerToken:) (in IDESwiftPackageCore)
10 closure #1 in IDESPMWorkspaceDelegate.packageGraphDidFinishAction(_:duration:result:) (in IDESwiftPackageCore)
11 partial apply for closure #1 in IDESPMWorkspaceDelegate.disableWorkspaceContentSynchronization(during:) (in IDESwiftPackageCore)
12 <deduplicated_symbol> (in DVTFoundation)
13 <deduplicated_symbol> (in DVTFoundation)
14 thunk for @escaping @callee_guaranteed () -> () (in DVTFoundation)
15 __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
16 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
17 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
18 DVTModelObjectGraph.performBlockCoalescingModelChanges<A>(_:) (in DVTFoundation)
19 IDESPMWorkspaceDelegate.disableWorkspaceContentSynchronization(during:) (in IDESwiftPackageCore)
20 IDESPMWorkspaceDelegate.packageGraphDidFinishAction(_:duration:result:) (in IDESwiftPackageCore)
21 <deduplicated_symbol> (in IDESwiftPackageCore)
22 SPMWorkspace.packageGraphActionFinished(_:) (in SwiftPM)
23 closure #2 in closure #3 in SPMWorkspace.processPackageGraphActionsInBackgroundIfNeeded(canProcessPackageGraphActions:) (in SwiftPM)
24 <deduplicated_symbol> (in SwiftPM)
25 specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) (in SwiftPM)
26 <deduplicated_symbol> (in SwiftPM)
27 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) (in libswift_Concurrency.dylib)
Command: /usr/bin/arch -arm64e xcrun xcodebuild -list
```
#0 RunResult.throwException (package:flutter_tools/src/base/process.dart:118:5)
#1 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:344:19)
<asynchronous suspension>
#2 XcodeProjectInterpreter.getInfo (package:flutter_tools/src/ios/xcodeproj.dart:334:30)
<asynchronous suspension>
#3 XcodeBasedProject.projectInfo (package:flutter_tools/src/xcode_project.dart:197:29)
<asynchronous suspension>
#4 XcodeBasedProject.buildSettingsForBuildInfo (package:flutter_tools/src/xcode_project.dart:217:36)
<asynchronous suspension>
#5 IosProject._parseProductName (package:flutter_tools/src/xcode_project.dart:647:55)
<asynchronous suspension>
#6 IosProject.productName (package:flutter_tools/src/xcode_project.dart:635:29)
<asynchronous suspension>
#7 BuildableIOSApp.fromProject (package:flutter_tools/src/ios/application_package.dart:117:33)
<asynchronous suspension>
#8 FlutterApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/flutter_application_package.dart:80:15)
<asynchronous suspension>
#9 _BuildIOSSubCommand.buildableIOSApp.<anonymous closure> (package:flutter_tools/src/commands/build_ios.dart:707:9)
<asynchronous suspension>
#10 _BuildIOSSubCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:748:33)
<asynchronous suspension>
#11 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1563:27)
<asynchronous suspension>
#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#13 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#14 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:494:9)
<asynchronous suspension>
#15 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#16 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
<asynchronous suspension>
#17 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:98:11)
<asynchronous suspension>
#18 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#19 main (package:flutter_tools/executable.dart:102:3)
<asynchronous suspension>
```
## flutter doctor
```
[✓] Flutter (Channel stable, 3.32.3, on macOS 15.5 24F74 darwin-arm64, locale zh-Hans-CN) [429ms]
• Flutter version 3.32.3 on channel stable at /Users/liwei/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5c1433509f (9 weeks ago), 2025-06-11 13:12:24 -0700
• Engine revision 31c4875c7a
• Dart version 3.8.1
• DevTools version 2.45.1
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [2.8s]
• Android SDK at /Users/liwei/Library/Android/sdk
• Platform android-36, build-tools 36.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [1,682ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [6ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2) [5ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
[✓] VS Code (version 1.103.0) [4ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.116.0
[✓] Connected device (5 available) [9.4s]
• RMX3310 (mobile) • a709b98b • android-arm64 • Android 14 (API 34)
• Voitrans的iPhoneXr (wireless) (mobile) • 00008020-000175D23C03002E • ios • iOS 18.6 22G86
• iPhone XR (wireless) (mobile) • 00008020-000140140260802E • ios • iOS 18.5 22F76
• macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 139.0.7258.67
! Error: Browsing on the local area network for 李伟的iPad. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for liwei. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [5.1s]
• All expected network resources are available.
! Doctor found issues in 1 category.
```