openframeworks / openframeworks/projectGenerator

Bug: Automatically Make Legal Bundle Identifier (ios)

Open
#158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

Currently Project Generator creates illegal bundle identifiers based on the folder names.

Namely, project files with underscores cause a problem.

Project Generator should replace all illegal characters in the bundle identifier to reduce errors and prevent the user from manually adjusting the bundle identifier.

Error example:

(null): error: CFBundleIdentifier 'example_ios' contains illegal character '_' invalid bundle identifier 'example_ios'

For more (ref)

The bundle ID string must be a uniform type identifier (UTI) that contains only alphanumeric characters (A-Z,a-z,0-9), hyphen (-), and period (.). The string should be in reverse-DNS format. For example, if your organization’s domain is Acme.com and you create an app named Hello, you could assign the string com.Acme.Hello as your app’s bundle ID.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Project Generator entry point that derives iOS bundle identifiers from folder names. Check how underscores and other characters are handled, then verify generated identifiers use only alphanumeric characters, hyphens, and periods and no longer produce the reported iOS error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.