On: MacBook M1, MacOS 12.4, Xcode 13.4.1 (the issue was present in the previous Xcode version too).
When executing (for an iOS app): "xcrun altool --upload-package ...", I've started getting (it didn't happen before) this error sequentially 28 times:
2022-06-07 07:58:57.740 *** Error: /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool, terminated with status: 2 2022-06-07 07:58:57.740 *** Error: /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool (2): bitcode-build-tool internal error Traceback (most recent call last): File "/Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool", line 10, in bitcode_build_tool_main(sys.argv) File "/Applications/Xcode.app/Contents/Developer/usr/bin/../lib/bitcode_build_tool/main.py", line 65, in main env.initState(args) File "/Applications/Xcode.app/Contents/Developer/usr/bin/../lib/bitcode_build_tool/buildenv.py", line 160, in initState self.logger.debug("SDK path: {}".format(self.sdk)) AttributeError: 'BuildEnvironment' object has no attribute 'sdk'
After the errors are printed the upload-package starts the upload – though it no longer will show the upload progress – and eventually finishes without issue. I added some debug prints in buildenv.py and sure enough the args has "sdk_path=None".
Anyone else experiencing this? Any ideas on how to fix it?