2

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

Kdon
  • 892
  • 6
  • 19
  • Hey there! I'd suggest you try Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that helps you configure your builds, test and publish your app on the app store! – JulienP95 May 11 '23 at 13:53
  • @JulienP95 would be good if you acknowledge your involvement in the Appollo product when recommending it to people here. – Maks May 14 '23 at 23:07
  • Hello @Maks, yes, I am involved in the project. Did you give it a try yourself? – JulienP95 May 15 '23 at 07:11

1 Answers1

1

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.

Maks
  • 7,562
  • 6
  • 43
  • 65