Ara*_*n10 11 iphone xcode ios mobile-development flutter
我试图在我的 iPhone 上编译并安装我正在为 iOS 开发的应用程序,一切都很好,直到某个时候 XCode 开始给我带来问题,我附上详细信息:
\nDetails\n\nUnable to install "Runner"\nDomain: com.apple.dt.MobileDeviceErrorDomain\nCode: -402653081\nRecovery Suggestion: Please check your project settings and ensure that a valid product has been built.\n--\nThere was an internal API error.\nDomain: com.apple.dt.MobileDeviceErrorDomain\nCode: -402653081\nUser Info: {\n DVTRadarComponentKey = 261622;\n MobileDeviceErrorCode = "(0xE8000067)";\n "com.apple.dtdevicekit.stacktrace" = (\n 0 DTDeviceKitBase 0x000000011e735e98 DTDKCreateNSErrorFromAMDErrorCode + 272\n 1 DTDeviceKitBase 0x000000011e771898 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 160\n 2 DVTFoundation 0x000000010523f670 DVTInvokeWithStrongOwnership + 76\n 3 DTDeviceKitBase 0x000000011e7715e4 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1316\n 4 IDEiOSSupportCore 0x000000011e5ebd40 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 2928\n 5 DVTFoundation 0x00000001053687fc __DVT_CALLING_CLIENT_BLOCK__ + 16\n 6 DVTFoundation 0x000000010536a220 __DVTDispatchAsync_block_invoke + 680\n 7 libdispatch.dylib 0x000000019592e128 _dispatch_call_block_and_release + 32\n 8 libdispatch.dylib 0x000000019592fec0 _dispatch_client_callout + 20\n 9 libdispatch.dylib 0x00000001959376a8 _dispatch_lane_serial_drain + 620\n 10 libdispatch.dylib 0x00000001959382a4 _dispatch_lane_invoke + 404\n 11 libdispatch.dylib 0x0000000195942b74 _dispatch_workloop_worker_thread + 764\n 12 libsystem_pthread.dylib 0x0000000195adb89c _pthread_wqthread + 276\n 13 libsystem_pthread.dylib 0x0000000195ada5d4 start_wqthread + 8\n);\n}\n--\nSystem Information\n\nmacOS Version 11.5.2 (Build 20G95)\nXcode 12.5.1 (18212) (Build 12E507)\nTimestamp: 2021-08-21T02:59:59+02:00\nRun Code Online (Sandbox Code Playgroud)\n我还附上了 Android Studio IDE 告诉我的内容:
\nNo Provisioning Profile was found for your project's Bundle Identifier or your \ndevice. You can create a new Provisioning Profile for your project in Xcode for \nyour team by:\n 1- Open the Flutter project's Xcode target with\n open ios/Runner.xcworkspace\n 2- Select the 'Runner' project in the navigator then the 'Runner' target\n in the project settings\n 3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. \n You may need to:\n - Log in with your Apple ID in Xcode first\n - Ensure you have a valid unique Bundle ID\n - Register your device with your Apple Developer Account\n - Let Xcode automatically provision a profile for your app\n 4- Build or run your project again\n\nIt's also possible that a previously installed app with the same Bundle \nIdentifier was signed with a different certificate.\n\nFor more information, please visit:\n https://flutter.dev/setup/#deploy-to-ios-devices\n\nOr run on an iOS simulator without code signing\n\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\nCould not run build/ios/iphoneos/Runner.app on 00008101-001C09912180001E.\nTry launching Xcode and selecting "Product > Run" to fix the problem:\n open ios/Runner.xcworkspace\n\nError launching application on iPhone.\nRun Code Online (Sandbox Code Playgroud)\n在xCode -> Preferences -> Account中,我拥有在 Apple 开发者门户中注册的帐户,我还在Runner -> Signing & Capability和 Bundler 标识符中安排了团队
\n