Required Reading
Plugin Version
8.0.0
Cap Doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 8.0.1
@capacitor/core: 8.0.1
@capacitor/android: 8.0.1
@capacitor/ios: 8.0.1
Installed Dependencies:
@capacitor/cli: 8.0.1
@capacitor/core: 8.0.1
@capacitor/android: 8.0.1
@capacitor/ios: 8.0.1
[success] iOS looking great! 👌
[success] Android looking great! 👌
Mobile operating-system(s)
Device Manufacturer(s) and Model(s)
Irrelevant, app doesn't build
Device operating-systems(s)
Irrelevant, app doesn't build
What happened?
I was following the instructions here to move from cocoapods to SPM: https://capacitorjs.com/docs/ios/spm
When I got to the step to add the package dependencies, it errors with an "unexpected ',' separator" error. This is due to a trailing comma after the path parameter on line 29 in Package.swift:
path: "ios/Sources/BackgroundFetchPlugin", // <- trailing comma here
Plugin Code and/or Config
Relevant log output
Required Reading
Plugin Version
8.0.0
Cap Doctor
Mobile operating-system(s)
Device Manufacturer(s) and Model(s)
Irrelevant, app doesn't build
Device operating-systems(s)
Irrelevant, app doesn't build
What happened?
I was following the instructions here to move from cocoapods to SPM: https://capacitorjs.com/docs/ios/spm
When I got to the step to add the package dependencies, it errors with an "unexpected ',' separator" error. This is due to a trailing comma after the path parameter on line 29 in Package.swift:
path: "ios/Sources/BackgroundFetchPlugin", // <- trailing comma here
Plugin Code and/or Config
Relevant log output