问题:构建挂起,显示“iPhone 正忙:让 Apple Watch 做好开发准备”
更多事实:
有谁知道这个问题的解决方案?
很多开发者都面临着同样的问题:
Ton*_*ado 28
我已经为此苦苦挣扎了一段时间了。如果您不需要 Apple Watch,您也可以在配置正确的情况下打开飞行模式,而不是完全关闭它。
\n在手表上,转到Settings App\xe2\x86\x92 Airplane Mode。确保WIFI和Bluetooth开关均已关闭!
当蓝牙开关打开时,即使您的手表处于飞行模式并且手机上的蓝牙已从控制中心关闭,仍会建立连接。我花了一些时间才弄清楚这一点......
\n更新:蓝牙设置似乎在一段时间后再次自动打开!不知道为什么... \xe2\x80\x8d\xe2\x99\x82\xef\xb8\x8f 请记住这一点,如果飞行模式无法解决您的问题,请再次检查设置。
\n跑步时flutter doctor,它会给您一个明确的提示,表明您的手表导致了问题。
当尝试从 Android Studio 构建应用程序时,您可能会在日志中找到以下消息:
\nThe requested device could not be found because no available devices matched the request.\n\nAvailable destinations for the "dev" scheme:\n[list of devices]\n\nCould not build the precompiled application for the device.\n\nBuilding a deployable iOS app requires a selected Development Team with a Provisioning Profile. Please ensure that a Development Team is selected by:\n[instructions how to set the development team]\n\nIneligible destinations for the "dev" scheme:\n[list of devices]\nRun Code Online (Sandbox Code Playgroud)\n我把这些消息放在这里供人们谷歌搜索。如果您有 Apple Watch,请运行flutter doctor检查这是否是根本原因。
Sas*_*ush 16
这对我有用:
我也面临这个问题。这是因为最新的xcode只支持iOS 15.2 sdk,但我手机的iOS版本是15.3。因此,xcode 正在从您的手机下载 iOS 15.3 sdk,这就是为什么需要时间(我知道消息并没有这么说)
不过,我做了一些测试,它对我有用。
/Users/XXX/Library/Developer/Xcode/iOS DeviceSupport,并将其粘贴到您的文件夹中。/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport来源: https: //developer.apple.com/forums/thread/691452 ?answerId=704424022#704424022
| 归档时间: |
|
| 查看次数: |
20241 次 |
| 最近记录: |