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

xcode: make release configuration the default #725

Open
headupinclouds opened this issue Aug 26, 2018 · 1 comment
Open

xcode: make release configuration the default #725

headupinclouds opened this issue Aug 26, 2018 · 1 comment

Comments

@headupinclouds
Copy link
Collaborator

Similar to #724

Currently the Xcode iOS facefilter build will launch in debug mode by default when the ▶️ icon is used, which will be slow. It would be better if we could make an optimized/release configuration the default, as this will be the first user experience, and release vs debug distinctions may not be obvious.

@headupinclouds
Copy link
Collaborator Author

headupinclouds commented Aug 26, 2018

There is some recent activity in CMake related to experimental support for Xcode schemes 🎆

The INFO tab has these settings:

  • XCODE_SCHEME_EXECUTABLE
  • XCODE_SCHEME_ARGUMENTS
  • XCODE_SCHEME_ENVIRONMENT

But there doesn't seem to be anything like "Build Configuration" yet. We would probably have to add XCODE_SCHEME_BUILD_CONFIGURATION, unless there is another trick for this.

As described here, it would probably have to run Release if we defined our own configuration types: -DCMAKE_CONFIGURATION_TYPES="Release" .

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

No branches or pull requests

1 participant