You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`swift package generate-xcodeproj` now creates LaunchAction in the schema file (SchemesGenerator.swift:190). LaunchAction contains Environment variables if they are defined in the project:
These variables are convenient for configuration data like database credentials or verbose level that are overwritten later by docker-compose.yml (or any other tool). With this approach we have a single codeline for every deployment.
When there is a new dependency in Package.swift, xcode project must be regenerated. Right now the project is generated from scratch. Instead, package manager can check if the xcodeproj (now obsolete) is available and if the schema file contains LaunchAction and EnvironmentVariables inside. If it's the case, it can pass the set of variables to Schema Generator.
This behavior may be closed by additional flag, e.g. `swift package generate-xcodeproj --preserve_environment_vars
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 357d0752df0d3778cbfd528b5a830d93
Issue Description:
`swift package generate-xcodeproj` now creates LaunchAction in the schema file (SchemesGenerator.swift:190). LaunchAction contains Environment variables if they are defined in the project:
These variables are convenient for configuration data like database credentials or verbose level that are overwritten later by docker-compose.yml (or any other tool). With this approach we have a single codeline for every deployment.
When there is a new dependency in Package.swift, xcode project must be regenerated. Right now the project is generated from scratch. Instead, package manager can check if the xcodeproj (now obsolete) is available and if the schema file contains LaunchAction and EnvironmentVariables inside. If it's the case, it can pass the set of variables to Schema Generator.
This behavior may be closed by additional flag, e.g. `swift package generate-xcodeproj --preserve_environment_vars
The text was updated successfully, but these errors were encountered: