Adopting New Safari Web Extension APIs
Improve your web extension in Safari with a non-persistent background page and new tab-override customization.
Overview
Configure the Sample Code Project
Before you run the sample code project in Xcode:
On macOS:
Open Safari and choose Develop > Allow Unsigned Extensions.
In the project settings in Xcode, select the Sea Creator (macOS) target.
Click the Signing & Capabilities tab.
For Signing Certificate, choose Sign to Run Locally. (Leave Team set to None.)
Repeat steps 3 and 4 for the Sea Creator Extension (macOS) target.
On iOS, to run on a device:
In the project settings in Xcode, select the Sea Creator (iOS) target.
Click the Signing & Capabilities tab.
Select a development team.
Repeat the above steps for the Sea Creator Extension (iOS) target.