Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - Build input file cannot be found

After upgrading from Xcode 12, on any version of Xcode 13 or later, the following error occurs when running the sudo sh install-appledoc.sh command:

Build input file cannot be found: '~/<ProjectDir>/appledoc/default_templates.zip'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'appledoc' from project 'appledoc')

After researching the issue, the best lead I could find was to make sure that the target does not have any excluded architectures, which it does not. I can also confirm the noted file does exist at the stated location. So I am stumped on this one. Any ideas on how to fix please?

like image 880
RunLoop Avatar asked Dec 30 '25 09:12

RunLoop


1 Answers

This can be fixed by adding $(PROJECT_DIR)/default_templates.zip to the Output Files section of the Build Phases of the Appledoc project.

like image 148
RunLoop Avatar answered Jan 01 '26 01:01

RunLoop



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!