# "Unrecognized platform name" when building

**URL:** <https://forum.juce.com/t/unrecognized-platform-name-when-building/56154>\
**Category:** General JUCE discussion\
**Created:** [May 9, 2023, 8:29pm UTC](https://forum.juce.com/t/unrecognized-platform-name-when-building/56154 "2023-05-09T20:29:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nashville](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nashville](https://forum.juce.com/u/Nashville)\
**Post date:** [May 9, 2023, 8:29pm UTC](https://forum.juce.com/t/unrecognized-platform-name-when-building/56154/1 "2023-05-09T20:29:43Z")

</div>

Hello!

Brand new to Juce, following Hack Audio’s Juce tutorial for building audio plugins (AU format), my goal is to play around with building an equalizer plugin.

I started by downloading Juce and Xcode, I opened Projuicer, set the module paths, opened the project in my IDE (Xcode), everything looked the same as the tutorial until it was time to build the blank generated plugin just for a baseline. Tutorial gets “Build Successful” message, I get “Build Failed” message and a bunch of parse issues that all say “Unrecognized platform name mac OS.” The lines of code causing the issues seem to be contingencies for what to do if the plugin finds itself being run on older versions of Mac OS.

I googled “Juce”+“Unrecognized platform name” and got 0 results, so I’m asking here. How can I solve or avoid these problems well enough to get this first basic build to succeed?

Macbook Pro 15" Retina Mid 2014  
macOS Sierra Verion 10.12.4  
JUCE v6.1.6  
Xcode Version 8.3.3 (8E3004b)

Thanks!

---

<div class="post-metadata">

**Author:** ![Nashville](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nashville](https://forum.juce.com/u/Nashville)\
**Post date:** [May 9, 2023, 8:33pm UTC](https://forum.juce.com/t/unrecognized-platform-name-when-building/56154/2 "2023-05-09T20:33:52Z")

</div>

[https://i.imgur.com/PH4Ornv.png](https://i.imgur.com/PH4Ornv.png)

There’s a screenshot of the parse issues I’m talking about.

---

<div class="post-metadata">

**Author:** ![cpr2323](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/cpr2323/32/18682_2.png) [@cpr2323](https://forum.juce.com/u/cpr2323)\
**Post date:** [May 9, 2023, 9:31pm UTC](https://forum.juce.com/t/unrecognized-platform-name-when-building/56154/3 "2023-05-09T21:31:47Z")

</div>

I do mostly Windows development, so my answer is based on some googling. The `@available` option was added in `Xcode 9`.

oh, and as a follow up, JUCE lists XCode 10 as it’s minimum

---

<div class="post-metadata">

**Author:** ![Nashville](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nashville](https://forum.juce.com/u/Nashville)\
**Post date:** [May 9, 2023, 10:30pm UTC](https://forum.juce.com/t/unrecognized-platform-name-when-building/56154/4 "2023-05-09T22:30:49Z")

</div>

Awesome, thanks so much for this reply. I had initially downloaded the most recent versions of JUCE and Xcode that were compatible with macOS 10.12, and after reading your comment I had a hunch and tried a slightly older version of JUCE (6.0.0) and I got a successful build! I at least have somewhere to start now.
