Skip to content

Conversation

@dkovba
Copy link
Contributor

@dkovba dkovba commented Nov 20, 2025

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Resolves a build error in Xcode:

Build input file cannot be found: '.../CAuditToken.o'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Copy link
Contributor

@jglogan jglogan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thanks!

The misplaced linkerSettings probably worked because SPM probably gathers the transitive closure of all the linker settings and plops them into the final linker command. So what I put was technically wrong (I had that code in CVersion at first, then forgot to update Package.swift because well, everything built), but practically it worked.

@dkovba dkovba merged commit 7926c31 into apple:main Nov 21, 2025
3 checks passed
@dkovba dkovba deleted the dkovba/caudittoken branch November 21, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants