Thread
#multiplatform
    Siggi Gunnarss

    Siggi Gunnarss

    2 years ago
    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 https://youtrack.jetbrains.com/issue/OC-17572 which is no longer valid.
    Samuel Michael

    Samuel Michael

    2 years ago
    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

    Siggi Gunnarss

    2 years ago
    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?
    Jake

    Jake

    2 years ago
    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

    Siggi Gunnarss

    2 years ago
    Right, so AS 4.1 instead of 4.0. Worth a shot!