You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why KSCrash chose such a weird naming but Tuist cannot deal with it.
I would post an issue to the KSCrash repo itself but it works well with native Xcode SPM. Seems like it just renames the SPM product's modules names by replacing "/" with "_".
Here is how it's recognized if was added as an SPM dependency through Xcode:
Run tuist cache or tuist generate --no-binary-cache
Error log
Targets to be cached: KSCrash/Installations, KSCrash/Recording, KSCrash/Recording/Monitors, KSCrash/Recording/Tools, KSCrash/Reporting/Filters, KSCrash/Reporting/Filters/Tools, KSCrash/Reporting/Sinks, KSCrash/Reporting/Tools, KSCrash/swift/Basic, KSCrash_KSCrash/Recording
Loading and constructing the graph
It might take a while if the cache is empty
Using cache binaries for the following targets:
Invalid bundle identifier 'KSCrash/Installations'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Recording'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Recording.resources'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Recording/Monitors'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Recording/Tools'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Reporting/Filters'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Reporting/Filters/Tools'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Reporting/Tools'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/Reporting/Sinks'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Invalid bundle identifier 'KSCrash/swift/Basic'. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
macOS version
14.4.1
Tuist version
4.8.1
Xcode version
15.3
The text was updated successfully, but these errors were encountered:
Looks like bundleId is taken from the package's target name and targetSettings from Package.swift/Dependencies.swift are applied during the generation process. Not before tuist linting.
What happened?
I don't know why KSCrash chose such a weird naming but Tuist cannot deal with it.
I would post an issue to the KSCrash repo itself but it works well with native Xcode SPM. Seems like it just renames the SPM product's modules names by replacing "/" with "_".
Here is how it's recognized if was added as an SPM dependency through Xcode:
How do we reproduce it?
Add KSCrash to the Package.swift:
Add KSCrash to a target dependency:
Run
tuist cache
ortuist generate --no-binary-cache
Error log
macOS version
14.4.1
Tuist version
4.8.1
Xcode version
15.3
The text was updated successfully, but these errors were encountered: