I changed my project name in project navigator and right after I tried to simulate it.
An error appeared and said "Build input file cannot be found"
I changed my project name in project navigator and right after I tried to simulate it.
An error appeared and said "Build input file cannot be found"
Did you do a Clean Build Folder ?
I got the same error, was actually migrating a branch of my project from UI Kit to swiftUI and also added scene delgate. along with renaming th project folder and also target name.
¡¡¡Thank you!!!
Worked for me, too - thanks!
It worked for me, too! Thanks a lot, @theAnshulGupta!
a proper solution without fiddling Clean Up Build or "Hard Clean" or Renaming of Projects..
in Xcode 10+, and i think even earlier versions, goto..
Left Panel
select Workspace
then select <Projectname>.xcodeproj
the middle section should present project settings by now
in the middle section the right side shows your Project and its Targets, select the Target.
from the presented Tabs choose Build Settings
use the search field to find CLANG_USE_OPTIMIZATION_PROFILE
, or type optim
.. to filter all available options.
by now you should see the section for Apple Clang - Code Generation
in which you will find the build option CLANG_OPTIMIZATION_PROFILE_FILE
.
That is the location of the profile that is missing. You could change that.
If you want to stop the use of profiling then just switch
Use Optimisation Profile aka CLANG_USE_OPTIMIZATION_PROFILE
to NO
Best explanation thanks man 👏🏼👏🏼👏🏼👏🏼👏🏼👏🏼
Very worst XCode copying. We are really disappointed with these kind of issues!
agree. the worse part is that Apple couldn't fix this. so we all have to live with it
If you recently moved your info.plist to another folder, then go to your Target / Build Settings / Packaging / Info.plist File and edit the path.
Thank you Cristy! You saved me <3
Thanks, Cristy !! This worked for me too. Your steps were straightforward and good for Xcode 14+ versions
I got this error after I deleted a .png file I was no longer using. I found the file name showing in red, deleted the name, did a clean build then my project was able to build.
This was helpful. Thanks