I am trying to install zipped .app file on simulator.
String iOSPath = System.getProperty("user.dir") + "/app/" + "iosFile.app.zip";
capabilities.setCapability(MobileCapabilityType.APP, iOSPath);
And according to documentation for .app, the .app folder must be the root of the zip file.
However I get the following error:
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Bad app: /myPathToApp/iosFile.app.zip. App paths need to be absolute or an URL to a compressed app file: App zip unzipped OK, but we could not find ‘.app’ bundle in it. Make sure your archive contains at least one package having ‘.app’ extension
Note: When I manually unzip, I get .app file on mac, which I am able to run. But for bamboo integration I need to read from .zip.
I have:
Appium 1.21.0
Xcode 12.5
iOS 14.5