Skip to content

Commit

Permalink
chore: mark SPM as experimental (#7396)
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Pender <[email protected]>
Co-authored-by: Dan Giralté <[email protected]>
  • Loading branch information
3 people authored Apr 15, 2024
1 parent 1b21924 commit e63a881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export function runProgram(config: Config): void {
.description('add a native platform project')
.option(
'--packagemanager <packageManager>',
'The package manager to use for dependency installs (SPM, Cocoapods)',
'The package manager to use for dependency installs (Cocoapods, SPM **experimental**)',
)
.action(
wrapAction(
Expand Down
1 change: 1 addition & 0 deletions cli/src/util/spm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export async function generatePackageFile(
): Promise<void> {
const packageSwiftFile = await findPackageSwiftFile(config);
try {
logger.warn('SPM Support is still experimental');
const textToWrite = generatePackageText(config, plugins);
writeFileSync(packageSwiftFile, textToWrite);
} catch (err) {
Expand Down
3 changes: 3 additions & 0 deletions ios-spm-template/App/CapApp-SPM/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CapApp-SPM

> [!WARNING]
> SPM Support is currently experimental.
This SPM is used to host SPM dependancies for you Capacitor project

Do not modifiy the contents of it or there may be unintended concquences.

0 comments on commit e63a881

Please sign in to comment.