pub fn sanitize_bundle_id_component(name: &str) -> StringAvailable on crate feature
full only.Expand description
Sanitizes a string to be a valid iOS bundle identifier component
Bundle identifiers can only contain alphanumeric characters (A-Z, a-z, 0-9), hyphens (-), and dots (.). However, to avoid issues and maintain consistency, this function converts all non-alphanumeric characters to lowercase letters only.
Examples:
- “bench-mobile” -> “benchmobile”
- “bench_mobile” -> “benchmobile”
- “my-project_name” -> “myprojectname”