Unable to launch /private/var/containers/Bundle/Application/










1















I've been trying to test an app on an iOS 12 device, but every time I build it, it successfully builds on the device (my iPhone or iPad) but crashes and I receive this message:



Unable to launch /private/var/containers/Bundle/Application/



(I'm using Xcode 10 beta 3 and Swift 4.2)



screenshot of error message










share|improve this question




























    1















    I've been trying to test an app on an iOS 12 device, but every time I build it, it successfully builds on the device (my iPhone or iPad) but crashes and I receive this message:



    Unable to launch /private/var/containers/Bundle/Application/



    (I'm using Xcode 10 beta 3 and Swift 4.2)



    screenshot of error message










    share|improve this question


























      1












      1








      1


      1






      I've been trying to test an app on an iOS 12 device, but every time I build it, it successfully builds on the device (my iPhone or iPad) but crashes and I receive this message:



      Unable to launch /private/var/containers/Bundle/Application/



      (I'm using Xcode 10 beta 3 and Swift 4.2)



      screenshot of error message










      share|improve this question
















      I've been trying to test an app on an iOS 12 device, but every time I build it, it successfully builds on the device (my iPhone or iPad) but crashes and I receive this message:



      Unable to launch /private/var/containers/Bundle/Application/



      (I'm using Xcode 10 beta 3 and Swift 4.2)



      screenshot of error message







      ios swift crash ios12 xcode10beta3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 2 '18 at 16:48









      Vadim Kotov

      4,38953247




      4,38953247










      asked Aug 1 '18 at 13:58









      Joseph CatleyJoseph Catley

      8110




      8110






















          3 Answers
          3






          active

          oldest

          votes


















          2














          Check if you already trusted the author of the app in your development device:



          Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet.



          I hope this helps 🙂






          share|improve this answer























          • Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

            – Joseph Catley
            Oct 8 '18 at 15:27












          • That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

            – AndaluZ
            Oct 9 '18 at 8:43











          • I didn’t have one when I asked

            – Joseph Catley
            Oct 10 '18 at 9:14











          • I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

            – AndaluZ
            Oct 10 '18 at 9:38


















          0














          1- Check if you are using distribution profile while running the application directly from Xcode to device, if so please use developer profile instead.



          2- Check if your device iOS is higher than the beta 3 as you are using Xcode10 beta3. If higher, try to use same Xcode beta version as your iOS



          If thats not the case provide more info about the Build setting you are using.






          share|improve this answer






























            0














            I might have found a solution for you.



            After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in keychain access and changed Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.



            Built again in xcode and it nows run properly.



            Hope this helps!






            share|improve this answer






















              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51635230%2funable-to-launch-private-var-containers-bundle-application%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              Check if you already trusted the author of the app in your development device:



              Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet.



              I hope this helps 🙂






              share|improve this answer























              • Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

                – Joseph Catley
                Oct 8 '18 at 15:27












              • That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

                – AndaluZ
                Oct 9 '18 at 8:43











              • I didn’t have one when I asked

                – Joseph Catley
                Oct 10 '18 at 9:14











              • I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

                – AndaluZ
                Oct 10 '18 at 9:38















              2














              Check if you already trusted the author of the app in your development device:



              Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet.



              I hope this helps 🙂






              share|improve this answer























              • Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

                – Joseph Catley
                Oct 8 '18 at 15:27












              • That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

                – AndaluZ
                Oct 9 '18 at 8:43











              • I didn’t have one when I asked

                – Joseph Catley
                Oct 10 '18 at 9:14











              • I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

                – AndaluZ
                Oct 10 '18 at 9:38













              2












              2








              2







              Check if you already trusted the author of the app in your development device:



              Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet.



              I hope this helps 🙂






              share|improve this answer













              Check if you already trusted the author of the app in your development device:



              Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet.



              I hope this helps 🙂







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Oct 8 '18 at 15:25









              AndaluZAndaluZ

              4821619




              4821619












              • Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

                – Joseph Catley
                Oct 8 '18 at 15:27












              • That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

                – AndaluZ
                Oct 9 '18 at 8:43











              • I didn’t have one when I asked

                – Joseph Catley
                Oct 10 '18 at 9:14











              • I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

                – AndaluZ
                Oct 10 '18 at 9:38

















              • Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

                – Joseph Catley
                Oct 8 '18 at 15:27












              • That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

                – AndaluZ
                Oct 9 '18 at 8:43











              • I didn’t have one when I asked

                – Joseph Catley
                Oct 10 '18 at 9:14











              • I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

                – AndaluZ
                Oct 10 '18 at 9:38
















              Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

              – Joseph Catley
              Oct 8 '18 at 15:27






              Thank you. But I ended up purchasing an Apple developer membership and testing apps via TestFlight. And realised my first app: itunes.apple.com/gb/app/ski-map/id1437116070?mt=8

              – Joseph Catley
              Oct 8 '18 at 15:27














              That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

              – AndaluZ
              Oct 9 '18 at 8:43





              That could also be a solution. But please, it would be helpful if you add in your question that you don't had a Developer's membership.

              – AndaluZ
              Oct 9 '18 at 8:43













              I didn’t have one when I asked

              – Joseph Catley
              Oct 10 '18 at 9:14





              I didn’t have one when I asked

              – Joseph Catley
              Oct 10 '18 at 9:14













              I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

              – AndaluZ
              Oct 10 '18 at 9:38





              I know @JosephCatley, but others that want to help you don't know. Normally, if you develop iOS app you can't do it without a Developer's membership, so we all assume here that you do have. Anyway, glad you solved your problem, but keep in mind to add as much info as possible to your question. We are all here to help each other :)

              – AndaluZ
              Oct 10 '18 at 9:38













              0














              1- Check if you are using distribution profile while running the application directly from Xcode to device, if so please use developer profile instead.



              2- Check if your device iOS is higher than the beta 3 as you are using Xcode10 beta3. If higher, try to use same Xcode beta version as your iOS



              If thats not the case provide more info about the Build setting you are using.






              share|improve this answer



























                0














                1- Check if you are using distribution profile while running the application directly from Xcode to device, if so please use developer profile instead.



                2- Check if your device iOS is higher than the beta 3 as you are using Xcode10 beta3. If higher, try to use same Xcode beta version as your iOS



                If thats not the case provide more info about the Build setting you are using.






                share|improve this answer

























                  0












                  0








                  0







                  1- Check if you are using distribution profile while running the application directly from Xcode to device, if so please use developer profile instead.



                  2- Check if your device iOS is higher than the beta 3 as you are using Xcode10 beta3. If higher, try to use same Xcode beta version as your iOS



                  If thats not the case provide more info about the Build setting you are using.






                  share|improve this answer













                  1- Check if you are using distribution profile while running the application directly from Xcode to device, if so please use developer profile instead.



                  2- Check if your device iOS is higher than the beta 3 as you are using Xcode10 beta3. If higher, try to use same Xcode beta version as your iOS



                  If thats not the case provide more info about the Build setting you are using.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 17 '18 at 18:43









                  pareshparesh

                  878




                  878





















                      0














                      I might have found a solution for you.



                      After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in keychain access and changed Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.



                      Built again in xcode and it nows run properly.



                      Hope this helps!






                      share|improve this answer



























                        0














                        I might have found a solution for you.



                        After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in keychain access and changed Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.



                        Built again in xcode and it nows run properly.



                        Hope this helps!






                        share|improve this answer

























                          0












                          0








                          0







                          I might have found a solution for you.



                          After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in keychain access and changed Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.



                          Built again in xcode and it nows run properly.



                          Hope this helps!






                          share|improve this answer













                          I might have found a solution for you.



                          After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in keychain access and changed Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.



                          Built again in xcode and it nows run properly.



                          Hope this helps!







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 12 '18 at 16:05









                          AlexisVeyAlexisVey

                          275




                          275



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51635230%2funable-to-launch-private-var-containers-bundle-application%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Use pre created SQLite database for Android project in kotlin

                              Darth Vader #20

                              Ondo