Skip to content

fix(create-react-native-library): ignore test app artifacts - #952

Open
dcavalcante wants to merge 1 commit into
callstack:mainfrom
dcavalcante:fix/test-app-ignore-artifacts
Open

fix(create-react-native-library): ignore test app artifacts#952
dcavalcante wants to merge 1 commit into
callstack:mainfrom
dcavalcante:fix/test-app-ignore-artifacts

Conversation

@dcavalcante

@dcavalcante dcavalcante commented Aug 29, 2026

Copy link
Copy Markdown

Problem

create-react-native-library generates its example app through react-native-test-app, then removes that app's .gitignore.

The remaining common template ignores a literal project.xcworkspace, but the generated CocoaPods workspace is named after the library. After the first iOS setup, Git therefore reports generated local artifacts such as the workspace, .xcode.env, and Bundler's installed gems as untracked.

Fix

Restore equivalent ignore coverage in Builder Bob's common template while keeping .bundle/config and Podfile.lock visible for source control.

Validation

  • git diff --check
  • Verified the template ignores the generated workspace, .xcode.env, and Bundler installation tree.
  • Verified .bundle/config and example/ios/Podfile.lock remain unignored.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant