布尔值的颤振未知键:EnableTransactions

Luk*_*ner 5 ios ios-simulator flutter

在我将 XCode 更新到版本 9 后,当我想在 IOS 11 模拟器中启动应用程序时,我总是得到一个大部分相同的错误列表。到目前为止,我还没有测试过较早的 ios 版本,但 ios 10 在 XCode 更新之前运行良好。

Launching lib/main.dart on iPhone X in debug mode...
Running Xcode build...
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.ServerDocuments.ServerFileProvider): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.ServerDocuments.ServerFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:18 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.Networking): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.Networking): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.Databases): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.Databases): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AnnotationKit.MigratorService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AnnotationKit.MigratorService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Safari.ImageDecoder): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Safari.ImageDecoder): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Safari.History): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Safari.History): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.FileProvider.LocalStorage): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.FileProvider.LocalStorage): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.CloudDocs.MobileDocumentsFileProvider): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.CloudDocs.MobileDocumentsFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.CloudDocsDaemon.container-metadata-extractor): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.CloudDocsDaemon.container-metadata-extractor): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.mobileslideshow.PhotosFileProvider): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:19 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.mobileslideshow.PhotosFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Sep 21 22:35:20 Lukass-MBP com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-4172-8A40-C8EE4D533825[5282] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Run Code Online (Sandbox Code Playgroud)

由“flutter create app”生成的标准应用程序运行,但显示大问题列表。但是如果我运行我的其他应用程序,它会因这些错误而崩溃。这是一个已知问题吗?有解决办法吗?

Luk*_*ner 3

对于所有也面临这个问题的人,我的解决方案:

\n\n

我做了这个步骤:

\n\n

按照 Xcode 签名流程来配置您的项目:通过在Flutter 项目目录的终端窗口中运行 \xc2\xa0打开 ios/Runner.xcworkspace \xc2\xa0 打开项目中的默认 Xcode 工作区。在 Xcode 中,选择 \xc2左侧导航面板中的 \xa0Runner\xc2\xa0project。在 \xc2\xa0Runner\xc2\xa0target 设置页面中,确保在 \xc2\xa0General > Signing > Team 下选择了您的开发团队。当您选择团队时,Xcode 将创建并下载开发证书,使用您的帐户注册您的设备,并创建并下载配置文件(如果需要)。

\n\n

通过这些步骤,我解决了我在问题中提到的问题,但又出现了另一个问题。

\n\n

编辑: \n在卸载 flutter 并再次克隆存储库后,我解决了所有这些问题,但这次主分支不是 flutter 页面上入门教程中提到的 alpha。

\n\n

来自 flutter 页面:\ngit clone -b alpha https://github.com/flutter/flutter.git

\n\n

修复:\ngit clone -b master https://github.com/flutter/flutter.git

\n