From 7a44e9c8ffaaedb5a128f2aaf4c65f9920146105 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Fri, 7 Aug 2026 22:53:21 +0800 Subject: [PATCH] chore(ios): ignore Xcode userdata and local build artifacts Keep machine-local xcuserdata, userstate, and signing material out of git. --- apps/ios/.gitignore | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/apps/ios/.gitignore b/apps/ios/.gitignore index 4b417a02..fdc1f105 100644 --- a/apps/ios/.gitignore +++ b/apps/ios/.gitignore @@ -1,4 +1,41 @@ - +# Build / DerivedData / local archives build/ +DerivedData/ +*.ipa +*.dSYM.zip +*.dSYM + +# Xcode user-specific state (never commit) +xcuserdata/ +*.xcuserstate +*.xcuserdatad/ +**/xcuserdata/** +**/*.xcuserstate + +# Xcode scheme management that is machine-local (shared schemes stay under xcshareddata/) +*.xcscheme/xcuserdata/ + +# CocoaPods / Carthage / SPM local checkouts if present outside the project +Pods/ +Carthage/Build/ +.swiftpm/xcode/package.xcworkspace/xcuserdata/ + +# Fastlane local artifacts fastlane/report.xml fastlane/README.md +fastlane/test_output/ +fastlane/Preview.html +fastlane/screenshots/**/*.png +!fastlane/screenshots/**/frame*.png + +# Code signing / secrets (local only) +*.mobileprovision +*.cer +*.certSigningRequest +AuthKey_*.p8 +*.p8 + +# OS junk +.DS_Store +*.swp +*~