davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

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

Open 09user opened 4 years ago

09user commented 4 years ago

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.