[SR-1520] Create Static Libraries with Swift #44129
Labels
feature
A feature request or implementation
off topic
Resolution: Is beyond the scope of the Swift project (Xcode, proprietary Apple frameworks, etc.)
performance
static libraries
Xcode
Additional Detail from JIRA
md5: cbf166942ea50fa63373408448b4f338
is duplicated by:
relates to:
Issue Description:
As of now, it is impossible to create static libraries with any swift at all; pure or mixed with Objective-C. Before you tell me that I can use Frameworks, understand that this is not always an option. For example, when building a CLI, you need to embed everything into a single executable. This is possible with static libraries, but not frameworks. Because of this, the only way to create a CLI with any swift code at all (even if you just link to a 3rd party swift library) is by putting it in a statically defined location (ex.
/Frameworks
[which brings up many problems such as versioning and uninstallation], in a folder with the app, in some other search path, etc.).Please consider adding support for building static libraries.
The text was updated successfully, but these errors were encountered: