<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating an add on for both Windows and Mac machines in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586141#M9140</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Short answer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need a Mac. You can find the setup instructions on the &lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake" target="_self"&gt;GitHub page&lt;/A&gt; I've linked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Long answer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know any solution that could cross-compile native C++ code from Windows to Mac.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A solution can be to set up a CI system (like GitHub actions) that builds your solution in the cloud both for Windows and Mac. The CMake template example does this, you can find the corresponding action here:&amp;nbsp;&lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake/blob/master/.github/workflows/build.yml" target="_blank"&gt;https://github.com/GRAPHISOFT/archicad-addon-cmake/blob/master/.github/workflows/build.yml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another challenge here is that on Mac you need to code sign and notarize your Add-On. For this you need an Apple Developer ID and set up the workflow. As far as I know you will need a Mac along the process.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 17:26:26 GMT</pubDate>
    <dc:creator>Viktor Kovacs</dc:creator>
    <dc:date>2024-01-31T17:26:26Z</dc:date>
    <item>
      <title>Creating an add on for both Windows and Mac machines</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586034#M9137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I created an add-on using VS2022 on Windows 11 OS. I obtained an .apx file and tried to use it on both Windows and Mac machines. It works fine on Windows, but on the Mac, I couldn't find a way to make it work. Even when I changed the extension to .bundle, it still didn't work.&lt;/P&gt;
&lt;P&gt;What should I do to ensure the same add-on works on both Windows and Mac machines?&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;all!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:45:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586034#M9137</guid>
      <dc:creator>yahavsa</dc:creator>
      <dc:date>2024-09-16T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an add on for both Windows and Mac machines</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586037#M9138</link>
      <description>&lt;P&gt;Add-Ons must be compiled separately for Windows and Mac. If you use platform independent code it should not be a problem, but the build should happen separately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend using the cmake template that is prepared for both platforms:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake" target="_blank"&gt;https://github.com/GRAPHISOFT/archicad-addon-cmake&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 06:10:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586037#M9138</guid>
      <dc:creator>kovacsv</dc:creator>
      <dc:date>2024-01-31T06:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an add on for both Windows and Mac machines</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586081#M9139</link>
      <description>&lt;P&gt;Thank you very much for the quick answer!&lt;/P&gt;&lt;P&gt;If I am currently working in VS2022 on a computer with a Windows 11 OS and want to release an add-on for Mac, do I actually need to work on another IDE? Is it possible to do this through a Windows computer? Is it possible to do this using VS2022? Do I need to download any software for this to work? I would appreciate a brief explanation of whether and how I can produce a Mac add-on from a Windows computer. Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 11:53:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586081#M9139</guid>
      <dc:creator>yahavsa</dc:creator>
      <dc:date>2024-01-31T11:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an add on for both Windows and Mac machines</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586141#M9140</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Short answer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need a Mac. You can find the setup instructions on the &lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake" target="_self"&gt;GitHub page&lt;/A&gt; I've linked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Long answer&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know any solution that could cross-compile native C++ code from Windows to Mac.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A solution can be to set up a CI system (like GitHub actions) that builds your solution in the cloud both for Windows and Mac. The CMake template example does this, you can find the corresponding action here:&amp;nbsp;&lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake/blob/master/.github/workflows/build.yml" target="_blank"&gt;https://github.com/GRAPHISOFT/archicad-addon-cmake/blob/master/.github/workflows/build.yml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another challenge here is that on Mac you need to code sign and notarize your Add-On. For this you need an Apple Developer ID and set up the workflow. As far as I know you will need a Mac along the process.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 17:26:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Creating-an-add-on-for-both-Windows-and-Mac-machines/m-p/586141#M9140</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2024-01-31T17:26:26Z</dc:date>
    </item>
  </channel>
</rss>

