Skip to content

No video show in iOS 11 #13

@bavuvanet

Description

@bavuvanet

Hi kikill95,

I tried build this lib on Xcode 9 successfully but when run on ios 11 was a problem:
2017-12-17 21:09:48.104886+0700 TestVlcPlayer2[2414:77414] Running application TestVlcPlayer2 ({
initialProps = {
};
rootTag = 1;
})
2017-12-17 21:09:48.107 [info][tid:com.facebook.react.JavaScript] Running application "TestVlcPlayer2" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF
2017-12-17 21:09:48.108119+0700 TestVlcPlayer2[2414:85244] Running application "TestVlcPlayer2" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF
2017-12-17 21:09:48.132637+0700 TestVlcPlayer2[2414:85253] [MediaRemote] [AVOutputContext] WARNING: AVF context unavailable for MRAVOutputContextCreateIndependentRoutingContext
2017-12-17 21:09:48.135657+0700 TestVlcPlayer2[2414:84478] [MediaRemote] [AVOutputContext] WARNING: AVF context unavailable for MRAVOutputContextCreateIndependentRoutingContext

I use:
iOS

  1. add pod 'MobileVLCKit-unstable', '3.0.0a44' in Podfile (stable version of VLCKit not working in iOS 11 yet)
  2. pod install inside ./ios/ folder
  3. rnpm link react-native-vlc-player
  4. also you must disable bitcode option in target build settings (otherwise it not linked correctly for armv7)
  5. also you must add libstdc++.6.0.9.tbd to Linked Framework and Libraries

How to fix this issue?
Brs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions