-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Currently, the build for this project succeeds only on every second run and fails on other runs (first, third, etc).
The error given is:
Build input file cannot be found: '...SwiftAuthorizationSampleHelperTool/launchd.plist'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
It seems like the launchd.plist is created by the script, but not recognised by Xcode as it is not listed as an output file of the Run Script build phase. The build fails, but since the file now exists, it succeeds on the second run where it is subsequently deleted again after compilation by the last build phase Run Script step.
I tried adding it as an output file after the run script build phase, but not sure how to reference a file in the source directory. Any ideas?