chaimPaneth / react-native-jw-media-player

React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
MIT License
193 stars 92 forks source link

Fastlane error on >= 0.2.42 #338

Open jeromecovington opened 8 months ago

jeromecovington commented 8 months ago

If I pin the package to version 0.2.41 I can successfully build under Expo. For versions >= 0.2.42 I get the following error:

❌  (node_modules/react-native-jw-media-player/ios/RNJWPlayer/RNJWPlayerView.swift:13:8)

  11 | import MediaPlayer
  12 | import React
> 13 | import GoogleCast
     |        ^ no such module 'GoogleCast'
  14 | import JWPlayerKit
  15 | 
  16 | class RNJWPlayerView : UIView, JWPlayerDelegate, JWPlayerStateDelegate, JWAdDelegate, JWCastDelegate, JWAVDelegate, JWPlayerViewDelegate, JWPlayerViewControllerDelegate, JWDRMContentKeyDataSource, AVPictureInPictureControllerDelegate {
StackZs commented 8 months ago

https://github.com/chaimPaneth/react-native-jw-media-player/blob/91a6adf065478802f5ce823c4ca22a172c457dc0/Example/ios/Podfile#L8

You have added this flag to your podfile?

jeromecovington commented 8 months ago

No I have left the Podfile untouched. For this project I am using the Expo build process and do not want to create any diffs to the default native code.