Sourcery: Failed to build project with xcode 11.4
Hi, when i tried to build my project with new xcode 11.4 I had this issue with no error description.
Using configuration file at '.sourcery.platform.yml'
Scanning sources...
loadOrParse: 0.8185429573059082
resolution took 0.1482919454574585
combiningTypes: 0.16124391555786133
total: 0.9820070266723633
Found 213 types.
Loading templates...
Loaded 6 templates.
Loading took 0.008983016014099121
Generating code...
error:
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 17
- Comments: 27 (9 by maintainers)
I was able to find a temporary workaround by calling
unset SDKROOT
in the build phase script before calling sourcery. The value forSDKROOT
before being unset was/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk
I just opened a PR with the fix and an explanation of the problem if you are interested ๐
For what itโs worth, I also have a Swift template.