Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XcodeCapp build configuration fails with Xcode 15 #3061

Open
enquora opened this issue Dec 30, 2023 · 2 comments
Open

XcodeCapp build configuration fails with Xcode 15 #3061

enquora opened this issue Dec 30, 2023 · 2 comments
Assignees
Labels

Comments

@enquora
Copy link
Contributor

enquora commented Dec 30, 2023

Under Xcode 15, the XcodeCapp project cannot be built when opened in Xcode (with current build settings).
With the build setting 'Deployment Location' enabled, building produces a fatal error complaining about a 'Cycle inside XcodeCapp'. Disabling the 'Deployment Location' allows building and running in the expected manner.

This appears to be new behaviour with Xcode 15 - see this discussion. It's not immediately clear what, in our case, is causing Xcode to believe there exists a cycle in the build/deployment phases.

It is untested yet whether the problem occurs on the command line when supplying deployment location parameters directly.

Regardless, both the build and deployment process need to be revisited for modern versions of Xcode and macOS. Although it may be possible to fix building XcodeCapp and deploying when embedded in the overall Cappuccino install process, this doesn't properly address:

  1. Users installing compiled versions of the node branch (which is now the canonical branch, for most purposes).
  2. Users who may not have an Apple developer license for signing the build product (signed for local running has a short expiry window, does it not)?

A more robust workflow, imo, is moving XcodeCapp to its own Github repo within the Cappuccino organization,, building separately, then notarizing, posting beta and release builds, and adding the download and installation as part of the npm install process.

@enquora enquora added the tools label Dec 30, 2023
@enquora enquora self-assigned this Dec 30, 2023
@cappbot
Copy link

cappbot commented Dec 30, 2023

Assignee: enquora. Label: tools. What's next? A reviewer should examine this issue.

@enquora
Copy link
Contributor Author

enquora commented Apr 17, 2024

This has been patched in 'master' (Narwhal) branch.
Will keep open for reference until promotion of node to default branch is complete and fix has been merged to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants