chore(project): 添加 .gitignore 与 .editorconfig,忽略用户本地产物

- 补充 macOS / Xcode / Swift 常用忽略规则
- 移除已跟踪的 xcuserdata 用户本地产物
- 统一编辑器基础配置(Swift 4 空格缩进)
This commit is contained in:
2026-10-29 16:33:34 +08:00
parent 16d4204dc0
commit aec5354d8b
5 changed files with 51 additions and 38 deletions
+33
View File
@@ -0,0 +1,33 @@
# ---- macOS 系统文件 ----
.DS_Store
.AppleDouble
.LSOverride
# ---- Xcode 用户本地产物 ----
xcuserdata/
*.xcuserstate
*.xcscmblueprint
*.moved-aside
DerivedData/
build/
*.hmap
# ---- 构建产物 ----
*.ipa
*.dSYM
*.dSYM.zip
*.app
*.framework
*.xcframework
# ---- Swift Package Manager ----
.build/
.swiftpm/
# ---- CocoaPods(若未来引入) ----
Pods/
# ---- 工具与编辑器 ----
.vscode/
.idea/
*.swp