Today I have updated MacOS Catalina and a few hours later I updated Corona to the latest version 2019.3541. Then I installed Java SE 13.0.1 and tried to build but I got error mentioning "cd: template". I thought it was because of JDK. I deleted Corona, installed 2019.3540 version, but the same error. A few months ago I had the same problem after installing then beta version of MacOS Catalina, and @vlads recommended to run Corona Native Install but I could not find it as on the Launchpad it showed 2019.3535 and when clicking on Corona Native Install, it said it could not run as I have deleted the file, something like that. Then I deleted everything related to Corona from "~Library/" folder and from the folders inside it. I also emptied Trash. Then installed the latest Corona version again but I can not see it when I click on the Launchpad. When I open Application folder and inside it go to Corona-3541 and run the Corona Simulator, it runs but when I try to build, it gives the below error:
Oct 18 01:13:33.969 Copyright © 2009-2019 C o r o n a L a b s I n c .Version: 3.0.0Build: 2019.3541Oct 18 01:13:33.981 Loading project from: ~/Development/Apps/testOct 18 01:13:33.981 Project sandbox folder: ~/Library/Application Support/Corona Simulator/test-B198670C72C138E28DE4E8C45FCD4837Oct 18 01:13:34.009 Platform: iPhone / x86_64 / 10.15.0 / Intel Iris Pro OpenGL Engine / 2.1 INTEL-14.0.69 / 2019.3541 / en-AZ | AZ | en_AZ | enOct 18 01:13:39.233 Using java version "13.0.1" 2019-10-15Java SE Runtime Environment (build 13.0.1+9)Java HotSpot 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)Oct 18 01:13:45.237 Using java version "13.0.1" 2019-10-15Java SE Runtime Environment (build 13.0.1+9)Java HotSpot 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)Oct 18 01:13:45.959 Building Android app for email@example.com with 2019.3541Oct 18 01:13:49.158 Using custom build id from app bundle: 00000 (AppSettings.lua)Oct 18 01:13:49.947 BUILD SUCCESSFULTotal time: 0 secondsOct 18 01:13:49.961 sh: line 0: cd: template: No such file or directoryOct 18 01:13:49.967 Excluding specified files from build:excluding: LaunchScreen.storyboardcexcluding: Icon.pngexcluding: Icon-*dpi.pngexcluding: Images.xcassetsAndroid build failed (256) after 0 secondsOct 18 01:13:50.241 ERROR: Build Failed: Failed to BuildError code: 256Oct 18 01:13:50.241
When I click on the Setup Corona Native from the Applications folder, I get the error on the picture. I don't if changing JDK caused the problem or updating MacOS Catalina.