Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 16 of 16

Thread: MacOS 10.15 Catalina

  1. #1
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,674

    MacOS 10.15 Catalina

    Is anyone using MacOS 10.15 Catalina yet?

    Looks like Apple has finally disallowed the method we've been using to modify a copy of Arduino. We may soon have to provide a complete copy of the IDE for Mac users.

    If you have Catalina & Teensy, please reply here or just subscribe to this thread. I'm going to need feedback from anyone with Catalina as I work on solving these problems.

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,537
    I have it running here (Catalina and Arduino 1.8.10 and Teensyduino 1.48) . Install was some days ago. I remember that there was an additional hurdle, but I got over it. Don’t remember details, so will uninstall everything and start over with documentation. Stay tuned.

  3. #3
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,537
    OK, re-did everything. The struggle is twice in a similar way, once for Arduino, and once for Teensyduino.
    After unpacking the downloaded Arduino.zip and moving the App into the Applications folder, you make a first attempt to start Arduino which seems to fail already:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.04.15.png 
Views:	5 
Size:	294.4 KB 
ID:	17891
    Click "Show in Finder" and then right-click the Arduino app:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.05.00.png 
Views:	8 
Size:	737.1 KB 
ID:	17892
    In the now open context menu CONTROL+Click "Open" (!important!), then you see a different dialog:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.05.26.png 
Views:	10 
Size:	308.9 KB 
ID:	17893
    The middle button "Open" allows you to launch Arduino. This is a one time action. From now on, Arduino can be started in the usual way.

    For the now following Teensyduino installation, see next post.
    Last edited by Theremingenieur; 10-14-2019 at 03:30 PM.

  4. #4
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,537
    Open the freshly downloaded Teensyduino.dmg with a double click:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.06.48.jpg 
Views:	8 
Size:	81.4 KB 
ID:	17894
    It seems that it can't be installed. But it can. Click "OK". Make a right click on it:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.07.15.jpg 
Views:	9 
Size:	132.3 KB 
ID:	17895
    Again, as before with Arduino, in the now open context menu CONTROL+Click "Open" (!important!), then you see a different dialog:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.07.40.jpg 
Views:	4 
Size:	81.4 KB 
ID:	17896
    Now, still as before with Arduino, click the middle "Open" button to start the installation, which then goes without struggle and hassle:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.07.50.png 
Views:	2 
Size:	472.0 KB 
ID:	17897Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.07.59.png 
Views:	3 
Size:	334.2 KB 
ID:	17898Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.08.05.png 
Views:	2 
Size:	343.6 KB 
ID:	17899Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.08.11.png 
Views:	1 
Size:	298.5 KB 
ID:	17900Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.08.23.png 
Views:	3 
Size:	349.4 KB 
ID:	17901
    Start Arduino again and enjoy the integrated Teensyduino:
    Click image for larger version. 

Name:	Capture d’écran 2019-10-14 à 16.09.08.png 
Views:	3 
Size:	504.4 KB 
ID:	17902

  5. #5
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,537
    That workaround (right click the app, control+click "open") at the first launch does actually apply to almost all apps which aren't distributed through the Apple app store. It's the same with other popular non-app store apps like Gimp, Inkscape, Eclipse, and so on.
    Bundling Teensyduino with the Arduino app will reduce the number of extra clicks (and would considerably shorten my tutorial above), but would not solve any problem at its roots. The logical steps were that Arduino deploys its IDE through the App store, first, and then in a second step, that Teensyduino would also be deployed there.

  6. #6
    A dumb question, doesn't Arduino has a built in mechanism to support third party boards and libraries? What do other hardware vendor do?

  7. #7
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,537
    They do. But that's not enough to add all the additions (and bug fixes and improvements) which Teensyduino brings to Arduino.

  8. #8
    Quote Originally Posted by PaulStoffregen View Post
    Is anyone using MacOS 10.15 Catalina yet?

    Looks like Apple has finally disallowed the method we've been using to modify a copy of Arduino. We may soon have to provide a complete copy of the IDE for Mac users.

    If you have Catalina & Teensy, please reply here or just subscribe to this thread. I'm going to need feedback from anyone with Catalina as I work on solving these problems.

    If you have Catalina & Teensy, please reply here or just subscribe to this thread. I'm going to need feedback from anyone with Catalina as I work on solving these problems.[/QUOTE]

    did a fresh Catalina install, install Arduino - open arduino and compile a example file with a Arduino board = compile fine
    install teensyduino ( allowing on security and privacy to open anyway - see attach image )
    ran the installer open a sample for teensy = error message and not compiling error ( Exception in thread "Thread-0" java.lang.RuntimeException: java.lang.NullPointerException at processing.app.macosx.ThinkDifferent$4.lambda$open Files$0(ThinkDifferent.java:98) at java.lang.Thread.run(Thread.java:748))

    my solution was to give it full disk access from system preferences - security and privacy

    now teensy compiles

    Click image for larger version. 

