I have a CLI target in the Xcode project, and when I execute the binary, it drops default.profraw file in the current directory. Google and GPT say it should be related to the code coverage build setting, but turning it off doesn't help.
Xcode Version 15.0.1 (15A507)
Any idea where it comes from?
P.S. The project is OSS: https://github.com/alex35mil/NeoHub
Post
Replies
Boosts
Views
Activity
I work on an Xcode project that has three targets:
macOS app
CLI
shared framework (mostly shared types and constants)
macOS app and CLI have NIO as a dependency.
When I build and run targets in the default configuration, everything works. However, I plan to bundle the CLI into the main app bundle so users can install/symlink it to make it available in their PATH. When I add the "Copy Files" build phase and select the CLI product, the macOS app doesn't build with the error missing required module 'CNIOAtomics' that originates in the CLI.
How to configure the build considering the requirements?