Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Check dependencies

warning: no rule to process file '/Users/priyankgandhi/Desktop/priyank/WalkUpAlarmRailways/Reachability.h' of type sourcecode.c.h for architecture i386

warning: no rule to process file '/Users/priyankgandhi/Desktop/priyank/WalkUpAlarmRailways/Reachability.h' of type sourcecode.c.h for architecture x86_64

How to solve it?

like image 589
Priyank Gandhi Avatar asked Apr 01 '14 06:04

Priyank Gandhi


2 Answers

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

like image 106
Neenu Avatar answered Oct 22 '22 23:10

Neenu


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 .
like image 33
Shaik Riyaz Avatar answered Oct 23 '22 01:10

Shaik Riyaz