Skip to content

Commit

Permalink
Add .staticFramework to PBXProductType.
Browse files Browse the repository at this point in the history
  • Loading branch information
ileitch committed Nov 10, 2018
1 parent 064eef4 commit 3c99b1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Added
- Added `projReferenceFormat` to `PBXOutputSettings` to allow changing the output format of generated references. `withPrefixAndSuffix` will give the legacy behaviour `xcode` will generate 32 character references as XCode does. https://github.com/tuist/xcodeproj/pull/345 by @samskiter.
- Added `com.apple.product-type.framework.static` to `PBXProductType`. https://github.com/tuist/xcodeproj/pull/347 by @ileitch.

## 6.3.0

Expand Down
3 changes: 2 additions & 1 deletion Sources/xcodeproj/Objects/Targets/PBXProductType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public enum PBXProductType: String, Decodable {
case none = ""
case application = "com.apple.product-type.application"
case framework = "com.apple.product-type.framework"
case staticFramework = "com.apple.product-type.framework.static"
case dynamicLibrary = "com.apple.product-type.library.dynamic"
case staticLibrary = "com.apple.product-type.library.static"
case bundle = "com.apple.product-type.bundle"
Expand All @@ -28,7 +29,7 @@ public enum PBXProductType: String, Decodable {
switch self {
case .application, .watchApp, .watch2App, .messagesApplication:
return "app"
case .framework:
case .framework, .staticFramework:
return "framework"
case .dynamicLibrary:
return "dylib"
Expand Down

0 comments on commit 3c99b1c

Please sign in to comment.