davide-scalzo/react-native-mixpanel

Property 'connectedScenes' not found on object of type 'UIApplication *'

Opened this issue · 0 comments

Hi,

Am getting Build Error in IOS, While building in xcode - react native

  1. /ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:178:65: Property 'connectedScenes' not found on object of type 'UIApplication *'
    2.ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:179:14: Use of undeclared identifier 'UIScene'
  2. ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:179:23: Use of undeclared identifier 'scene'
  3. /ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:180:42: Use of undeclared identifier 'UISceneActivationStateForegroundActive'
  4. /ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:184:29: Property 'windowScene' not found on object of type 'UIWindow *'
  5. /ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:181:17: Unknown type name 'UIWindowScene'; did you mean 'UIWindowLevel'?
    7./ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:181:47: Use of undeclared identifier 'UIWindowScene'; did you mean 'windowScene'?
  6. /ios/Pods/Mixpanel/Mixpanel/MPNotificationViewController.m:181:62: Expected expression

Can you please suggest solution for this error,

Thank you.