Post

Replies

Boosts

Views

Activity

XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
My app includes a 3rd party framework that is embedded. The version from the Mac App Store runs just fine on 14.1.2. When I rebuild a released version of my app with XCODE 15 it now produces a "different Team ID" error and will not load the 3rd party framework. Eskimo talked about this problem in https://developer.apple.com/forums/thread/126895 He provided a workaround, but that requires reducing the App security by turning off library validation. Since this was not necessary in XCODE 14 there is an error regarding 3rd party frameworks that was introduced in XCODE 15
5
1
1.8k
Dec ’23
Not able to find user generated alerts in XCTest on Ventura
This is for MacOS My app posts errors during its operation. Two years ago the following used to be able to test whether the alert was correct (or missing) func isRightAlert(alertImgStr: String, target: String) -> Bool{ let app = XCUIApplication() let ackdialog = app.dialogs["alert"] let imageexists = ackdialog.images[alertImgStr/*"CaptureEclipse alert"*/].exists //let full = app.debugDescription XCTAssert(imageexists) let acklist = ackdialog.children(matching: .staticText) //NSLog( String(acklist.count)) var found = false NSLog("Alert>>>>>>>>>>>") for index in 0...acklist.count - 1{ <see if is is one of the expected ones> } <other tests> } Now that I am on Ventura with XCode 14.3 it is no longer able to detect the alert. ackdialog returns as not found. imageexists is false which triggers the Assert The alert is on the screen when the timeouts I added trigger app.debugDescription justs lists all of my menu entries These are my own alerts (NSAlert) and not system alerts.
5
0
1.1k
Aug ’23
XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
My app includes a 3rd party framework that is embedded. The version from the Mac App Store runs just fine on 14.1.2. When I rebuild a released version of my app with XCODE 15 it now produces a "different Team ID" error and will not load the 3rd party framework. Eskimo talked about this problem in https://developer.apple.com/forums/thread/126895 He provided a workaround, but that requires reducing the App security by turning off library validation. Since this was not necessary in XCODE 14 there is an error regarding 3rd party frameworks that was introduced in XCODE 15
Replies
5
Boosts
1
Views
1.8k
Activity
Dec ’23
Not able to find user generated alerts in XCTest on Ventura
This is for MacOS My app posts errors during its operation. Two years ago the following used to be able to test whether the alert was correct (or missing) func isRightAlert(alertImgStr: String, target: String) -> Bool{ let app = XCUIApplication() let ackdialog = app.dialogs["alert"] let imageexists = ackdialog.images[alertImgStr/*"CaptureEclipse alert"*/].exists //let full = app.debugDescription XCTAssert(imageexists) let acklist = ackdialog.children(matching: .staticText) //NSLog( String(acklist.count)) var found = false NSLog("Alert>>>>>>>>>>>") for index in 0...acklist.count - 1{ <see if is is one of the expected ones> } <other tests> } Now that I am on Ventura with XCode 14.3 it is no longer able to detect the alert. ackdialog returns as not found. imageexists is false which triggers the Assert The alert is on the screen when the timeouts I added trigger app.debugDescription justs lists all of my menu entries These are my own alerts (NSAlert) and not system alerts.
Replies
5
Boosts
0
Views
1.1k
Activity
Aug ’23