Skip to content

configureMainAppPlist crashes during expo config introspect (ENOENT) #51

@edhor1608

Description

@edhor1608

Library Version

1.0.0

React Native Version

0.81.5

React Version

19.1.0

Expo Version

54.0.32

Minimal Reproduction

  1. npx create-expo-app voltra-repro --template blank
  2. install voltra@1.0.0
  3. Add to app.json:
  • "ios": { "bundleIdentifier": "com.example.voltrarepro" }
  • "plugins": [["voltra", {"groupIdentifier": "group.com.example.voltrarepro"}]]
  1. Run: npx expo config --type introspect
  2. Error: ENOENT .../ios/voltrareproLiveActivity/Info.plist

Additional Information (Optional)

Root cause: plugin/src/features/ios/plist/index.ts calls fs.readFileSync() without checking if the file exists. During introspect (before prebuild), the ios/ folder doesn't exist yet.

This breaks EAS builds since EAS runs introspect before prebuild.

Verified on both 1.0.0 and 1.1.2 (latest).

Fix: Add fs.existsSync(filePath) check before reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions