Xcode warning : no rule to Process file when build phases has this file? Xcode warning : no rule to Process file when build phases has this file? xcode xcode

Xcode warning : no rule to Process file when build phases has this file?


Follow these steps,

  1. Select the project target
  2. Select the Build Phases
  3. Expand the Compile Source
  4. Remove the Header file (Reachability.h)

note : for removing the Reachability.h file from Compile Source, first select the file and then press the - button

Hope this may help you


Recently i was getting this issue , the main reason was i included .h files compile resources , which we shouldn't

so simple solution is

  1. go to target , select build phases
  2. search for .h files
  3. delete all .h files under compile resources .