Sobes.tech
Middle

Where can you find the package and appActivity for an iOS application?

sobes.tech AI

Answer from AI

For iOS applications in the context of automation with Appium, the concepts of package and appActivity, as in Android, are absent. Instead, the bundleId parameter is used — the unique identifier of the application.

To find out the bundleId of an iOS application, you can:

  • Look in Xcode in the project settings (General -> Identity -> Bundle Identifier).
  • Use the command ideviceinstaller -l (if libimobiledevice is installed) to list installed applications with their bundleId.
  • In Appium Desired Capabilities, specify bundleId instead of appPackage and appActivity.

Example of Desired Capabilities for iOS:

{
  "platformName": "iOS",
  "deviceName": "iPhone Simulator",
  "platformVersion": "14.4",
  "bundleId": "com.example.myapp"
}
Where can you find the package and appActivity for an… - sobes.tech