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

After I configured the document and modified the UI, when I tried to perform the refresh operation, I encountered the following error. #537

Open
ZhangQiJin opened this issue Feb 18, 2025 · 3 comments

Comments

@ZhangQiJin
Copy link

💉 Waiting for rebuild of /Users/zkz/AudioInputView/AudioInputView/TestScrollerViewController.xib
💉 ⚠️ Invalid path in INJECTION_DERIVED_DATA: /Users/zkz/Library/Developer/Xcode/DerivedData
💉 ⚠️ Could not locate derived data. Is the project under your home directory? If you are using a custom derived data path, add it as an environment variable INJECTION_DERIVED_DATA in your scheme.

Below are the location details of my project and the screenshots of Xcode configuration.

Image

Image

Image

@johnno1962
Copy link
Owner

Hi, I don't know what the problem might be there other than to suggest it may be to do with non-ASCII characters in the path.
The relevant code is here: https://github.com/johnno1962/HotReloading/blob/8350ba3142a5740d89f0250ffe69dba70bb404e1/Sources/HotReloading/SwiftEval.swift#L266

@ZhangQiJin
Copy link
Author

Is it related to the fact that I'm using the M4 chip?

@johnno1962
Copy link
Owner

No, that's very unlikely. From the command line "cd" into your derived data directory, type "echo $PWD" and use that value.

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

No branches or pull requests

2 participants