Error when building iOS Flutter app using CodeMagic on Windows: Error (Xcode): F…/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

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

Error when building iOS Flutter app using CodeMagic on Windows: Error (Xcode): F.../XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

问题

I am building a Flutter iOS app using code magic virtual machine (as on windows), as suggested by an answer to this question. But I am getting this error message from CodeMagic when building.

One suggestion I have found is to amend the podfile, but I don't have/ can't create a podfile as on windows.

Is there any way to fix this error?

Error (Xcode): File not found: /Applications/Xcode-14.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

英文:

I am building a Flutter iOS app using code magic virtual machine (as on windows), as suggested by an answer to this question. But I am getting this error message from CodeMagic when building.

One suggestion I have found is to amend the podfile, but I don't have/ can't create a podfile as on windows.

Is there any way to fix this error?


Error (Xcode): File not found: /Applications/Xcode-14.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

答案1

得分: 1

有时,Flutter 插件需要通过 Cocoapods 配置其 iOS 构建,使用特定的本地库,然后需要将这些配置提交到您的 Git 存储库中。您可以使用 Codemagic 的功能,该功能允许通过 SSH 或 VNC 远程访问运行构建的 Mac mini VM,从而允许您运行所需的 Cocoapods 命令,然后提交生成的文件,并将其推送回远程 Git 存储库(例如 GitHub、GitLab 等)。

此外,您还可以在 Codemagic 的 GitHub 讨论区寻求帮助。如果您提供了具有错误的工作流程的构建 ID,Codemagic 的支持人员可以查看详细的工作流程错误日志,以帮助您解决问题。

英文:

Sometimes Flutter plugins will need to configure their build on iOS with specific native libs via cocoapods and then need this committed into your git repo. You can do this by using the Codemagic feature which allows remote access via SSH or VNC to the Mac mini VM your build is running on which then will allow you to run the required cocoapods command and then commit the generated files and push that back to your remote git repo (eg. GitHub, GitLab, etc)

Also you can ask for help with this on Codemagics GitHub discussions, where, if you provide the build ID for your workflow that had that error, Codemagic support staff can then look up the detailed error logs for your workflow to help them assist you in fixing the issue.

huangapple
  • 本文由 发表于 2023年5月11日 16:33:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76225645.html
匿名

发表评论

匿名网友

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

确定