Swinject-Dynamic: "No such file or directory"
I'm hitting the above error in Xcode when adding swinject to my iOS project. This is preventing me from building my app and testing on a simulator.
Looking at the directory mentioned in the error message, the target file it's looking for is indeed missing.
Am I doing something wrong in setting up swinject?
Same issue @dpaulino have you found any solution ?
@yoichitgy
same issue
Same issue @dpaulino have you found any solution ?
@yoichitgy
no I haven't :(
a workaround : just add "swinject static lib" to your target instead both swinject and swiinject-dynamic
If you're using both Swinject and SwinjectAutoregistration you will have to remove from both the Dynamic version from frameworks
So you will go from this:
To this:
Hi! In my project I wasn't specifically using the swinject-dynamic (import swinject-dynamic) , so I removed the Swinject-dynamic from this section in build phases
after that I import the package dependency locally, downloading the package and importing it into my project, so I remove that part:
and finally my project is build
Is there a more permanent solution for this or do I need to keep removing Swinject-Dynamic every time I relaunch the project?
@nichojo89 https://github.com/Swinject/Swinject/pull/583