Forum Rule: Always post complete source code & details to reproduce any issue!
Page 3 of 3 FirstFirst 1 2 3
Results 51 to 70 of 70

Thread: MacOS 10.15 Catalina

  1. #51
    Senior Member
    Join Date
    Nov 2012
    Posts
    140
    Everything worked as expected on my MacBook running macOS 10.15.1 (19B88).

    With WiFi turned off,

    • App downloaded from Internet

    Click image for larger version. 

Name:	Capture d’écran 2019-12-07 à 14.31.58.png 
Views:	4 
Size:	66.2 KB 
ID:	18359

    • Access to files from the Documents folder

    Click image for larger version. 

Name:	Capture d’écran 2019-12-07 à 14.32.08.png 
Views:	1 
Size:	55.0 KB 
ID:	18360

    • Not sure about this dialogue box

    Click image for larger version. 

Name:	Capture d’écran 2019-12-07 à 14.32.16.png 
Views:	3 
Size:	81.0 KB 
ID:	18361

    When turning WiFi on,

    • Allow network connection

    Click image for larger version. 

Name:	Capture d’écran 2019-12-07 à 14.36.06.png 
Views:	3 
Size:	67.6 KB 
ID:	18362

    Well done!

  2. #52
    Junior Member
    Join Date
    Nov 2019
    Posts
    1
    Works great so far!
    I don't have a touch bar though.
    10.15.1
    MacBook Pro (15 inch Mid 2015)
    16GB Memory

  3. #53
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    153
    Sorry, missed this thread and just installed the 1.49 beta #1 yesterday.
    For any help I might provide should I install the version at #43 above or wait for 1.49 beta#2 or ? Will betas be code signed in the future?

    It sounds like congratulations are in order from the comments above. I don't think I have any other open source code signed apps. Once you figure it out (which as you found is a major nightmare) it doesn't seem to cause too much difficulty. I have been code signing my apps running on IOS and OS X for a few years now but never distributed or sold, just used on my families and friends machines. With this method if I forget to update my credentials in a timely fashion (yearly) all the apps automatically quit running ! Great for letting iffy friends use my apps!

  4. #54
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,298
    Quote Originally Posted by bicycleguy View Post
    Sorry, missed this thread and just installed the 1.49 beta #1 yesterday.
    For any help I might provide should I install the version at #43 above or wait for 1.49 beta#2 or ? Will betas be code signed in the future?
    Definitely use 1.49-beta1 from msg #43.

    Unless any Mac-specific problems turn up or Arduino makes a non-beta release, all remaining work planned for 1.49 is for the code running on Teensy. The Macintosh stuff will remain this same, including code signing, hardened runtime, and Apple notarization. For the foreseeable future, we'll offer 2 downloads for Macintosh... the traditional installer for 10.7 to 10.14, and this all-in-one package for 10.15 and later.

  5. #55
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    153
    Installed the 1.49-beta1 from msg #43 and was a little confused.

    2013 iMac with Catalina 10.15.1

    1. When I ran the TeensyDuino App it overwrote the Arduino App in my application folder (with no questions asked) that I had renamed to Arduino_1_8_10 so I could still go back to it. This was with TeensyDuino still in the downloads folder.
    2. Didn't realize the TeensyDuino icon is now the whole app. Ok.
    3. The TeensyDuino App is called Arduino in the process manager, TeensyDuino on the icon and Arduino1.8.10 on the top pane of the Arduino window.
    4. The version of the Arduino_1_8_10 mentioned above does not run. It doesn't crash, just quits like the gatekeeper is quitting it. I know its been replaced because I had some custom board files in it.
    5. Seems even more unusual now that quitting the main app leave the TeensyDuino still running.

    Still messing with actual programming on T4, T3.6 and T3.2 with no problems so far.

  6. #56
    Junior Member
    Join Date
    Apr 2018
    Location
    Bedfordshire, England
    Posts
    4
    After removing the existing Arduino app I performed the Catalina upgrade and then installed TeensyDuino from the Msg 43 link. Absolutely no issues with programming T3.6 & T4 so many thanks to Paul Stoffregen. If only I had such a brain.....

  7. #57
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    153
    Quote Originally Posted by PaulStoffregen View Post
    Definitely use 1.49-beta1 from msg #43.

    Unless any Mac-specific ...
    For the foreseeable future, we'll offer 2 downloads for Macintosh... the traditional installer for 10.7 to 10.14, and this all-in-one package for 10.15 and later.
    FYI
    I was a little surprised (and thankful) that I was able to modify the boards.txt file in the app and gatekeeper didn't seem to mind. I even transferred the modified app to a mac mini running 10.13.6 and it ran fine. Tried to run it on a 2007 MacBook with 10.7.5 but got the message it had to be 10.8 or above.

  8. #58
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,298
    Quote Originally Posted by bicycleguy View Post
    Tried to run it on a 2007 MacBook with 10.7.5 but got the message it had to be 10.8 or above.
    Maybe try editing Contents/Info.plist. Look for these lines:

    Code:
    <key>LSMinimumSystemVersion</key>
    <string>10.8</string>
    Arduino 1.8.5 definitely does work on 10.7. It has an older Java runtime.

    Normally 1.8.6 and later can't run on MacOSX 10.7. But maybe this Catalina one can? To meet the Apple's newer SDK notarization requirement, I replaced the Oracle JRE with a freshly compiled OpenJDK one....


    I was a little surprised (and thankful) that I was able to modify the boards.txt file in the app and gatekeeper didn't seem to mind.
    Supposedly Catalina will re-check it occasionally. How often, I have no idea.

  9. #59
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    153
    @PaulStoffregen
    Tried the LSMinimumSystemVersion key and no go, same message. I already have 1.8.5 and TL 1.44 running on it, was just curious why your not recommending this code signed version for 10.8+ to save yourself some effort supporting two versions on mac.

    edit. Think I can answer my own question. This way you can use 1.8.5 with a newer Teensyduino installer for T4+ on older 10.7.5-- macs

  10. #60
    Junior Member
    Join Date
    Nov 2019
    Posts
    4
    Just to say that I do have a touch bar macbook pro (which I hate). I rarely use the touch bar, and when I do it's with Better Touch Tool.

  11. #61
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    153
    Noticed that although code signed the app is not sandboxed.

    https://developer.apple.com/library/...ppSandbox.html

    Assuming no extra entitlement issues with the java runtime (a big naive assumption), most of sandbox's benefits can be had with a few more clicks in the xCode IDE ?

  12. #62
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,298
    All the info I've found so far is sandbox is meant for programs distributed by Apple's app store and hardened runtime is intended for programs distributed outside the Apple app store.

    My (perhaps bad) attitude is to do only what's necessary for passing Apple's notarization process and giving Mac users with Catalina a good experience. I've already poured nearly 1 week of dev time into Catalina support. I will do more if necessary. But if there's an optional MacOS feature that would be nice, but isn't absolutely necessary at this time, I'm going to ignore it and put my limited dev time into things like the missing USB types, porting libs, and adding new features that benefit everyone.

  13. #63
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,298
    FWIW, we are currently using these 5 hardened runtime entitlements on the JRE and top-level bundle, because they're required for Java 8:

    com.apple.security.cs.allow-jit
    com.apple.security.cs.allow-unsigned-executable-memory
    com.apple.security.cs.disable-executable-page-protection
    com.apple.security.cs.allow-dyld-environment-variables
    com.apple.security.cs.disable-library-validation

    We're also using this 1 entitlement on all the command line utils, because the gcc toolchain needs it. The linker appears to load plugins by mmap(), which hardened runtime blocks unless this entitlement is used.

    com.apple.security.cs.disable-library-validation

    Some of the command line utils probably don't need this. Maybe in the distant future I'll figure out which ones truly need it, but for now the simplest thing was to just sign all the command line stuff the same way. But perhaps a future version of the toolchain will switch from mmap() to something more MacOS specific that will avoid the need for this entitlement?

    Again, my focus is only to get everything working smoothly on Catalina. Extra dev time beyond the minimum MacOS requirements is going into improving the USB code and libs.

  14. #64
    Junior Member
    Join Date
    Jul 2013
    Posts
    10
    I downloaded the beta, installed it on Catalina. Works like a charm (and solves a problem I had with Serial.available() ). I have a Mac with the touch bar, although I am not using it much with Arduino. Everything I tried concerning the touch bar worked as expected.

  15. #65
    Junior Member
    Join Date
    Aug 2019
    Posts
    3
    Not working on a clean Catalina install:

    Click image for larger version. 

Name:	SS Tensyduino.jpg 
Views:	25 
Size:	108.3 KB 
ID:	18448

  16. #66
    Junior Member
    Join Date
    Apr 2018
    Location
    Bedfordshire, England
    Posts
    4
    Quote Originally Posted by Arbutus View Post
    Not working on a clean Catalina install:

    Click image for larger version. 

Name:	SS Tensyduino.jpg 
Views:	25 
Size:	108.3 KB 
ID:	18448
    Assuming everything else is working OK, I would wipe what you've got and download again from the Msg43 link. MacOS error code 47 is so vague as to tell you nothing, but since you know from reports here that the app does indeed install successfully under Catalina I would be fairly confident.

  17. #67
    Junior Member
    Join Date
    Aug 2019
    Posts
    3
    That fixed it.

  18. #68
    Junior Member
    Join Date
    Apr 2018
    Location
    Bedfordshire, England
    Posts
    4
    Quote Originally Posted by Arbutus View Post
    That fixed it.
    Great stuff!

  19. #69
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,298
    @Arbutus - Can I talk you into trying 1.49-beta5?

    https://forum.pjrc.com/threads/59030...no-1-49-Beta-5

    Unless any serious bugs turn up, I'm planning to release 1.49 within the next few days.

    Also in just a few weeks, Apple will tighten their notarization requirements, but previous notarized programs are supposed to keep running. So we're rapidly approaching the final opportunity for a properly notarized copy of Teensyduino using Arduino 1.8.10. After Feb 3, Apple's notarization service will reject 1.8.10 because 6 minor command line utils where built with an Apple SDK older than 10.9.... which is mostly a leftover from efforts that we've all been trying to keep Mac compatibility for users back to Lion 10.7 or Mountain Lion 10.8. Apple made some major change at 10.9 and wants all software built against nothing older than 10.9... and we're all forced to now (or in ~3 weeks) comply.

    Arduino is working towards a notarized 1.8.11, mostly using the stuff I sent them while working on Teensyduino. So if there is some obscure Catalina problem here, it will very likely impact Arduino too, since they've done the same things I did (minus the extra parts for Teensy of course). I'm not hopeful I can do much with only that numerical error code, but I'd sure like to get to the bottom of any bug that could potentially affect many Mac users. Maybe download the Arduino 1.8.11-prerelease1 and see if it works or gives the same error on your Mac?

  20. #70
    Junior Member
    Join Date
    Aug 2019
    Posts
    3
    Quote Originally Posted by PaulStoffregen View Post
    @Arbutus - Can I talk you into trying 1.49-beta5?

    https://forum.pjrc.com/threads/59030...no-1-49-Beta-5
    I removed all references to Arduino / Teensyduino from a Catalina 10.15.2 i7 iMac system.

    A)) i7 iMac with Catalina 10.15.2 and a previous version of Arduino/Teensyduino:
    Downloaded 1.49-beta-5 and installed with <ctrl>Open on a Mac which had a previous Arduino installation.
    The prior install was removed before running 1.49-Beta-5
    Installation was immediate and did not trigger any OS X warnings or actions.


    B)) MacBook Pro with a new installation of Catalina 10.15.2 no prior Arduino/Teensyduino installation

    Downloaded 1.49-beta-5 and installed by double clicking the 1.49-beta-5.dmg
    This Mac had no prior Arduino/Teensyduino installed.
    Install by single clicking the downloaded .dmg file
    Installation did not trigger any OS X warnings or actions.



    C)) Both scenarios

    Open the installer and this unzips Teensyduino.app into the /Downloads folder <-- it should be located in the /Applications folder
    when started from the /Applications folder Teensyduino.app works correctly

    All good!

    Minor request - could you change the process name to reflect Teensyduino instead of Arduino?

Posting Permissions

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