Reply to ld: cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSuppor I also met this question .But if you download the lastest code ,that can be solved this question Developer Tools & Services Xcode Oct ’22