johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.55k stars 565 forks source link

fatal error: 'header.h' file not found #import "header.h" #266

Closed amit115 closed 3 years ago

amit115 commented 5 years ago

I have folder structure as following in my app : Base/privateFolder/header.h Base/AppFolder/Appcode.m

In the Appcode.m i am calling the #import "header.h" .The plugin is not able to find the header.h file and recompilation fails.If i keep the .h file in the same folder as Appcode.m it is able to find it but this is not possible as i have a well structured huge code base . How could i overcome this issue?

z-shu07 commented 5 years ago

+1 help

johnno1962 commented 5 years ago

You could add the path to your project’s header include path perhaps?