Having issues with XCode(14.3) build in Flutter 3.10.1 (Xcode.IDEFoundation.IDEResultKitSerializationConverter)

huangapple go评论73阅读模式
英文:

Having issues with XCode(14.3) build in Flutter 3.10.1 (Xcode.IDEFoundation.IDEResultKitSerializationConverter)

问题

The projects I was working was running fine until I upgraded my flutter version and xcode version now it works after doing flutter clean but any subsequent ios builds fails with the following error. I been trying to look for solutions but I found none. Will be really helpful if someone shared how to solve this issue.

Error output from Xcode build:
           ↳
[        ]     2023-05-18 08:27:33.217 xcodebuild[31393:1782938] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
               xcodebuild: error: Existing file at -resultBundlePath "/var/folders/x3/zv1948355lj7wtrfgg3vbmfr0000gn/T/flutter_tools.bAqZH1/flutter_ios_build_temp_dirbtKo5t/temporary_xcresult_bundle.xcresult"
英文:

The projects I was working was running fine until I upgraded my flutter version and xcode version now it works after doing flutter clean but any subsequent ios builds fails with the following error. I been trying to look for solutions but I found none. Will be really helpful if someone shared how to solve this issue.

Error output from Xcode build:
           ↳
[        ]     2023-05-18 08:27:33.217 xcodebuild[31393:1782938] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
               xcodebuild: error: Existing file at -resultBundlePath "/var/folders/x3/zv1948355lj7wtrfgg3vbmfr0000gn/T/flutter_tools.bAqZH1/flutter_ios_build_temp_dirbtKo5t/temporary_xcresult_bundle.xcresult"

答案1

得分: 2

首先,如果您还没有下载命令行工具,请下载。然后,删除显示给您的文件。

rm -rf /var/folders/x3/zv1948355lj7wtrfgg3vbmfr0000gn/T/flutter_tools.bAqZH1/flutter_ios_build_temp_dirbtKo5t/temporary_xcresult_bundle.xcresult

这是未经测试的。希望它能正常工作。
如果不行,请升级或降级 Xcode 和 Flutter 到最新稳定版本。

英文:

First, download command line tools if you haven't yet. Then, remove the file that was displayed to you.

rm -rf /var/folders/x3/zv1948355lj7wtrfgg3vbmfr0000gn/T/flutter_tools.bAqZH1/flutter_ios_build_temp_dirbtKo5t/temporary_xcresult_bundle.xcresult

This is untested. Hope it works.
If it does not, please down(up)grade xcode and flutter to the latest stable version.

答案2

得分: 0

我建议降级到Xcode 14.1,因为它是最稳定的版本,我在Flutter 3.10版本中没有遇到任何问题。

英文:

i would suggest downgrading to Xcode 14.1 since is the most stable relase, i havent had any problem with flutter 3.10 releases

答案3

得分: 0

以下是要翻译的内容:

如果这是一个 Flutter 项目,以下步骤可能会有帮助:

  1. 更新 MacOS
  2. 更新 Xcode 和命令行工具
  3. 在项目文件夹中运行 flutter pub upgrade 和 flutter pub get
  4. 删除项目中 ios 文件夹中的 podfile.lock 文件
  5. 在项目文件夹中运行 cd ios、pod repo update 和 pod install
英文:

f it's a flutter project following step can be helpful:

Update MacOS
Update Xcode and command lines tools
Run flutter pub upgrade, flutter pub get in the project folder
Delete podfile.lock in ios folder of the project
Run cd ios, pod repo update, pod install in the project folder

huangapple
  • 本文由 发表于 2023年5月18日 13:36:21
  • 转载请务必保留本文链接:https://go.coder-hub.com/76278013.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定