-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XcodeGenKit/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named XcodeGen_XcodeGenKit #1445
Comments
It may be my fault due to artifact bundle, let me research |
Are you using XcodeGen from Swift Package? And what commands are you using? |
@freddi-kit I download the binary from the Github releases page. I use |
@freddi-kit Here is the code we use to download xcodegen on the CircleCI:
|
I see, I'm sorry because I'm busy so let me investigate at Sunday in Japanese Time ... 🙇🙇🙇 |
Or you can see my PR to how to fix it, please check my pr what I changed |
It's #1388. My change may wrong on loading Bundle |
By this change and this So, as a workaround, you can run XCODEGEN_DIR="$HOME/xcodegen" && mkdir -p $XCODEGEN_DIR
curl -L -f https://github.com/yonaskolb/XcodeGen/releases/download/2.39.0/xcodegen.zip -o "${HOME}/xcodegen.zip"
unzip "${HOME}/xcodegen.zip" -d "${XCODEGEN_DIR}/"
curl -LO https://github.com/yonaskolb/XcodeGen/releases/download/2.39.0/xcodegen.artifactbundle.zip
unzip xcodegen.artifactbundle.zip
cp -rp xcodegen.artifactbundle/xcodegen-2.39.0-macosx/bin/XcodeGen_XcodeGenKit.bundle "$XCODEGEN_DIR/xcodegen/bin/"
echo 'export PATH="$HOME/xcodegen/xcodegen/bin:$PATH"' >> $BASH_ENV
source $BASH_ENV Or, you can just use XCODEGEN_DIR="$HOME/xcodegen" && mkdir -p $XCODEGEN_DIR
curl -L -f https://github.com/yonaskolb/XcodeGen/releases/download/2.39.0/xcodegen.artifactbundle.zip -o "${HOME}/xcodegen.artifactbundle.zip"
unzip "${HOME}/xcodegen.artifactbundle.zip" -d "${XCODEGEN_DIR}/"
echo 'export PATH="$HOME/xcodegen/xcodegen.artifactbundle/xcodegen-2.39.0-macosx/bin:$PATH"' >> $BASH_ENV
source $BASH_ENV |
I am experiencing this issue as well. Installing XcodeGen on CI using |
@daltonclaybrook What version of Mint are you using? I'm using Mint 0.17.5 and have no issues. Mint versions older than 0.17.2 do not copy bundles. |
I'm using 0.17.5 as well. Installing mint on CI with |
I don't know why that issue didn't occur on my side, but your issue may be related to the following issue. |
Can anyone having issues confirm that 2.39.1 fixes the issue? |
|
sorry, please ignore above my comment |
It looks fixed from my sight with released binary in https://github.com/yonaskolb/XcodeGen/releases/tag/2.39.1 |
The fix works, thank you all! |
XcodeGen: 2.39.0
Xcode: 15.2
When I run the latest xcodegen, I see this error:
There were no such errors in version 2.38.0.
The text was updated successfully, but these errors were encountered: