yonaskolb / yonaskolb/XcodeGen

xcodegen 2.19.0 fails to run on Mojave due to missing CryptoKit framework

Open
#1,033 1 comment 1 reaction 1 assignee View on GitHub

@freddi-kit is already working on this.

Since Apr 1, 2021.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

Hi 👋, I'm currently working on packaging version 2.19.0 for Homebrew (progress at https://github.com/Homebrew/homebrew-core/pull/71781). We're currently running into an issue where the built binary doesn't seem to want to run on macOS 10.14 (Mojave):

==> /usr/local/Cellar/xcodegen/2.19.0/bin/XcodeGen --spec /private/tmp/xcodegen-test-20210223-82884-wnda1w/xcodegen.yml
dyld: Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit
  Referenced from: /usr/local/Cellar/xcodegen/2.19.0/bin/XcodeGen
  Reason: image not found

We believe the dependency is being pulled from Xcodeproj here, where it looks like CryptoKit should be linked if available (but workarounds are present if it's not available). However, I'm bringing this issue here just to see if we're wrong in analysis and figure out the correct steps to resolution.

Let me know if there's anything else you need from us that can help make troubleshooting or fixing this easier. Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.