Open chriszs opened 1 month ago
Working around this by pegging the version in my Podfile using the following build configuration in my Expo app.config.js:
extraPods: [
{
name: 'JWPlayerKit',
version: '4.19.2',
},
],
Hey @chriszs, so the native iOS version 4.20.0
went out in a non-viable state. We don't advise upgrading to it in your apps, and we are actively working on creating a patch and pushing out the update in a working state. We cannot roll back the pod release, however, so your workaround and our suggestion would be to skip 4.20.0
and only upgrade to a verified version.
With the 4.20.+
release that follows, this repository may need to be changed, but we will make the changes required to support that version when we roll it out. Upgrading the version before the wrapper is upgraded may cause problems and it seems we aren't protecting you with our current configuration.
@AmitaiB would you agree we should be more explicit in our podspec, like the following?
s.dependency 'JWPlayerKit', '4.19.2'
My Podfile.lock would have prevented this, but that gets removed by Expo Prebuild and recreated in CI. I believe this right now would bite anyone who installs this fresh.
Hello @chriszs, everything @Jmilham21 said is accurate, and this use case should certainly specify a specific version rather than a wildcard (those who know what they are doing can always change this).
That said, this is not caused by the instabilities introduced by 4.20.0, most of which are ad-event related, specifically for DAI implementations. Rather, the
jwplayerContentIsBuffering(_ player: JWPlayer)
API was obviated in 4.2.0
back in 2021 in favor of jwplayer(_ player: JWPlayer, isBufferingWithReason reason: JWBufferReason)
. 4.17.1
, so expect this change in a near version, if not the next one.Hello, can anyone please help on what should be done? We have productions apps that we can push an update for since ios does not build because of the below errors
@holladortun I just pinned the JWPlayerKit
native pod until a fix lands. See above for how to do it in an Expo prebuild project.
@holladortun I just pinned the
JWPlayerKit
native pod until a fix lands. See above for how to do it in an Expo prebuild project.
Thank you soo much.
Doing this worked and the app now builds with expo eas
Describe the bug When building an app with the latest version of this package on EAS I got the following build failure:
I couldn't reproduce this locally until I upgraded the JWPlayerKit pod to the latest version, which is 4.20.0. Locally I only get the
method does not override any method from its superclass
error, not thehas no member
error, but the build does fail with that pod version regardless.Steps to reproduce the behavior:
cd ios/
pod update JWPlayerKit
cd ..
npm run ios
Expected behavior No build failure.