Skip to content

Commit 4931b5f

Browse files
authored
scheme container project fix (#119)
1 parent bb50939 commit 4931b5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/entitlements.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ func ProjectEntitlementsByBundleID(pth, schemeName, configurationName string) (m
3535
}
3636

3737
var ok bool
38-
scheme, schemeContainerDir, ok = workspace.Scheme(schemeName)
38+
var containerProject string
39+
scheme, containerProject, ok = workspace.Scheme(schemeName)
3940
if !ok {
4041
return nil, fmt.Errorf("no scheme found with name: %s in workspace: %s", schemeName, pth)
4142
}
43+
schemeContainerDir = filepath.Dir(containerProject)
4244
} else {
4345
return nil, fmt.Errorf("unknown project extension: %s", filepath.Ext(pth))
4446
}

0 commit comments

Comments
 (0)