4 Replies
      Latest reply: Jul 16, 2017 5:29 PM by douglasak RSS
      senatorsfc Level 1 Level 1 (0 points)

        Trying to build our app with the new XCode 9.0 Beta 2 for iOS 11 devices, attempting to install on both real device and Simulator.

         

        When the app attempts to be launched, XCode throws an error saying "This app was unable to be installed" , and on the device / simulator, the application is there, but greyed out. And when you click on it, the device throws an error saying "Unable to Install <App Name>" "This app could not be installed".

         

        Our app does support 64 bit, and Build Target is iOS 9.0.

        • Re: Unable to Install <App Name>
          loograt Level 1 Level 1 (0 points)

          try chmod -R u+w /path/to/your/project .. may have some read only files in there. unnistall the greyed out app and try again

            • Re: Unable to Install <App Name>
              rodalfus Level 1 Level 1 (0 points)

              I am having this issue as well (I have also not been able to install one of my apps directly to any device error: "App installation failed - Could not write to the device" or "App installation failed - internal API error"). Unfortunately the chmod command did not fix this issue for me, even when combined with cleaning the project, the build folder, deleting derived data and deleting the greyed out app from the home screen.

               

              While trying to install to the device, the following error was displayed in the device console as a first indication that something went wrong:

               

              Jul  4 17:03:56 iPhone installd(MobileSystemServices)[8901] <Notice>: 0x17df03000 MIMachOFileMatchesMyArchitecture: 97: can't open input file /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.Kgrayy/extracted/MyApp.app/PlugIns/MyAppVisualCodeIntentsExtensionUI.appex/MyAppVisualCodeIntentsExtensionUI: No such file or directory (NSPOSIXErrorDomain:2 (null))
              Jul  4 17:03:56 iPhone installd(MobileSystemServices)[8901] <Notice>: 0x17df03000 -[MIInstaller performInstallationWithError:]: Verification stage failed
              
            • Re: Unable to Install <App Name>
              drekka Level 1 Level 1 (0 points)

              Just had the same issue come up. I've had the Xcode B9 for weeks and it's been fine. Now this project has started refusing to install.

               

              I've reset the simulator, done the chmod thing, clear derived data, etc. Nothing has fixed the problem.

               

              Any other ideas?