Xcode 10 Could not find any available simulators for iOS when install Carthage dependencies












8














I'm trying to install Carthage dependencies in my Xcode project with the



Carthage bootstrap --platform iOS 


command line but It's fail and I have this message in my terminal:



Could not find any available simulators for iOS


I've just updated Xcode with the 10 version then the simulators are already installed.



I've also tried to delete each one and reinstall only one with iOS 12.



I have still the same error.










share|improve this question
























  • Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
    – MadProgrammer
    Oct 5 at 4:35










  • I installed Xcode10.0 through App Store, but the issue remains the same.
    – kroko
    Oct 5 at 8:04










  • I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
    – u2Fan
    Oct 5 at 17:49












  • I've been having this issue, an upgrade to v0.31.1 solved it.
    – jameshartt
    Oct 15 at 14:53
















8














I'm trying to install Carthage dependencies in my Xcode project with the



Carthage bootstrap --platform iOS 


command line but It's fail and I have this message in my terminal:



Could not find any available simulators for iOS


I've just updated Xcode with the 10 version then the simulators are already installed.



I've also tried to delete each one and reinstall only one with iOS 12.



I have still the same error.










share|improve this question
























  • Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
    – MadProgrammer
    Oct 5 at 4:35










  • I installed Xcode10.0 through App Store, but the issue remains the same.
    – kroko
    Oct 5 at 8:04










  • I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
    – u2Fan
    Oct 5 at 17:49












  • I've been having this issue, an upgrade to v0.31.1 solved it.
    – jameshartt
    Oct 15 at 14:53














8












8








8







I'm trying to install Carthage dependencies in my Xcode project with the



Carthage bootstrap --platform iOS 


command line but It's fail and I have this message in my terminal:



Could not find any available simulators for iOS


I've just updated Xcode with the 10 version then the simulators are already installed.



I've also tried to delete each one and reinstall only one with iOS 12.



I have still the same error.










share|improve this question















I'm trying to install Carthage dependencies in my Xcode project with the



Carthage bootstrap --platform iOS 


command line but It's fail and I have this message in my terminal:



Could not find any available simulators for iOS


I've just updated Xcode with the 10 version then the simulators are already installed.



I've also tried to delete each one and reinstall only one with iOS 12.



I have still the same error.







xcode ios-simulator carthage






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 22 at 6:19









Cœur

17.4k9102144




17.4k9102144










asked Oct 4 at 15:37









kroko

413




413












  • Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
    – MadProgrammer
    Oct 5 at 4:35










  • I installed Xcode10.0 through App Store, but the issue remains the same.
    – kroko
    Oct 5 at 8:04










  • I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
    – u2Fan
    Oct 5 at 17:49












  • I've been having this issue, an upgrade to v0.31.1 solved it.
    – jameshartt
    Oct 15 at 14:53


















  • Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
    – MadProgrammer
    Oct 5 at 4:35










  • I installed Xcode10.0 through App Store, but the issue remains the same.
    – kroko
    Oct 5 at 8:04










  • I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
    – u2Fan
    Oct 5 at 17:49












  • I've been having this issue, an upgrade to v0.31.1 solved it.
    – jameshartt
    Oct 15 at 14:53
















Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
– MadProgrammer
Oct 5 at 4:35




Not sure if this is relevant to you or not, but, this "seems" to be an issue with 10.1 ... and yes, once you have it installed, there's nothing you seem to be able to do to fix it ☹️ See this issue for more details
– MadProgrammer
Oct 5 at 4:35












I installed Xcode10.0 through App Store, but the issue remains the same.
– kroko
Oct 5 at 8:04




I installed Xcode10.0 through App Store, but the issue remains the same.
– kroko
Oct 5 at 8:04












I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
– u2Fan
Oct 5 at 17:49






I'm getting this, too, on Xcode 9.4.1 with Carthage v 0.31.0. Xcode-select does show Xcode 9's build tools selected. Any Carthage command which invokes a build shows this for me, not just bootstrap.
– u2Fan
Oct 5 at 17:49














I've been having this issue, an upgrade to v0.31.1 solved it.
– jameshartt
Oct 15 at 14:53




