Java not found on path and JAVA_HOME not set (Ios)

HI,
i have a problem with build for ios, this error comes up

i configured the environment variable like this in my pc

image

I can’t understand what the error is, I searched in google but the only solution found is to set the environment variable (which I had already done previously).

I find the problem, this issue is occurring because Trapeze is attempting to modify Android settings during an iOS build, I’ve modified this line of code in package.json:

 "scripts": {
    "appflow:build": "if [ \"$CI_PLATFORM\" != \"web\" ]; then npx trapeze run appflow.yml -y --$CI_PLATFORM; fi && npm run build",
  },

Now it work.

1 Like