Skip to content

feat(wxt): add built-in Safari Xcode converter module - #2779

Open
rxliuli wants to merge 3 commits into
wxt-dev:mainfrom
rxliuli:feat/module-safari
Open

rxliuli wants to merge 3 commits into
wxt-dev:mainfrom
rxliuli:feat/module-safari

Conversation

@rxliuli

@rxliuli rxliuli commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Overview

Implements Stage 1 of #2776: converts wxt build -b safari output into a normalized macOS/iOS Xcode project out of the box when safari is configured in wxt.config.ts.

  • Added private workspace package @wxt-dev/module-safari and bundled it directly into wxt via inlineDeps (zero extra install, no runtime dependency on a private package).
  • Registered as a built-in module (wxt:built-in:safari) running on build:done only for browser === 'safari' and command === 'build'.
  • Normalizes both OpenStep project.pbxproj (via plutil) and Xcode 27.2+ JSON project.xcproj (bundle IDs by productType, version/build number, app category, team ID, ITSAppUsesNonExemptEncryption = NO, Info.plist CFBundleVersion).
  • Replaces the bare converter placeholder with a universal macOS/iOS setup instructions page.
  • Updated docs/guide/essentials/publishing.md and added unit tests.

Demo & Companion PR

@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f7b9c43
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6b040fb5e31c92a7dbbf7a93
😎 Deploy Preview https://deploy-preview-2779--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 105745a4-3e2e-4850-9754-afe4cf639aea

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added pkg/wxt Includes changes to the `packages/wxt` directory pkg/module-safari Includes changes to the `packages/module-safari` directory labels Nov 23, 2026
@nishu-murmu

Copy link
Copy Markdown
Collaborator

@rxliuli can I test this in my linux system, or do i exclusively need safari for this?

@pkg-pr-new

pkg-pr-new Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2779

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2779

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2779

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2779

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2779

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2779

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2779

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2779

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2779

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2779

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2779

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2779

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2779

wxt

npm i https://pkg.pr.new/wxt@2779

commit: 6e85ece

@rxliuli

rxliuli commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

@rxliuli can I test this in my linux system, or do i exclusively need safari for this?

You must use a Mac and the Xcode toolchain; sorry, this is a universal restriction for all Apple development.

@nishu-murmu

Copy link
Copy Markdown
Collaborator

I won't be able to test it then

@rxliuli

rxliuli commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

I won't be able to test it then

maybe @aklinker1 can review and test it?

@rxliuli

rxliuli commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

@nishu-murmu Here's a public macOS GitHub Actions run verifying the full flow (Stage 1 pnpm build:safari + Stage 2–3 wxt submit --safari-skip-submit-review uploading both macOS & iOS v0.0.24 to App Store Connect):

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/module-safari Includes changes to the `packages/module-safari` directory pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants