SnapKit-Dynamic - No such file or directory: '.../Debug-iphoneos/PackageFrameworks/SnapKit-Dynamic.framework/SnapKit-Dynamic'
PatilManoj1717 opened this issue · comments
- I have looked at the Documentation
- I have read the F.A.Q.
- I have filled out this issue template.
Issue Info
Info | Value |
---|---|
Platform | Physical device - iPhone 13, Xcode 15.3 |
Platform Version | iOS 17.4.1 |
SnapKit Version | 5.7.1 |
Integration Method | SPM |
Issue Description
Snapkit working fine on simulator iPhone 13(iOS 15) & iOS 17 as well.
Issue is on physical device, when I try to run app on my physical device, it gives me following error.
No such file or directory: '.../DerivedData/.../SnapKit-Dynamic.framework/SnapKit-Dynamic'
Tried this one also, but no luck.
Attaching report file below.
Build Presentee_2024-05-10T22-55-09.txt
i have the same problem. has anyone an answer?
Same here...
Fix for me is:
- remove pd
- clear DeliveredData and build folder (cmd + shift + K)
- install Snapkit WITHOUT attaching SnapKit-Dynamic to target
Fix for me is:
- remove pd
- clear DeliveredData and build folder (cmd + shift + K)
- install Snapkit WITHOUT attaching SnapKit-Dynamic to target
Worked for me aswell. When installing through SPM, you just set target for SnapKit-Dynamic to 'none'
Fix for me is:
- remove pd
- clear DeliveredData and build folder (cmd + shift + K)
- install Snapkit WITHOUT attaching SnapKit-Dynamic to target
Whats pd?
Package dependency
Actually I have this problem using a simulator too. Just make a new project in Xcode, add the SnapKit package (https://github.com/SnapKit/SnapKit), try to build. You can't. — The only solution I've found is to take SnapKit-Dynamic out of the list of libraries in the app target's Link Binary With Libraries build phase.
Fix for me is:
- remove pd
- clear DeliveredData and build folder (cmd + shift + K)
- install Snapkit WITHOUT attaching SnapKit-Dynamic to target
It works like this for me, too. I'm curious what the fundamental reason for this issue