Append the -skipMacroValidation option to xcodebuild, or you can also add set it as a default via:
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
Post
Replies
Boosts
Views
Activity
I use this:
func open(appPath pathString: String) {
openFromSafari("com.myapp.myapp://my.domain.com\(pathString)")
XCTAssert(app.wait(for: .runningForeground, timeout: 5))
}
private func openFromSafari(_ urlString: String) {
let safari = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
safari.launch()
// Make sure Safari is really running before asserting
XCTAssert(safari.wait(for: .runningForeground, timeout: 5))
// Type the deeplink and execute it
let firstLaunchContinueButton = safari.buttons["Continue"]
if firstLaunchContinueButton.exists {
firstLaunchContinueButton.tap()
}
safari.textFields["Address"].tap()
let keyboardTutorialButton = safari.buttons["Continue"]
if keyboardTutorialButton.exists {
keyboardTutorialButton.tap()
}
safari.typeText(urlString)
safari.buttons["go"].tap()
let openButton = safari.buttons["Open"]
let _ = openButton.waitForExistence(timeout: 2)
if openButton.exists {
openButton.tap()
}
}
Similar issue to robs stack trace. Release version of Xcode 12.3 (17715), trying to build a small SwiftUI app. Other projects work beautifully.
Looks like it's horking when trying to evaluate run destinations.
Main Thread - https://developer.apple.com/forums/content/attachment/964e8677-2627-4196-9f09-af571871f98d