rhysd / wdio-appium-service

No longer need to launch Appium manually for Webdriver.io
MIT License
9 stars 8 forks source link

Simulator Crash - Native Safari #5

Open unicornexpat opened 7 years ago

unicornexpat commented 7 years ago

Hi,

I want to test the Safari browser but fail to start the iOS simulator up. It crash every times. I am able to start the simulator manually though.

I see there is an error on the appium log

Failed to load Info.plist from bundle at path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/MobileSoftwareUpdate.framework

wdio.conf.js

        maxInstances: 1,
        browserName: 'Safari',
        appiumVersion: '1.6.3',
        deviceName: 'iPhone 7',
        deviceOrientation: 'portrait',
        platformVersion: '10.2',
        platformName: 'iOS'
    }],
services: ['appium'],
appium: {
        args: {
            address: '127.0.0.1',
            commandTimeout: '7200',
            sessionOverride: true,
            debugLogSpacing: true,
            platformVersion: '10.2',
            platformName: 'iOS',
            showIosLog: true,
            deviceName: 'iPhone 7',
            nativeInstrumentsLib: true,
            isolateSimDevice: true,
        }
    },

Any ideas? Why the simulator cannot boot up?

patthiel commented 7 years ago

Try upgrading your appium installation. npm update -g appium (if installed globally)

unicornexpat commented 7 years ago

I did update it. Doesn't seem to solve the problem

veith commented 7 years ago

@ethannguyens did you find a solution?