Error: Failed to read project platform: /Users/vagrant/git/Dialpad.xcworkspace: failed to get SDKROOT: key: string(“SDKROOT”) not found in: serialized.Object(serialized.Object{“PRODUCT_NAME”:“Dialpad”})
To add some more info, I’m using xcconfig files in my project, and that’s where SDKROOT is set. Maybe that’s why version 2.8.0 is failing.
Same here, the iOS builds started failing with the error message of failing to get SDKROOT. As the OP has mentioned, the workaround is reverting back to the 2.7.x version of the XCode Archive & Export step.
We are sorry to hear this! I just wanted to let you know that our Tooling team is aware of this issue with the latest version of the step and is currently looking into this.
Other users are reporting that downgrading to step version 2.7 resolves the issue (as you also mentioned), so in the meantime, as a workaround, I would kindly suggest using this version. We’ll update you here as soon as the issue is resolved. Thank you!
In version 2.8.1, we use the target build settings returned by xcodebuild -showBuildSettings to get the SDKROOT value.
I’ll close this thread as the latest release should fix it. If you need more info or help, just open a new issue or get in touch with our Support Team.