Wednesday, January 25, 2023
HomeiOS Developmentandroid - EAS BUILD crushed.Migration from expo construct:ios -t archive

android – EAS BUILD crushed.Migration from expo construct:ios -t archive


I’ve confronted with construct drawback and publish take a look at model to Testflight

my eas.json:

{
  "cli": {
    "model": ">= 3.3.2"
  },
  "construct": {
    "improvement": {
      "developmentClient": true,
      "distribution": "retailer",
      "env": {
        "API_URL": "https://localhost:8890",
        "WS_URL": "wss://localhost:8890"
      },
      "ios": {
        "resourceClass": "m1-medium",
        "simulator": true
      },
      "android": {
        "ndk": "21.4.7075529",
        "buildType": "apk",
        "picture": "newest"
      }
    },
    "preview": {
      "distribution": "retailer",
      "android": {
        "buildType": "apk",
        "picture": "newest"
      },
      "ios": {
        "buildConfiguration": "Launch",
        "resourceClass": "m1-medium"
      }
    },
    "preview2": {
      "android": {
        "buildType": "apk",
        "gradleCommand": ":app:assembleRelease"
      },
      "ios": {
        "resourceClass": "m1-medium"
      }
    },
    "preview3": {
      "developmentClient": true,
      "ios": {
        "resourceClass": "m1-medium"
      }
    },
    "manufacturing": {
      "distribution": "retailer",
      "env": {
        "API_URL": "https://localhost:8890",
        "WS_URL": "wss://localhost:8890"
      },
      "android": {
        "buildType": "apk"
      },
      "ios": {
        "resourceClass": "m1-medium"
      }
    }
  },
  "submit": {
    "preview": {
      "ios": {
        "appleId": "<appleId>",
        "ascAppId": "<ascAppId>",
        "appleTeamId": "<appleTeamId>",
        "companyName": "<companyName>",
        "ascApiKeyIssuerId": "<ascApiKeyIssuerId>",
        "ascApiKeyId": "<APIKEY>",
        "ascApiKeyPath": "<PATH ON MY COMPUTER>"
      }
    }
  }
}

IOS error – that is with command

eas construct -p ios --profile preview

Android error

Android error

eas construct -p android --profile preview

expo construct:ios -t archive labored wonderful until it turn out to be deprecated.

I’ve tried to vary eas.json file, up to date expo model from 44 -> 47, add the newest variations of bundle.json, serf web to in search of the reply, however many of the solutions primarily based on Xcode file refactor, however I can not attain this file due to the expo utilizing.

I even have app.config.js file with:

import 'dotenv/config';

export default ({ config }) => {
  const appConfig = {
    ...config,
    model: '0.28.0',
    further: {
      apiUrl: course of.env.API_URL ?? 'https://localhost:8890',
      eas: {
        projectId: '<projectID>',
      },
    },
  };

  return appConfig;
};



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments