in src/TulsiGenerator/PBXObjects.swift [826:882]
func productName(_ name: String) -> String {
switch self {
case .StaticLibrary:
return "lib\(name).a"
case .DynamicLibrary:
return "lib\(name).dylib"
case .Tool:
return name
case .Bundle:
return "\(name).bundle"
case .Framework:
return "\(name).framework"
case .StaticFramework:
return "\(name).framework"
case .Watch2App:
fallthrough
case .MessagesApplication:
fallthrough
case .AppClip:
fallthrough
case .Application:
return "\(name).app"
case .UnitTest:
fallthrough
case .UIUnitTest:
return "\(name).xctest"
case .InAppPurchaseContent:
return name
case .Watch1App:
// watchOS1 apps are packaged as extensions.
fallthrough
case .Watch1Extension:
fallthrough
case .Watch2Extension:
fallthrough
case .TVAppExtension:
fallthrough
case .MessagesExtension:
fallthrough
case .MessagesStickerPackExtension:
fallthrough
case .AppExtension:
return "\(name).appex"
case .XPCService:
return "\(name).xpc"
}
}