KI-AGENT: Mobile TestFlight Build vorbereiten
- EAS-Profil und Scripts für TestFlight ergänzt - Node 22 für Mobile-Builds festgelegt und README aktualisiert - Expo-SDK-Abhängigkeiten für expo-doctor angeglichen
This commit is contained in:
@@ -1,50 +1,37 @@
|
||||
# Welcome to your Expo app 👋
|
||||
# FEDEO Mobile
|
||||
|
||||
This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).
|
||||
Expo/React-Native-App für FEDEO. Der iOS-TestFlight-Build wird als Store-Build erstellt und enthält das JavaScript-Bundle. Metro wird dafür nicht benötigt.
|
||||
|
||||
## Get started
|
||||
## Voraussetzungen
|
||||
|
||||
1. Install dependencies
|
||||
- Node.js `22.22.3` verwenden, siehe `.nvmrc`.
|
||||
- EAS CLI installieren oder über `npx eas-cli` ausführen.
|
||||
- Apple Developer Zugriff für `de.fedeo.mobile`.
|
||||
- Produktions-API ist im EAS-Profil `testflight` auf `https://app.fedeo.de/backend` gesetzt.
|
||||
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
## Entwicklung im Simulator
|
||||
|
||||
2. Start the app
|
||||
|
||||
```bash
|
||||
npx expo start
|
||||
```
|
||||
|
||||
In the output, you'll find options to open the app in a
|
||||
|
||||
- [development build](https://docs.expo.dev/develop/development-builds/introduction/)
|
||||
- [Android emulator](https://docs.expo.dev/workflow/android-studio-emulator/)
|
||||
- [iOS simulator](https://docs.expo.dev/workflow/ios-simulator/)
|
||||
- [Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo
|
||||
|
||||
You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction).
|
||||
|
||||
## Get a fresh project
|
||||
|
||||
When you're ready, run:
|
||||
Wenn Port `8081` lokal belegt ist, Metro auf einem freien Port starten und den Simulator auf diesen Port setzen:
|
||||
|
||||
```bash
|
||||
npm run reset-project
|
||||
npx --yes -p node@22 node ./node_modules/expo/bin/cli start --dev-client --localhost --port 8082 --clear
|
||||
xcrun simctl spawn booted defaults write de.fedeo.mobile RCT_jsLocation '127.0.0.1:8082'
|
||||
xcrun simctl spawn booted defaults write de.fedeo.mobile RCT_packager_scheme 'http'
|
||||
xcrun simctl terminate booted de.fedeo.mobile
|
||||
xcrun simctl launch booted de.fedeo.mobile
|
||||
```
|
||||
|
||||
This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing.
|
||||
## TestFlight vorbereiten
|
||||
|
||||
## Learn more
|
||||
```bash
|
||||
npm run preflight:testflight
|
||||
npm run build:ios:testflight
|
||||
```
|
||||
|
||||
To learn more about developing your project with Expo, look at the following resources:
|
||||
Nach erfolgreichem EAS-Build:
|
||||
|
||||
- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides).
|
||||
- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
|
||||
```bash
|
||||
npm run submit:ios:testflight
|
||||
```
|
||||
|
||||
## Join the community
|
||||
|
||||
Join our community of developers creating universal apps.
|
||||
|
||||
- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute.
|
||||
- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions.
|
||||
Der TestFlight-Build nutzt das EAS-Profil `testflight` aus `eas.json` mit Store-Distribution und automatischer Buildnummer-Erhöhung.
|
||||
|
||||
Reference in New Issue
Block a user