- java.lang.Object
-
- com.gluonhq.substrate.util.ios.Deploy
-
public class Deploy extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Deploy(java.nio.file.Path checksPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDebugSymbolInfo(java.nio.file.Path appPath, java.lang.String appName)Adds debug symbols into a .dSYM bundlejava.nio.file.PathgetIosDeployPath()For tests onlybooleaninstall(java.lang.String app)Installs the .app bundle on a connected iOS device, but it doesn't launch itbooleanrun(java.lang.String app, java.lang.String bundleID)Runs an app on a connected iOS device, providing that is already installed, and enters debug mode
-
-
-
Method Detail
-
addDebugSymbolInfo
public void addDebugSymbolInfo(java.nio.file.Path appPath, java.lang.String appName) throws java.io.IOException, java.lang.InterruptedExceptionAdds debug symbols into a .dSYM bundle- Parameters:
appPath- the path of the app bundleappName- the name of the app- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
install
public boolean install(java.lang.String app) throws java.io.IOException, java.lang.InterruptedExceptionInstalls the .app bundle on a connected iOS device, but it doesn't launch it- Parameters:
app- The path of the .app bundle- Returns:
- True if the process succeeds
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
run
public boolean run(java.lang.String app, java.lang.String bundleID) throws java.io.IOException, java.lang.InterruptedExceptionRuns an app on a connected iOS device, providing that is already installed, and enters debug mode- Parameters:
app- The path of the .app bundlebundleID- The bundle id of the installed app- Returns:
- True if the process succeeds
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
getIosDeployPath
public java.nio.file.Path getIosDeployPath()
For tests only- Returns:
- the path of ios-deploy
-
-