Xcode strange warning - Multiple build commands for output file
| This is easily caused when you add git based subprojects. Xcode isn't smart enough to ignore the .git subfolder even though you can't see it from finder, so it will get very confused that there are multiple files named "master" or "exclude", (standard git repo files). With Xcode4, go to the project (root of the left tree) then click your app target and expand "Copy Bundle Resources", then remove all the references to .git, you shouldn't need them baked into your app anyway. | |||||||||||
| 
 | 
| Actually The answer to this is very simple. In your xcode search for the files which raises the warning, and just delete it. The Xcode will show only one reference of that file in the search results, but dont stop there, go ahead and delete it. (better make a back up to your project file before delete operation) Now do a build, you will see the warning removed. | |||||||
| 
 | 
 
                    
                     
                    
                 
                    
                
 
                
             
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号