Use the URL below when adding the package dependecy.
https://github.com/cobrowseio/cobrowse-plugin-xcode.git
Do not add the cbio
target to any of your own targets.
Download the binary from the releases page.
To use the Xcode plugin you must use the Swift Package rather than the manual download.
With the package added you can right mouse click on your app project in the project navigator and select GenerateCobrowseSelectors.
Select your targets you wish to use and click run.
Aruments can be passed by expanding the arguments section and clicking + to add a new argument.
It will ask for permission to modify your files. This is needed in order for the selectors to be added in the correct places.
If using the Swift Package you can find the executable at the location where your packages are checked out. Usually ~/Library/Developer/Xcode/DerivedData
but you can choose where by using the clonedSourcePackagesDirPath
parameter when using xcodebuild
.
If you have manually downloaded the executable then you will already know of it's location.
You can then run cbio generate selectors --source <PATH_TO_TARGET_FILES>
Any questions at all? Please email us directly at [email protected].
- macOS 13+