I've been having this issue, an upgrade to v0.31.1 solved it.
– jameshartt
Oct 15 at 14:53












5 Answers
5






active

oldest

votes


















7














What worked for me was uninstalling Carthage and installing it again.



brew uninstall carthage --force
brew install carthage





share|improve this answer





























    1














    After installing Xcode 10.1, I had trouble even with Carthage 0.31.2. But I also have a habit of deleting all simulators when installing Xcode major versions. Adding a simulator for iOS 12.1 fixed things.






    share|improve this answer





























      1














      Upgrading to v0.31.1 or v0.31.2 fixes it:



      brew update && brew upgrade carthage





      share|improve this answer





























        0














        When a new xcode version comes out, it tends to happen. You can try to update Carthage with brew upgrade carthage if instaled with Brew






        share|improve this answer





























          0














          try to run




          sudo brew install --HEAD carthage




          Since Xcode 10.1 beta, Structures of xcrun simctl list devices --json is changed.



          Before



          {
          "devices" : {
          "iOS 12.0" : [
          {
          "state" : "Shutdown",
          "availability" : "(available)",
          "name" : "iPhone 5s",
          "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
          }
          ]
          }


          After



          {
          "devices" : {
          "iOS 12.0" : [
          {
          "state" : "Shutdown",
          "isAvailable" : "YES",
          "name" : "iPhone 5s",
          "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
          }
          ]
          }


          Because of this changes, parsing on Xcode 10.1 is failed.






          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%2f52650617%2fxcode-10-could-not-find-any-available-simulators-for-ios-when-install-carthage-d%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            What worked for me was uninstalling Carthage and installing it again.



            brew uninstall carthage --force
            brew install carthage





            share|improve this answer


























              7














              What worked for me was uninstalling Carthage and installing it again.



              brew uninstall carthage --force
              brew install carthage





              share|improve this answer
























                7












                7








                7






                What worked for me was uninstalling Carthage and installing it again.



                brew uninstall carthage --force
                brew install carthage





                share|improve this answer












                What worked for me was uninstalling Carthage and installing it again.



                brew uninstall carthage --force
                brew install carthage






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 31 at 9:54









                Tomáš Linhart

                6,27733746




                6,27733746

























                    1














                    After installing Xcode 10.1, I had trouble even with Carthage 0.31.2. But I also have a habit of deleting all simulators when installing Xcode major versions. Adding a simulator for iOS 12.1 fixed things.






                    share|improve this answer


























                      1














                      After installing Xcode 10.1, I had trouble even with Carthage 0.31.2. But I also have a habit of deleting all simulators when installing Xcode major versions. Adding a simulator for iOS 12.1 fixed things.






                      share|improve this answer
























                        1












                        1








                        1






                        After installing Xcode 10.1, I had trouble even with Carthage 0.31.2. But I also have a habit of deleting all simulators when installing Xcode major versions. Adding a simulator for iOS 12.1 fixed things.






                        share|improve this answer












                        After installing Xcode 10.1, I had trouble even with Carthage 0.31.2. But I also have a habit of deleting all simulators when installing Xcode major versions. Adding a simulator for iOS 12.1 fixed things.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Nov 12 at 19:19









                        Jon Reid

                        15.8k24878




                        15.8k24878























                            1














                            Upgrading to v0.31.1 or v0.31.2 fixes it:



                            brew update && brew upgrade carthage





                            share|improve this answer


























                              1














                              Upgrading to v0.31.1 or v0.31.2 fixes it:



                              brew update && brew upgrade carthage





                              share|improve this answer
























                                1












                                1








                                1






                                Upgrading to v0.31.1 or v0.31.2 fixes it:



                                brew update && brew upgrade carthage





                                share|improve this answer












                                Upgrading to v0.31.1 or v0.31.2 fixes it:



                                brew update && brew upgrade carthage






                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Dec 4 at 21:05









                                SoftDesigner

                                3,81023037




                                3,81023037























                                    0














                                    When a new xcode version comes out, it tends to happen. You can try to update Carthage with brew upgrade carthage if instaled with Brew






                                    share|improve this answer


























                                      0














                                      When a new xcode version comes out, it tends to happen. You can try to update Carthage with brew upgrade carthage if instaled with Brew






                                      share|improve this answer
























                                        0












                                        0








                                        0






                                        When a new xcode version comes out, it tends to happen. You can try to update Carthage with brew upgrade carthage if instaled with Brew






                                        share|improve this answer












                                        When a new xcode version comes out, it tends to happen. You can try to update Carthage with brew upgrade carthage if instaled with Brew







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Nov 5 at 15:04









                                        lamine

                                        11




                                        11























                                            0














                                            try to run




                                            sudo brew install --HEAD carthage




                                            Since Xcode 10.1 beta, Structures of xcrun simctl list devices --json is changed.



                                            Before



                                            {
                                            "devices" : {
                                            "iOS 12.0" : [
                                            {
                                            "state" : "Shutdown",
                                            "availability" : "(available)",
                                            "name" : "iPhone 5s",
                                            "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                            }
                                            ]
                                            }


                                            After



                                            {
                                            "devices" : {
                                            "iOS 12.0" : [
                                            {
                                            "state" : "Shutdown",
                                            "isAvailable" : "YES",
                                            "name" : "iPhone 5s",
                                            "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                            }
                                            ]
                                            }


                                            Because of this changes, parsing on Xcode 10.1 is failed.






                                            share|improve this answer


























                                              0














                                              try to run




                                              sudo brew install --HEAD carthage




                                              Since Xcode 10.1 beta, Structures of xcrun simctl list devices --json is changed.



                                              Before



                                              {
                                              "devices" : {
                                              "iOS 12.0" : [
                                              {
                                              "state" : "Shutdown",
                                              "availability" : "(available)",
                                              "name" : "iPhone 5s",
                                              "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                              }
                                              ]
                                              }


                                              After



                                              {
                                              "devices" : {
                                              "iOS 12.0" : [
                                              {
                                              "state" : "Shutdown",
                                              "isAvailable" : "YES",
                                              "name" : "iPhone 5s",
                                              "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                              }
                                              ]
                                              }


                                              Because of this changes, parsing on Xcode 10.1 is failed.






                                              share|improve this answer
























                                                0












                                                0








                                                0






                                                try to run




                                                sudo brew install --HEAD carthage




                                                Since Xcode 10.1 beta, Structures of xcrun simctl list devices --json is changed.



                                                Before



                                                {
                                                "devices" : {
                                                "iOS 12.0" : [
                                                {
                                                "state" : "Shutdown",
                                                "availability" : "(available)",
                                                "name" : "iPhone 5s",
                                                "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                                }
                                                ]
                                                }


                                                After



                                                {
                                                "devices" : {
                                                "iOS 12.0" : [
                                                {
                                                "state" : "Shutdown",
                                                "isAvailable" : "YES",
                                                "name" : "iPhone 5s",
                                                "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                                }
                                                ]
                                                }


                                                Because of this changes, parsing on Xcode 10.1 is failed.






                                                share|improve this answer












                                                try to run




                                                sudo brew install --HEAD carthage




                                                Since Xcode 10.1 beta, Structures of xcrun simctl list devices --json is changed.



                                                Before



                                                {
                                                "devices" : {
                                                "iOS 12.0" : [
                                                {
                                                "state" : "Shutdown",
                                                "availability" : "(available)",
                                                "name" : "iPhone 5s",
                                                "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                                }
                                                ]
                                                }


                                                After



                                                {
                                                "devices" : {
                                                "iOS 12.0" : [
                                                {
                                                "state" : "Shutdown",
                                                "isAvailable" : "YES",
                                                "name" : "iPhone 5s",
                                                "udid" : "A52BF797-F6F8-47F1-B559-68B66B553B23"
                                                }
                                                ]
                                                }


                                                Because of this changes, parsing on Xcode 10.1 is failed.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 24 at 16:20









                                                Tung Tran

                                                111




                                                111






























                                                    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.





                                                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                    Please pay close attention to the following guidance:


                                                    • 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%2f52650617%2fxcode-10-could-not-find-any-available-simulators-for-ios-when-install-carthage-d%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

                                                    Xamarin.iOS Cant Deploy on Iphone

                                                    Glorious Revolution

                                                    Dulmage-Mendelsohn matrix decomposition in Python