Add .gitignore and stop tracking local Xcode and macOS files.
Exclude xcuserdata, build artifacts, and secrets from version control while removing previously committed user-specific scheme and state files. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
50
.gitignore
vendored
Normal file
50
.gitignore
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# macOS
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
._*
|
||||
|
||||
# Xcode user-specific
|
||||
xcuserdata/
|
||||
*.xcuserstate
|
||||
*.xcbkptlist
|
||||
*.xccheckout
|
||||
*.moved-aside
|
||||
*.pbxuser
|
||||
*.mode1v3
|
||||
*.mode2v3
|
||||
*.perspectivev3
|
||||
|
||||
# Xcode build artifacts
|
||||
build/
|
||||
DerivedData/
|
||||
*.ipa
|
||||
*.dSYM
|
||||
*.dSYM.zip
|
||||
*.app.dSYM
|
||||
*.app.dSYM.zip
|
||||
*.xcarchive
|
||||
|
||||
# Swift Package Manager
|
||||
.build/
|
||||
.swiftpm/xcode/package.xcworkspace/xcuserdata/
|
||||
Package.resolved.bak
|
||||
|
||||
# CocoaPods build artifacts (Pods/ 目录已入库,保留 AMap 预编译库)
|
||||
Pods/resources-to-copy-*.txt
|
||||
|
||||
# Fastlane
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots/**/*.png
|
||||
fastlane/test_output
|
||||
|
||||
# IDE / editor
|
||||
.idea/
|
||||
*.swp
|
||||
*~
|
||||
|
||||
# Env / secrets
|
||||
.env
|
||||
.env.*
|
||||
*.pem
|
||||
Reference in New Issue
Block a user