Search code examples
xcodeappiumappium-iosappium-inspector

Appium inspector give error "Original error: App with bundle identifier 'xxxx' unknown


I am quite new to Appium testing and I am trying to use Appium inspector https://github.com/appium/appium-inspector.

I run my app 'IntegrationApp' on iOS simulator in Xcode. The bundle identifier shown in Xcode for 'IntegrationApp' is 'com.facebook.IntegrationApp'

enter image description here

And 'IntegrationApp' is running successfully on simulator

enter image description here

Then when I try to connect Appium inspector to app 'IntegrationApp' on simulator, it gives error 'Failed to create session. An unknown server-side error occurred while processing the command. Original error: App with bundle identifier 'com.facebook.IntegrationApp' unknown'

enter image description here

What might the issue be?

Incidentally, the app comes from Appium installation and the 'WebDriverAgent.xcodeproj' project is under .../node_modules/appium/node_modules/appium-webdriveragent, so I assume it's a normal app to use for simulator, i.e. no need of signing etc.

I also tried other app that should already exist on simulator, like app store, but it's giving the same error.

enter image description here


Solution

  • I can't tell you what exactly is the issue but this app is not meant to be used like this. If you just want to get familiar I would advise you to use any of the native iOS apps - like Settings, Camera or whatever. You can find their bundle IDs here