xcode - Can't build flutter app even with a Development Team - Stack Overflow

I'm debugging a flutter app wirelessly on my iPhone and got this error:Running Xcode build...

I'm debugging a flutter app wirelessly on my iPhone and got this error:

Running Xcode build...                                                  
Xcode build done.                                           61.9s
Failed to build iOS app
Could not build the precompiled application for the device.
════════════════════════════════════════════════════════════════════════════════
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 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:
  /docs/get-started/install/macos#deploy-to-ios-devices

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════

Error launching application on [name]'s iPhone.

I have checked I do have a Development Team and actually it worked yesterday just fine.

After restarting xcode and still getting the same error, Xcode > Window > Devices and Simulators shows this error for my iphone:

Previous preparation error: The developer disk image could not be unmounted on this device.; An unknown error message 'InternalError', was received from the device.

I'm debugging a flutter app wirelessly on my iPhone and got this error:

Running Xcode build...                                                  
Xcode build done.                                           61.9s
Failed to build iOS app
Could not build the precompiled application for the device.
════════════════════════════════════════════════════════════════════════════════
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 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/docs/get-started/install/macos#deploy-to-ios-devices

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════

Error launching application on [name]'s iPhone.

I have checked I do have a Development Team and actually it worked yesterday just fine.

After restarting xcode and still getting the same error, Xcode > Window > Devices and Simulators shows this error for my iphone:

Previous preparation error: The developer disk image could not be unmounted on this device.; An unknown error message 'InternalError', was received from the device.
Share Improve this question asked Mar 15 at 8:58 thyuthyu 1,8182 gold badges16 silver badges33 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

I ran a few commands but the solution seems to be simply:

Restarting iPhone

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744620133a4584293.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
['keyword'] : $thread['subject']; $header['description'] = $thread['description'] ? $thread['description'] : $thread['brief']; $_SESSION['fid'] = $fid; if ($ajax) { empty($conf['api_on']) and message(0, lang('closed')); $apilist['header'] = $header; $apilist['extra'] = $extra; $apilist['access'] = $access; $apilist['thread'] = well_thread_safe_info($thread); $apilist['thread_data'] = $data; $apilist['forum'] = $forum; $apilist['imagelist'] = $imagelist; $apilist['filelist'] = $thread['filelist']; $apilist['threadlist'] = $threadlist; message(0, $apilist); } else { include _include(theme_load('single_page', $fid)); } break; default: message(-1, lang('data_malformation')); break; } ?>