Merge pull request #435 from alvarhansen/xpc-type

Changes XPC Service package type to XPC!
This commit is contained in:
Yonas Kolb
2018-11-05 23:21:30 +11:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -2,6 +2,9 @@
## Master
#### Fixed
- Fixed XPC Service package type [#435](https://github.com/yonaskolb/XcodeGen/pull/435) @alvarhansen
## 2.0.0
#### Added
+3 -2
View File
@@ -33,8 +33,9 @@ public class InfoPlistGenerator {
targetInfoPlist["CFBundlePackageType"] = "FMWK"
case .bundle:
targetInfoPlist["CFBundlePackageType"] = "BNDL"
case .xpcService:
targetInfoPlist["CFBundlePackageType"] = "XPC"
case .xpcService,
.appExtension:
targetInfoPlist["CFBundlePackageType"] = "XPC!"
default: break
}
return targetInfoPlist