How to choose Xcode version, SDK and toolchain to develop for Mac OS X?










1















Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:



  1. There is a any difference which Xcode use to build?


  2. Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.


  3. There is a any difference which toolchain use? Or I always should use one provided with Xcode?


  4. Should I use the same SDK as SDK used in base library? Or it is free to use latest?


  5. It is ok to use foreign SDK not provided with installed Xcode version?


Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?



P.S. Applications for PC only, no need any iOS support.










share|improve this question


























    1















    Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:



    1. There is a any difference which Xcode use to build?


    2. Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.


    3. There is a any difference which toolchain use? Or I always should use one provided with Xcode?


    4. Should I use the same SDK as SDK used in base library? Or it is free to use latest?


    5. It is ok to use foreign SDK not provided with installed Xcode version?


    Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?



    P.S. Applications for PC only, no need any iOS support.










    share|improve this question
























      1












      1








      1








      Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:



      1. There is a any difference which Xcode use to build?


      2. Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.


      3. There is a any difference which toolchain use? Or I always should use one provided with Xcode?


      4. Should I use the same SDK as SDK used in base library? Or it is free to use latest?


      5. It is ok to use foreign SDK not provided with installed Xcode version?


      Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?



      P.S. Applications for PC only, no need any iOS support.










      share|improve this question














      Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:



      1. There is a any difference which Xcode use to build?


      2. Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.


      3. There is a any difference which toolchain use? Or I always should use one provided with Xcode?


      4. Should I use the same SDK as SDK used in base library? Or it is free to use latest?


      5. It is ok to use foreign SDK not provided with installed Xcode version?


      Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?



      P.S. Applications for PC only, no need any iOS support.







      xcode






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 '18 at 11:04









      Ivan RomanovIvan Romanov

      4381520




      4381520






















          1 Answer
          1






          active

          oldest

          votes


















          3














          You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.



          To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.






          share|improve this answer























          • Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

            – Ivan Romanov
            Nov 15 '18 at 6:16










          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%2f53298725%2fhow-to-choose-xcode-version-sdk-and-toolchain-to-develop-for-mac-os-x%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









          3














          You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.



          To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.






          share|improve this answer























          • Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

            – Ivan Romanov
            Nov 15 '18 at 6:16















          3














          You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.



          To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.






          share|improve this answer























          • Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

            – Ivan Romanov
            Nov 15 '18 at 6:16













          3












          3








          3







          You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.



          To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.






          share|improve this answer













          You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.



          To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 '18 at 20:08









          Mark SzymczykMark Szymczyk

          13.9k24455




          13.9k24455












          • Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

            – Ivan Romanov
            Nov 15 '18 at 6:16

















          • Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

            – Ivan Romanov
            Nov 15 '18 at 6:16
















          Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

          – Ivan Romanov
          Nov 15 '18 at 6:16





          Oh dark theme. It's real problem. Due such "improvment" now I must choose will app always use light theme or drop 10.7 support or release app in two versions for modern and obsoletes versions of Mac OS. Really Apple has very user unfrendly politics. I hate this.

          – Ivan Romanov
          Nov 15 '18 at 6:16



















          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%2f53298725%2fhow-to-choose-xcode-version-sdk-and-toolchain-to-develop-for-mac-os-x%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







          這個網誌中的熱門文章

          How to read a connectionString WITH PROVIDER in .NET Core?

          In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

          Museum of Modern and Contemporary Art of Trento and Rovereto