Skip to content

Unable to build with Xcode 26 for visionOS #5667

@levinli303

Description

@levinli303

Platform

visionOS

Environment

Other

Installed

Swift Package Manager

Version

8.53.2

Xcode Version

26.0 beta 3

Did it work on previous versions?

16.4

Steps to Reproduce

  1. create an Xcode project with iOS target and add visionOS support
  2. add code that starts Sentry
  3. build the project

Expected Result

Should build fine

Actual Result

The build fails in Compiling Swift module Sentry

<unknown>:0: error: C99 was enabled in PCH file but is currently disabled
<unknown>:0: error: module file /Users/[redacted]/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/SwiftShims-8E9KY877QCTXDJCE0XIKBPGI7.pcm cannot be loaded due to a configuration mismatch with the current compilation
<unknown>:0: error: missing required module 'SwiftShims'

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions