-
Notifications
You must be signed in to change notification settings - Fork 794
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
No such file or directory: '~/DerivedData
#743
Comments
Same issue with me |
It looks like a version issue. It might have been resolved. I updated the package to the latest version (3.7.9) and the issue disappeared. |
Don't add the dynamic library. |
This did not work. |
Same issue with me too |
Solution is to compile the project via command line. |
When I try to build project via command line I did get this error
|
what I did exactly was remove the package, remove the derived data, reinstall the package, build via Xcode cli.
|
Follow this same steps and same version it will solve this issue on real device From Xcode 11+ : Select File > Swift Packages > Add Package Dependency. Enter https://github.com/marmelroy/PhoneNumberKit.git in the "Choose Package Repository" dialog. NOTE: Don't include Dynamic library only PhoneNumberKit |
The following error occurs when running my app on an actual phone (not the simulator):
No such file or directory: '~/DerivedData/apple-client-kjiouewknasoiuqwelk/Build/Products/Debug-iphoneos/PackageFrameworks/PhoneNumberKit-Dynamic.framework/PhoneNumberKit-Dynamic'
It does, however, run fine on the simulator. Any ideas what's going on?
iPhone Model: iPhone 14 Pro Max
iOS Version: 17.3
Xcode Version: 15.2
The text was updated successfully, but these errors were encountered: