From 63fb0301580e65eed4e4afbfc71212b673d0e3d8 Mon Sep 17 00:00:00 2001 From: Ashkan Ebtekari <56440241+Chamepp@users.noreply.github.com> Date: Tue, 6 Jun 2023 10:13:33 +0330 Subject: [PATCH] Improved Swift.gitignore This pull request introduces improvements to the .gitignore file for Swift projects. --- Swift.gitignore | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/Swift.gitignore b/Swift.gitignore index 330d1674..53601285 100644 --- a/Swift.gitignore +++ b/Swift.gitignore @@ -1,15 +1,12 @@ # Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## User settings +# User settings xcuserdata/ -## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +# compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) *.xcscmblueprint *.xccheckout -## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +# compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) build/ DerivedData/ *.moved-aside @@ -22,48 +19,33 @@ DerivedData/ *.perspectivev3 !default.perspectivev3 -## Obj-C/Swift specific +# Obj-C/Swift specific *.hmap -## App packaging +# App packaging *.ipa *.dSYM.zip *.dSYM -## Playgrounds +# Playgrounds timeline.xctimeline playground.xcworkspace # Swift Package Manager -# -# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. -# Packages/ -# Package.pins -# Package.resolved -# *.xcodeproj -# -# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata -# hence it is not needed unless you have added a package configuration file to your project -# .swiftpm - .build/ +.swiftpm +Package.resolved # CocoaPods -# # We recommend against adding the Pods directory to your .gitignore. However # you should judge for yourself, the pros and cons are mentioned at: # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# # Pods/ -# # Add this line if you want to avoid checking in source code from the Xcode workspace # *.xcworkspace - # Carthage -# # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts - Carthage/Build/ # Accio dependency management @@ -71,20 +53,16 @@ Dependencies/ .accio/ # fastlane -# # It is recommended to not store the screenshots in the git repo. # Instead, use fastlane to re-generate the screenshots whenever they are needed. # For more information about the recommended setup visit: # https://docs.fastlane.tools/best-practices/source-control/#source-control - fastlane/report.xml fastlane/Preview.html fastlane/screenshots/**/*.png fastlane/test_output # Code Injection -# -# After new code Injection tools there's a generated folder /iOSInjectionProject +# After new code Injection tools, there's a generated folder /iOSInjectionProject # https://github.com/johnno1962/injectionforxcode - iOSInjectionProject/