Eve library

arete/mobile — Missing iOS .xcodeproj (and most of the native scaffold)

Other

Revision 1

On this page

Status: much more severe than iris/mobile's gap. ios/ only contains a single subdirectory (AreteWidgets/) and no main target sources, no Podfile, no .xcodeproj. The whole iOS native project needs to be generated from scratch. Closes #57 for arete; broader native scaffolding is tracked in #61.

What's present#

text
apps/arete/mobile/ios/
└── AreteWidgets/    # WidgetKit extension source only

That's the entire iOS scaffold. There is no main app target, no AppDelegate, no Info.plist, no LaunchScreen, no Assets.xcassets, no Podfile, no .xcodeproj.

What's missing (everything)#

  • ios/Arete/ — main app target source files:
    • AppDelegate.swift (or .mm if using bridging mode)
    • Info.plist with the bundle identifier
    • Arete.entitlements for push, biometrics, location
    • LaunchScreen.storyboard
    • Assets.xcassets/
    • main bundle source folders mirroring the JS routes
  • ios/Arete.xcodeproj/project.pbxproj
  • ios/Arete.xcworkspace/ (created by pod install)
  • ios/Podfile and ios/Podfile.properties.json
  • index.js at the package root registering the RN component via AppRegistry.registerComponent('Arete', () => App)
  • metro.config.js for the bundler
  • babel.config.js with the RN preset

The android/ directory has the same problem — only app/ is present without the surrounding gradle scaffolding.

Generate#

Because nothing scaffolding-side exists, the only safe path is a fresh RN CLI init:

bash
RN_VERSION="$(node -e "console.log(require('./apps/arete/mobile/package.json').dependencies['react-native'])")"
npx @react-native-community/cli@latest init Arete \
  --version "$RN_VERSION" \
  --directory /tmp/arete-scaffold

# Copy the full ios + android trees + bundler config into our package
cp -r /tmp/arete-scaffold/ios/* apps/arete/mobile/ios/
cp -r /tmp/arete-scaffold/android/* apps/arete/mobile/android/
cp /tmp/arete-scaffold/index.js apps/arete/mobile/
cp /tmp/arete-scaffold/metro.config.js apps/arete/mobile/
cp /tmp/arete-scaffold/babel.config.js apps/arete/mobile/

# Preserve the AreteWidgets/ + android/app/ that were already in tree
# (the CLI's `cp` is non-destructive because we copied subtrees, not
#  whole `ios/` / `android/` over with --delete)

# Update Info.plist bundle ID and display name to match the previous
# convention used by the AreteWidgets target.

# Add the AreteWidgets extension target via Xcode → File → New → Target

rm -rf /tmp/arete-scaffold
cd apps/arete/mobile/ios && pod install
cd ../android && ./gradlew assembleDebug

After scaffolding, run scripts/check-ios-toolchain.sh to confirm the host toolchain (Xcode 15+ / Ruby 3.x / CocoaPods 1.15+).

Until scaffolding lands#

  • arete/mobile is NOT buildable as a native app right now. Running pnpm ios or pnpm android will fail.
  • pnpm typecheck (npx tsc --noEmit) and pnpm test (jest) are the only working dev loops; the JS sources are still meaningful TypeScript modules.
  • mobile-build-smoke.yml deliberately excludes arete/mobile until this scaffold lands.
  • Jest test runs (38 failing suites as of audit) are tracked separately under #70 — those failures are test-logic drift, not scaffolding gaps, and can be debugged from the JS side alone.