Skip to content

[Bug]: [iOS] "Could not create a sandbox extension" on Clean SPM Project with Xcode 16.4 (16F6) #8161

@ArtifexRota

Description

@ArtifexRota

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3

Installed Dependencies:

@capacitor/android: not installed
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/ios: 7.4.3

[success] iOS looking great! 👌

Other API Details

npm version: 11.5.1
node version: v24.7.0
pod version: 1.16.2

macOS Version: Sequoia 15.3.1
Xcode Version:16.4 (16F6)
iOS Version on physical device: 18.6.2

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

When running a clean, minimal Capacitor 7 SPM project (created with npx cap add ios --packagemanager SPM) on a physical iOS device, the Xcode console logs the error Could not create a sandbox extension for .... This seems to prevent native plugins like Push Notifications from working correctly in a full application.

Expected Behavior

The app should start without the sandbox extension error.

Project Reproduction

https://github.com/ArtifexRota/capacitor-sandbox-bug-repro

Additional Information

Project is created with legacy Xcode 8.0 format, updating it does not solve the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions