# Xcode 11 not launching executable

**URL:** <https://forum.juce.com/t/xcode-11-not-launching-executable/35605>\
**Category:** General JUCE discussion\
**Created:** [October 9, 2019, 4:41am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605 "2019-10-09T04:41:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakemumu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jakemumu/32/13038_2.png) [@jakemumu](https://forum.juce.com/u/jakemumu)\
**Post date:** [October 9, 2019, 4:41am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/1 "2019-10-09T04:41:42Z")

</div>

anyone experienced this?

after building a project, it never launches the executable, just says “finished running EXECUTABLE” : (

Edit: I can repro this with ableton & studio one, although logic appears to be working

---

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [October 9, 2019, 8:29am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/2 "2019-10-09T08:29:53Z")

</div>

See this -

> [@Apple Gatekeeper notarised distributables](https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952):
>
> Hi Apple looks to be furthering gatekeeper protection with additional checks on distributed binaries, we can see some details about it here: [https://developer.apple.com/developer-id/](https://developer.apple.com/developer-id/) and a little more from Ars here: [https://arstechnica.com/features/2018/09/macos-10-14-mojave-the-ars-technica-review/10/#h3](https://arstechnica.com/features/2018/09/macos-10-14-mojave-the-ars-technica-review/10/#h3) It seems Apple wants to perform some kind of basic review of signed binaries and to then act as a notary on the developer’s signature, vouching for it not containing malware etc, so they can …

With newer hardened hosts you need to disable sip or re-sign them with appropriate entitlements.

---

<div class="post-metadata">

**Author:** ![jakemumu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jakemumu/32/13038_2.png) [@jakemumu](https://forum.juce.com/u/jakemumu)\
**Post date:** [October 9, 2019, 4:17pm UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/3 "2019-10-09T16:17:58Z")

</div>

Hey thanks for the reply. I’m not sure how to disable sip or re-sign the host, do you have any tips on that?

Thank you!

J

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [October 9, 2019, 6:06pm UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/4 "2019-10-09T18:06:29Z")

</div>

How to re-sign the host is explained here:

> [@Apple Gatekeeper notarised distributables](https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/61):
>
> Changing the content of the App-bundle will only invalidate the code signature. Re-signing means running something like: codesign --force --sign "Developer ID" --options runtime --entitlements mine.entitlements --timestamp DAW.app where mine.entitlements contains at least: \<?xml version="1.0" encoding="UTF-8"?\> \<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"\> \<plist version="1.0"\> \<dict\> \<key\>com.apple.security.cs.disable-library-validati…

Some extra data points are given here as well:

> [@Apple Gatekeeper notarised distributables](https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/62):
>
> Theory works. I pulled the entitlements from Studio One 4.5.4 (codesign -d --entitlements :- /Applications/Studio\ One\ 4.5.4.app), added get-task-allow (edited plist below), resigned, and can now attach a debugger as required. \<?xml version="1.0" encoding="UTF-8"?\> \<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"\> \<plist version="1.0"\> \<dict\> \<key\>com.apple.security.cs.allow-jit\</key\> \<true/\> \<key\>com.apple.security.cs.allow-unsigned-exec…

---

<div class="post-metadata">

**Author:** ![jakemumu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jakemumu/32/13038_2.png) [@jakemumu](https://forum.juce.com/u/jakemumu)\
**Post date:** [October 10, 2019, 1:05am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/5 "2019-10-10T01:05:46Z")

</div>

Thank you! Sorted. What a PITA

---

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [October 10, 2019, 10:10am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/6 "2019-10-10T10:10:03Z")

</div>

> [@Jake\_Penn](#):
>
> What a PITA

Pain In The Apple

---

<div class="post-metadata">

**Author:** ![gavinburke](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gavinburke](https://forum.juce.com/u/gavinburke)\
**Post date:** [October 10, 2019, 12:05pm UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/7 "2019-10-10T12:05:15Z")

</div>

@Jake_Penn did you upgraded to catalina & xcode 11 on your only dev machine again? 🤦‍♂️

![OJhA80Z](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/4/42d9e86855372f96111b43c286d385ee1021c1d6.gif)

---

<div class="post-metadata">

**Author:** ![jakemumu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jakemumu/32/13038_2.png) [@jakemumu](https://forum.juce.com/u/jakemumu)\
**Post date:** [October 10, 2019, 5:05pm UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/8 "2019-10-10T17:05:44Z")

</div>

Ahahaha, you know I just leave that auto update on and roll with the punches maynnnneeeee 😂😂😂

---

<div class="post-metadata">

**Author:** ![heewonhan](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@heewonhan](https://forum.juce.com/u/heewonhan)\
**Post date:** [October 12, 2019, 3:38am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/9 "2019-10-12T03:38:12Z")

</div>

Same problem. I am using Ableton. It was working but from yesterday I found build success, running live and then Finished running Live. When I turned on Ableton I could see building success but really tired of never launching from Xcode.

---

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [October 12, 2019, 7:52am UTC](https://forum.juce.com/t/xcode-11-not-launching-executable/35605/10 "2019-10-12T07:52:57Z")

</div>

Ableton has an auto update mechanism. Unless you explicitly disabled it, it’ll eventually update to hardened version and stop debugging on modern macOS.
