Skip to content

[Bug]: Capacitor 8 does not generate App.xcworkspace like Capacitor 7 #8358

@hknaus-clgx

Description

@hknaus-clgx

Capacitor Version

Capacitor 7 (Cocoapods) would generate App.xcworkspace but Capacitor 8 (with SPM) does not. We have been using App.xcworkspace in the fastlane gym configuration like:

gym(
      workpace: "./ios/App/App.xcworkspace",
      ...
)

I could not find any related documentation in Capacitor 8 upgrade docs, https://capacitorjs.com/docs/updating/8-0. I did find a similar issue that was opened with AppFlow but appears to be closed without resolution information, #8282.

Is there an expectation that we should doing this differently?

Other API Details

npm --version
10.9.2

node --version
v22.16.0

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

gym fails with:

22:29:41]: Called from Fastfile at line 45
[22:29:41]: [22:29:41]: 43: ) [22:29:41]: 44: [22:29:41]: => 45: gym( [22:29:41]: 46: verbose: true, [22:29:41]: 47: workspace: "./ios/App/App.xcworkspace", [22:29:41]:
[22:29:41]: Workspace file not found at path '/Users/runner/work/1/s/ios/App/App.xcworkspace'

Capacitor 8 is not generating the App.xcworkspace file.

Expected Behavior

Looking for direction... should i be expecting the App.xcworkspace file from Capacitor 8 or what is the new alternative?

Project Reproduction

only have a private repo

Additional Information

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions