XcodeGen: XcodeGenKit/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named XcodeGen_XcodeGenKit

XcodeGen: 2.39.0 Xcode: 15.2

When I run the latest xcodegen, I see this error:

⚙️  Generating plists...
⚙️  Generating project...
XcodeGenKit/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named XcodeGen_XcodeGenKit
[1]    3755 trace trap  xcodegen

There were no such errors in version 2.38.0.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

The fix works, thank you all!

Can anyone having issues confirm that 2.39.1 fixes the issue?

I’m using 0.17.5 as well. Installing mint on CI with brew install mint

I am experiencing this issue as well. Installing XcodeGen on CI using mint install yonaskolb/xcodegen

@freddi-kit Here is the code we use to download xcodegen on the CircleCI:

XCODEGEN_DIR="$HOME/xcodegen" && mkdir -p $XCODEGEN_DIR
curl -L -f https://github.com/yonaskolb/XcodeGen/releases/download/2.38.0/xcodegen.zip -o "${HOME}/xcodegen.zip"
unzip "${HOME}/xcodegen.zip" -d "${XCODEGEN_DIR}/"
echo 'export PATH="$HOME/xcodegen/xcodegen/bin:$PATH"' >> $BASH_ENV
source $BASH_ENV