“Unable to launch” on Xcode when i build my code on my iPhone





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















my code works on simulator but it doesn't work on real device with a message




Unable to launch




i want to play my code on my iPhone but i don't know how because i'm a beginner



please help










share|improve this question

























  • Possible duplicate of stackoverflow.com/questions/26287365

    – MrMister
    Nov 23 '18 at 22:42


















0















my code works on simulator but it doesn't work on real device with a message




Unable to launch




i want to play my code on my iPhone but i don't know how because i'm a beginner



please help










share|improve this question

























  • Possible duplicate of stackoverflow.com/questions/26287365

    – MrMister
    Nov 23 '18 at 22:42














0












0








0








my code works on simulator but it doesn't work on real device with a message




Unable to launch




i want to play my code on my iPhone but i don't know how because i'm a beginner



please help










share|improve this question
















my code works on simulator but it doesn't work on real device with a message




Unable to launch




i want to play my code on my iPhone but i don't know how because i'm a beginner



please help







xcode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 '18 at 7:22









Mohammad

16.1k123766




16.1k123766










asked Nov 23 '18 at 21:43









있음being있음being

11




11













  • Possible duplicate of stackoverflow.com/questions/26287365

    – MrMister
    Nov 23 '18 at 22:42



















  • Possible duplicate of stackoverflow.com/questions/26287365

    – MrMister
    Nov 23 '18 at 22:42

















Possible duplicate of stackoverflow.com/questions/26287365

– MrMister
Nov 23 '18 at 22:42





Possible duplicate of stackoverflow.com/questions/26287365

– MrMister
Nov 23 '18 at 22:42












1 Answer
1






active

oldest

votes


















0














it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.






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%2f53453226%2funable-to-launch-on-xcode-when-i-build-my-code-on-my-iphone%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.






    share|improve this answer




























      0














      it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.






      share|improve this answer


























        0












        0








        0







        it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.






        share|improve this answer













        it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 19 at 11:18









        lukyluky

        632916




        632916
































            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%2f53453226%2funable-to-launch-on-xcode-when-i-build-my-code-on-my-iphone%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







            這個網誌中的熱門文章

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud

            Zucchini