Expo Error On iOS App

Please provide the following:

  1. SDK Version: 33.0.0
  2. Platforms(Android/iOS/web/all): iOS

I am getting an error mentioning that “undefined is not an object (evaluating ‘Expo.Constants.appOwnership’)”. This error is coming when I am running an expo and test app on my device. I have attached the picture of the error I am getting. I appreciate for the help. Thank you!

Hi. It looks like you probably upgraded from an SDK version lower than 33 to SDK 33. In SDK 33 a lot of the imports need to change.

Please see the following:

You can check the documentation for each one if you still have trouble after trying the codemod.

For Constants the documentation says:

import Constants from 'expo-constants';

@wodin Yes I have updated SDK from 32 to 33. I will try the mentioned solution. Thank you for the help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.