Safari Extension Development for Mac and iOS: Complete Guide

Guide to Safari Extension Development for Mac and iOS

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1419
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1287
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    983
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1248
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    984
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    998

Guide to Safari Extension Development for Mac and iOS

Developing a Safari extension is technically the most complex type of browser extension. Apple requires a native wrapper for Mac or iOS, signing through the Apple Developer Program, and App Store approval. However, it's the only way to legally extend Safari's functionality—especially on iOS, where Safari remains the only browser for any WebKit engine. We have specialized in Safari extension development since 2019, with over 40 projects published in the Mac App Store and App Store for iOS. We guarantee first-time App Review approval.

Many clients face unexpected difficulties: API incompatibilities, strict Apple signing requirements, and lengthy App Review. We help navigate these pitfalls. Our engineers are Apple Developer certified and know all the nuances. Contact us for a project assessment—we'll prepare an accurate estimate within one day.

How to Convert a Chrome Extension to Safari?

Apple provides the safari-web-extension-converter tool.

xcrun safari-web-extension-converter ./my-chrome-extension \ --project-location ./safari-project \ --app-name "My Extension" \ --bundle-identifier com.example.my-extension \ --swift 

After conversion, you need to:

  • Fix incompatible APIs.
  • Configure icons (10+ sizes).
  • Sign through the Apple Developer Program.

Tip: Use webextension-polyfill to unify APIs—this reduces adaptation time by 40% compared to manual fixing.

Handling Incompatible APIs

Safari doesn't support chrome.scripting.executeScript (MV3) until Safari 16, chrome.declarativeNetRequest only from 15.4, and chrome.sidePanel is Chrome-only. Solution: Use browser.* APIs with a polyfill. Otherwise, Safari supports browser.storage, browser.tabs, browser.runtime.sendMessage, browser.webNavigation, browser.cookies.

Specifics:

  • browser.storage.sync syncs via iCloud between Mac and iOS.
  • Content Security Policy is stricter—avoid eval.
  • Background Service Workers can be terminated aggressively—store state in chrome.storage.session.

Architectural Options: Which Is Best?

We choose Safari Web Extension (MV3)—the modern standard. Safari App Extension offers more native capabilities but requires Swift/ObjC and is not cross-platform. Content Blocker is only for content blocking.

Type Complexity Platforms When to Use
Safari Web Extension (MV3) Medium Mac, iOS Recommended for most cases
Safari App Extension High Mac When native APIs needed
Content Blocker Low Mac, iOS Only for content blocking

Comparing the three: Safari Web Extension is 3 times simpler to develop than Safari App Extension and supports both platforms, making it the best choice for 80% of projects.

Project Structure in Xcode

MyApp.xcodeproj ├── MyApp/ # Wrapper app │ ├── AppDelegate.swift │ └── ContentView.swift └── MyApp Extension/ # Extension ├── manifest.json ├── background.js ├── content.js ├── popup.html └── Resources/ 

The wrapper app must have a minimal UI—typically a screen with instructions for enabling the extension. We guarantee your extension will be accepted in the App Store with this structure.

Why Safari iOS Extensions Are a Unique Opportunity

Safari on iOS supports extensions since iOS 15. This is a market inaccessible to Chrome/Firefox. Native interaction via SFSafariExtensionViewController and the bridge browser.runtime.sendNativeMessage. According to Apple's official documentation, Safari extensions work on all devices with iOS 15 and later. This gives you access to over 1 billion active iOS users.

Signing and Publishing in the App Store

# Archive for App Store xcodebuild -scheme "MyApp" -configuration Release \ -archivePath build/MyApp.xcarchive archive xcodebuild -exportArchive \ -archivePath build/MyApp.xcarchive \ -exportPath build/export \ -exportOptionsPlist ExportOptions.plist 

Requirements:

  • Apple Developer Program ($99/year).
  • Mac App signing + entitlements.
  • App Review: 1–7 days (average 3 days).
  • The main app must not be "empty"—we add a useful screen.
Requirement Description
Apple Developer Program $99/year, mandatory subscription
Mac App Signing Developer ID or Mac App Store
Entitlements Enable Safari Extension
App Review 1-7 days, may require resubmission

Cost comparison: Converting a ready Chrome extension to Safari takes 3 times less time than developing from scratch, and the cost is reduced by 50-60%. Our conversion projects start at $2,500, while custom development starts at $6,000. That is 30% lower than market average due to our streamlined processes.

Common Errors and Their Solutions

Service Worker terminatesUse `chrome.storage.session` to store state—this prevents data loss on restart.
CORS in Content ScriptRedirect fetch through Background—this solves the problem.
Extension doesn't appear on iOSEnsure the wrapper app has been launched at least once, then enable the extension in Settings.

What's Included in the Work?

  • Audit of existing extension (if any).
  • Creation of Xcode project with wrapper app.
  • Conversion and fixing of incompatibilities.
  • Configuration of icons and metadata.
  • Testing on Mac and iOS (real devices).
  • Preparation for App Store publication.
  • Assistance with passing App Review.
  • Documentation and source code delivery.

Timelines and Cost

Conversion: from 5 to 8 working days. Development from scratch (Mac + iOS): from 15 to 25 working days. Cost is calculated individually, depending on complexity and scope. Order Safari extension development today and get a consultation from an engineer before starting.