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

40906897: New Build System: Cannot clean app if custom build directory is used #19856

Open
openradar-mirror opened this issue Jun 8, 2018 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Area:
Xcode

Summary:
When attempting to clean an app build with the new build system enabled, the app build aborts with an error.

Steps to Reproduce:

  1. Create a new app
  2. Specify a custom build directory via Build Settings
  3. Try to clean the project

Expected Results:
The build succeeds.

Actual Results:
The build fails with the following error:

[ERROR] note: Using new build system
[ERROR] error: Could not delete /path/to/project/build because it was not created by the build system and it is not a subfolder of derived data.
[ERROR] ** CLEAN FAILED **

Version/Build:
Version 10.0 beta (10L176w)

Configuration:
iOS 12.0 Simulator, new build system enabled

Product Version: iOS 12.0 + Xcode 10
Created: 2018-06-07T23:30:57.371670
Originated: 2018-06-07T00:00:00
Open Radar Link: http://www.openradar.me/40906897

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

No branches or pull requests

1 participant