# multiplatform

Siggi Gunnarss

09/21/2020, 1:50 PM
Has anyone has success running iOS apps from Android Studio using the new plugin? I get authentication errors when installing via AS, the same project installs fine using the same config via xcode.
Reason: AMDeviceSecureInstallApplicationBundle failed with err = -402653177(The argument is invalid.)
The error is similar to which is no longer valid.

Samuel Michael

09/21/2020, 2:58 PM
Under the hood it is just running xcodebuild so it is nothing too fancy going on, only real difference from running command in terminal is opening up a console /tool window for terminal output. If you want you could even make a custom run configuration to do the same thing. I would run the same
xcodebuild -project ...
command it is running in the terminal and see if there is any additional debugging info

Siggi Gunnarss

09/22/2020, 6:51 AM
Yeah, that's the strange thing, the compilation finishes successfully, both in AS and command line. There's some final step that attempts to transfer the file over which causes the problem. I assume that step is in the closed source ios plugin?


09/22/2020, 12:38 PM
I needed to update to Android Studio RC 2 a while ago to get this to work. I’m not sure if that’s still the latest version

Siggi Gunnarss

09/23/2020, 6:58 AM
Right, so AS 4.1 instead of 4.0. Worth a shot!