Skip to content

[Bug] Code App crashes in Power Apps mobile (iOS) with "platformSpecificResourcesVersion" undefined #373

@JustinSRao

Description

@JustinSRao

Describe the bug

A deployed Code App that previously worked (worked last Friday, now it is Monday) in the Power Apps iOS mobile app now fails to load
with the error "This app didn't install correctly" and the JS error:
Undefined is not an object (evaluating 't.platformSpecificResourcesVersion')

The app loads fine when opened via direct URL in Safari on web and mobile. The issue is specific to the
Power Apps mobile app on iPhone.

Steps to Reproduce

  1. Deploy a Code App via pac code push or npm run deploy
  2. Open the Power Apps mobile app on iPhone
  3. Tap the app tile to launch it

Expected behavior

The Code App loads and runs inside the Power Apps mobile app, as it did previously.

Actual behavior

The app fails immediately with:
"This app isn't opening correctly. This app didn't install correctly. Please try again.
Undefined is not an object (evaluating 't.platformSpecificResourcesVersion')"

A new Session ID is generated on each attempt, confirming the app is not cached —
it is failing fresh on every load from the server.

Screenshots or Error Messages

This app isn't opening correctly
This app didn't install correctly. Please try again.
Undefined is not an object (evaluating 't.platformSpecificResourcesVersion')
Session ID: 3e8c2627-ff53-49f6-a237-c189e871d7cc

Environment information

  • Framework, build tool or relevant package used: React 19, Vite 8, TypeScript
  • @microsoft/power-apps: 1.2.2
  • @microsoft/power-apps-vite: 1.0.2
  • Deployed via: pac code push
  • Device: iPhone, Power Apps iOS mobile app
  • No connections or data sources configured (connectionReferences: {}, databaseReferences: {})

Additional context

The app worked in the Power Apps iOS mobile app as recently as last week on June 12th.
No changes were made to the app code or deployment between when it worked and when it broke.
Redeploying with updated packages (@microsoft/power-apps@latest, @microsoft/power-apps-vite@latest)
did not resolve the issue. The same app opens correctly in Safari on the same device using
the direct play URL, suggesting the issue is in the mobile player itself rather than the app bundle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions