Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(spm): add product lines to Package.swift #7278

Merged
merged 16 commits into from
Mar 7, 2024
Prev Previous commit
Next Next commit
Make type a little better
  • Loading branch information
markemer committed Mar 1, 2024
commit 0cbbc89aab130a7c81fa1d14043d73d3e46d1e38
2 changes: 1 addition & 1 deletion cli/src/util/spm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface SwiftPlugin {
path: string;
}

export async function checkPackageManager(config: Config): Promise<string> {
export async function checkPackageManager(config: Config): Promise<'Cocoapods' | 'SPM'> {
const iosDirectory = config.ios.nativeProjectDirAbs;
if (existsSync(resolve(iosDirectory, 'CapApp-SPM'))) {
return 'SPM';
Expand Down
Loading