There have been several reports of the plugin guide being out of date or incorrect because the plugin generator now creates SPM ready plugins, but the docs still refer to the .m classes and .xcworkspace file.
This PR updates the guide to only refer .swift files and the new SPM structure of the plugins.
Also adds information about the implementation class since it's been around for a few years already and the guide doesn't mention it and can be confusing since we talk about a single file but there are two.
There have been several reports of the plugin guide being out of date or incorrect because the plugin generator now creates SPM ready plugins, but the docs still refer to the
.m
classes and.xcworkspace
file.This PR updates the guide to only refer
.swift
files and the new SPM structure of the plugins. Also adds information about the implementation class since it's been around for a few years already and the guide doesn't mention it and can be confusing since we talk about a single file but there are two.related: https://github.com/ionic-team/create-capacitor-plugin/issues/103