When I build my project from within Xcode or using XCodeBuild it builds ok, also I can create an archive within Xcode.
However when I try to build it using Jenkins and the Jenkin's xcode plugin everything builds but then during the ipa generation stage there is this error:
"error: Unable to create '/Users/..snip ..--$(SRCROOT)/NameOfProject-Info.plist"
What might the cause of this be?
TIA
The answer is actually given by @coffeebreaks in the comment above, I just wanted to add it here for completeness.
In my case the fix was to set the path of the info.plist to a path that does not include SRCROOT, so I changed from:
INFOPLIST_FILE = "$(SRCROOT)/ProjectName/AnotherPath/Info.plist";
to
INFOPLIST_FILE = "ProjectName/AnotherPath/Info.plist";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With