Name:	Security___Privacy.jpg 
Views:	14 
Size:	69.9 KB 
ID:	17903

  9. #9
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    133
    Just made the mistake of updating Mac to 10.15. I looked around in the forum first but missed this thread. dang!

    The @Theremingenieur and @Balum methods don't work for me. I can't get the Security & Privacy window to show that "Teensyduino-app" line at all as above.

    Arduino 1.8.10 and Td 1.48 were working fine on Mac 10.14. but after the upgrade, Arduino quits while showing:
    Click image for larger version. 

Name:	keystrokes.jpg 
Views:	3 
Size:	35.0 KB 
ID:	17921

    Tried fiddling with various security settings but same result. Reinstalled both, same result.

    Note that apple had said they were not going to allow un-identified developers although the Arduino 1.8.10 showed as un-identified but worked with the usual cntr-open buttons before the Teensduino install.

  10. #10
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    133
    I can report that today after doing nothing more than having the Mac sleep overnight, not turned off, Catalina, Arduino 1.8.10, and Teensduino 1.48 seem to be happy again. Perhaps all the re-arranging that the MacOS does in the background with a new system install was not complete.

    I do not know if a re-install of 1.8.10 and 1.48 was needed or not, perhaps if I had waited it would have worked? I have Arduino allowed under Accessibility, Input Monitoring, Full Disk Access and Files and Folders in Security & Privacy/Privacy. I will try to remove some of them and see what happens.

  11. #11
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    133
    As noted above I have tried to set the highest security settings.

    Unfortunately, Full Disk Access is required.
    Accessibility is not required.
    Input Monitoring is requested once at App startup but not required AFAIK.
    Network connections is requested every time App is started, but can be denied.

    The 'Files and Folders' in Security & Privacy / Privacy preference used to be Arduino -> Documents folder. That may have to be deleted so the 'Full disk access' will work.

    good luck !

  12. #12
    Junior Member
    Join Date
    Oct 2019
    Posts
    1
    I cannot even install a new Arduino app. I get a vague message about “Arduino.app” can’t be opened because Apple cannot check it for malicious software. The (?) icon next to it does not even respond, so this must be something not very well thought out. This is with 1.8.10 from the arduino.cc website.

    EDIT: OK, grmbl. It is another instance of the "move to applications, click right and then open anyway" fake-security things.
    Last edited by rvjansen; 10-18-2019 at 02:29 PM. Reason: additional insight

  13. #13
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    133
    Quote Originally Posted by rvjansen View Post
    ...
    EDIT: OK, grmbl. It is another instance of the "move to applications, click right and then open anyway" fake-security things.
    This is not a 'fake' security thing. This is circumventing all the work Apple does to help developers make their code and your computer secure. Unfortunately, most open source developers don't use much of it. Perhaps for legal reasons they fear that code signing their apps makes them responsible for any problems.

    As it is now we have to give the Arduino app total access to our computers and hope that somebody hasn't put something in the code.

  14. #14
    Junior Member
    Join Date
    Oct 2019
    Posts
    3

    Same issue

    Quote Originally Posted by bicycleguy View Post
    I can report that today after doing nothing more than having the Mac sleep overnight, not turned off, Catalina, Arduino 1.8.10, and Teensduino 1.48 seem to be happy again. Perhaps all the re-arranging that the MacOS does in the background with a new system install was not complete.

    I do not know if a re-install of 1.8.10 and 1.48 was needed or not, perhaps if I had waited it would have worked? I have Arduino allowed under Accessibility, Input Monitoring, Full Disk Access and Files and Folders in Security & Privacy/Privacy. I will try to remove some of them and see what happens.
    I'm having the same problem, unfortunately a computer nap was not sufficient to fix mine.

  15. #15
    Junior Member
    Join Date
    Oct 2019
    Posts
    3

    edit

    Quote Originally Posted by kidkill View Post
    I'm having the same problem, unfortunately a computer nap was not sufficient to fix mine.
    Edit, this is the message for me:

    Arduino: 1.8.10 (Mac OS X), TD: 1.48, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"

    loading libs from /Users/mein/Documents/Arduino/libraries: reading dir /Users/mein/Documents/Arduino/libraries: open /Users/mein/Documents/Arduino/libraries: operation not permitted

    Error compiling for board Teensy 4.0.

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  16. #16
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,112
    Did you see the madness Catalina did to people with gmail, random email deletions and blank sent folders. Lol apple messed up big time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •