# Problem with wrapping  under Catalina

**URL:** <https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083>\
**Category:** General\
**Created:** [November 7, 2019, 11:12pm UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083 "2019-11-07T23:12:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philip\_Cumpston](https://forum.xojo.com/user_avatar/forum.xojo.com/philip_cumpston/32/621_2.png) [@Philip\_Cumpston](https://forum.xojo.com/u/Philip_Cumpston)\
**Post date:** [November 7, 2019, 11:12pm UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/1 "2019-11-07T23:12:15Z")

</div>

After updating to Catalina, all was fine until I loaded the most recent update.  
Then I had to migrate my licence for Xojo. After doing that, I built my app and tried to wrap it with apoWrapper.

I got the following message.

codesign: /Users/phil/Library/Caches/com.ohanaware.appWrapper3/App Wrapper 3: replacing existing signature  
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun  
/Users/phil/Library/Caches/com.ohanaware.appWrapper3/App Wrapper 3: the codesign\_allocate helper tool cannot be found or used

macOS 10.15.1 (19B88)  
App Wrapper 3 3.10.2 (359)

Sam fro Ihanaware sent me a new build of AppErapper, but I still had the same problem.

I went looking for answers on [https://apple.stackexchange.com/questions/209624/how-to-fix-homebrew-error-invalid-active-developer-path-after-upgrade-to-os-x](https://apple.stackexchange.com/questions/209624/how-to-fix-homebrew-error-invalid-active-developer-path-after-upgrade-to-os-x)  
They recommended using a terminal to run:  
sudo xcode-select --install  
sudo xcode-select -switch

I ran these commands one after the other in terminal, and despite the system telling me that they had not been installed, I was now able to use appWrappee to wrap my application, code sign and install it.

Hope that helps someone else with the same problem.

---

<div class="post-metadata">

**Author:** ![Jerry\_Fritschle](https://forum.xojo.com/user_avatar/forum.xojo.com/jerry_fritschle/32/223_2.png) [@Jerry\_Fritschle](https://forum.xojo.com/u/Jerry_Fritschle)\
**Post date:** [November 8, 2019, 12:22am UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/2 "2019-11-08T00:22:24Z")

</div>

This bit me about a year ago. If you have a just-updated Xcode installation you don’t necessarily have the command line tools installed. It helps to launch Xcode and sit through that “installing additional components” dialog that occurs on first-run.

I’m a Homebrew user (referenced in the link you gave), and it is also helpful in and of itself with finding these issues.

---

<div class="post-metadata">

**Author:** ![Sam\_Rowlands](https://forum.xojo.com/user_avatar/forum.xojo.com/sam_rowlands/32/265_2.png) [@Sam\_Rowlands](https://forum.xojo.com/u/Sam_Rowlands)\
**Post date:** [November 8, 2019, 12:26am UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/3 "2019-11-08T00:26:17Z")

</div>

I am trying to automate this process as it’s always a PITA when it happens. There appears to be the functionality to do it (the terminal commands you mention), it just takes a long time to test because I have to wipe the HDD, re-install the OS, then re-install the dev tools to be able to test it.

---

<div class="post-metadata">

**Author:** ![Philip\_Cumpston](https://forum.xojo.com/user_avatar/forum.xojo.com/philip_cumpston/32/621_2.png) [@Philip\_Cumpston](https://forum.xojo.com/u/Philip_Cumpston)\
**Post date:** [November 8, 2019, 1:17am UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/4 "2019-11-08T01:17:41Z")

</div>

Hmmm  
Virtual?  
I run windoze under VMware and it goes much better than on any native machine.  
Just an idea.  
And a big shout out to Ohanaware and Sam for his promptly assistance and terrific software. I must remember to read the manual sometime…

---

<div class="post-metadata">

**Author:** ![DetlefK](https://forum.xojo.com/user_avatar/forum.xojo.com/detlefk/32/23653_2.png) [@DetlefK](https://forum.xojo.com/u/DetlefK)\
**Post date:** [November 10, 2019, 4:44pm UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/5 "2019-11-10T16:44:02Z")

</div>

Recently I notized that XCode has been updated again. Forgot to “Install additional components” at first, and hopefully all will work now again.

Probably, XCode refuses to work because t requires to confirm a new (or updated) agreement, which must be fulfilled while logging in into their Apple Developer website.

---

<div class="post-metadata">

**Author:** ![Philip\_Cumpston](https://forum.xojo.com/user_avatar/forum.xojo.com/philip_cumpston/32/621_2.png) [@Philip\_Cumpston](https://forum.xojo.com/u/Philip_Cumpston)\
**Post date:** [November 11, 2019, 8:05pm UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/6 "2019-11-11T20:05:02Z")

</div>

When I updated Xcode, I ticked the box to “install additional components”, but it didn’t work properly.  
I had to use a terminal to run

sudo xcode-select --install  
sudo xcode-select -switch

Before I could get appWrapper to work - then it was fine.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:09pm UTC](https://forum.xojo.com/t/problem-with-wrapping-under-catalina/51083/7 "2021-04-29T16:09:55Z")

</div>


