I'm currently working on the already developed iOS project. In this project custom framework is used which is giving me error 'abcLib/abcLib.h' file not found
.
When I had a look at framework in the Finder
, I found that the symlinks are broken and because of which I'm not able to include the Header files
in project which leads to file not found error.
Following image shows the custom framework structure:
I also got the framework in .zip format from one of my colleague (who probably has a windows machine) and tried to integrate it again but issue still persist. Is there a way by which I can get the framework with no broken symlinks or a way to recreate the broken symlinks.
Or that I'll need the code that created the framework
Note: I don't have the Project used to create the framework.
You can recreate the symlinks using this script. I used it a couple times, it works fine.
Edit :
First delete all broken symlinks.
Then you can recreate them using this command :
ln -s {path_to_folder_or_file} {name_of_symlink}
So you will need in myFramework.framework/Versions/
:
Current
that points to A
And in myFramework.framework/
:
The symlink Headers
that points to /Versions/Current/Headers
The symlink Resources
that points to /Versions/Current/Resources
if you have one
myFramework
that points to /Versions/Current/myFramework
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With