Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: v6+ causing build issues on iOS #4286

Open
Sewb21 opened this issue Nov 12, 2024 · 4 comments
Open

[BUG]: v6+ causing build issues on iOS #4286

Sewb21 opened this issue Nov 12, 2024 · 4 comments

Comments

@Sewb21
Copy link

Sewb21 commented Nov 12, 2024

Version

6.7.0

What platforms are you having the problem on?

iOS

System Version

Tested on iOS 17 + 18

On what device are you experiencing the issue?

Real device, Simulator

Architecture

Old architecture

What happened?

I have updated the react-native-video dependancy from 5.2.1 -> 6.7.0, I've tried fully clearing Pods, cache and DerivedData but I keep getting the following two errors when I build the project.

Error 1: Type 'String' has no member 'playback'
File: NowPlayingInfoCenterManager.swift - line 28

Error 2: 'pictureInPictureController(_:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:)' has been renamed to 'picture(_:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:)'
File: RCTPictureInPicture.swift - line 38

Reproduction Link

N/A

Reproduction

Have v6.7.0 of react-native-video installed alongside react-native v0.75.4 and try to build the iOS project via Xcode or react-native run-ios

@Sewb21 Sewb21 added the bug label Nov 12, 2024
Copy link

Thank you for your bug report. We will review it and get back to you if we need more information.

@freeboub
Copy link
Collaborator

can you provide the xcode version you use please ?

@Sewb21
Copy link
Author

Sewb21 commented Nov 18, 2024

can you provide the xcode version you use please ?

I am using Xcode version 16.1

@freeboub
Copy link
Collaborator

Can you provide a sample git repo with the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants