Correct use of SwiftGen
As it's impossible to fork and create a merge request, i'll put this here :
To improve the initialization of the project locally, and as specified by SwiftGen here https://github.com/SwiftGen/SwiftGen (-> Via CocoaPods), this should be the correct way to use this tool :
+++ b/COVID-19.xcodeproj/project.pbxproj
@@ -1687,7 +1687,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "swiftgen config run --config swiftgen.yml\n";
+ shellScript = "$PODS_ROOT/SwiftGen/bin/swiftgen config run --config swiftgen.yml\n";
};
+++ b/Podfile
@@ -8,4 +8,5 @@ target 'COVID-19' do
pod 'RealmSwift'
pod 'KeychainSwift'
pod 'ReCaptcha'
+ pod 'SwiftGen', '~> 6.0'