As you can see in the logs “autoAcceptAlerts” is set to “true” but native iOS alerts aren’t automatically dismissed as they were with the previous Appium version before XCUITest
Logs:
2016-10-31 10:09:29:456 - info: [Appium] Creating new XCUITestDriver session
2016-10-31 10:09:29:457 - info: [Appium] Capabilities:
2016-10-31 10:09:29:471 - info: [Appium] automationName: ‘XCUITest’
2016-10-31 10:09:29:471 - info: [Appium] platformName: ‘iOS’
2016-10-31 10:09:29:471 - info: [Appium] platformVersion: ‘10.0’
2016-10-31 10:09:29:471 - info: [Appium] deviceName: ‘iPhone 6’
2016-10-31 10:09:29:471 - info: [Appium] app: ‘/Users/guy.tsype/Desktop/Workspaces/MyHeritage.app’
2016-10-31 10:09:29:472 - info: [Appium] newCommandTimeout: 25
2016-10-31 10:09:29:472 - info: [Appium] language: ‘en’
2016-10-31 10:09:29:472 - info: [Appium] autoAcceptAlerts: true
2016-10-31 10:09:29:475 - info: [debug] [XCUITest] XCUITestDriver version: 2.0.26
2016-10-31 10:09:29:482 - info: [BaseDriver] Session created with session id: 0f18edd0-6f69-4505-978e-3d878aa81cf2
2016-10-31 10:09:29:523 - info: [debug] [XCUITest] Xcode version set to ‘8.0’
2016-10-31 10:09:29:529 - info: [debug] [XCUITest] iOS SDK Version set to ‘10.0’
2016-10-31 10:09:29:648 - info: [iOSSim] Constructing iOS simulator for Xcode version 8.0 with udid ‘C7DDD898-51E8-48CF-BAB4-4B1AA366FB32’
2016-10-31 10:09:29:650 - info: [XCUITest] Determining device to run tests on: udid: ‘C7DDD898-51E8-48CF-BAB4-4B1AA366FB32’, real device: false
2016-10-31 10:09:29:651 - info: [BaseDriver] Using local app ‘/Users/guy.tsype/Desktop/Workspaces/MyHeritage.app’
2016-10-31 10:09:29:652 - info: [debug] [XCUITest] Checking whether app is actually present
2016-10-31 10:09:29:653 - info: [debug] [ios-app-utils] Getting bundle ID from app
2016-10-31 10:09:29:717 - info: [debug] [iOSLog] Starting iOS 10.0 simulator log capture
2016-10-31 10:09:29:717 - info: [debug] [iOSLog] System log path: /Users/guy.tsype/Library/Logs/CoreSimulator/C7DDD898-51E8-48CF-BAB4-4B1AA366FB32/system.log
2016-10-31 10:09:29:734 - info: [XCUITest] Setting up simulator
2016-10-31 10:09:29:737 - info: [debug] [iOS] Setting locale information
2016-10-31 10:09:29:738 - info: [debug] [iOSSim] New language: en
2016-10-31 10:09:29:738 - info: [debug] [iOSSim] No locale updates necessary.
2016-10-31 10:09:29:739 - info: [debug] [iOS] No iOS / app preferences to set