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.
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
Very worst XCode copying. We are really disappointed with these kind of issues!
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.
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.
xcode just cant find your info.plist file. Go build settings and edit info.plistFile with where is your project's info.plist file. I struggled with this problem like an hour and any solution on the internet cant solve this. so I solved by myself :)