Skip to content
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

Could not build Objective-C module 'JWTKit' #232

Closed
ptoffy opened this issue Mar 5, 2024 · 2 comments
Closed

Could not build Objective-C module 'JWTKit' #232

ptoffy opened this issue Mar 5, 2024 · 2 comments

Comments

@ptoffy
Copy link

ptoffy commented Mar 5, 2024

I'm trying to run benchmarks on JWTKit, unfortunately I get

error: could not build Objective-C module 'JWTKit'

on the import JWTKit line. I just followed the getting started part of the README:

  • installed jemalloc: brew install jemalloc
  • ran swift package --allow-writing-to-package-directory benchmark init Signing
  • built and ran benchmarks with the default benchmark file

up until then everything worked. When importing JWTKit in the benchmark file and building, the error appears. Not sure if it's an issue with this repo or a SwiftPM thing but wanted to check to be sure

Thanks!

@ptoffy
Copy link
Author

ptoffy commented Mar 5, 2024

Forgot to add JWTKit to the benchmark's target's dependencies 🤦‍♂️

@ptoffy ptoffy closed this as completed Mar 5, 2024
@hassila
Copy link
Contributor

hassila commented Mar 5, 2024

Yeah. That misleading error is always missing dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants