Skip to content

Xcode warnings when using TVVLCKit in tvOS Simulator (macOS 10.12.1, Xcode 8, tvOS 10.0)

Hi all,

since the compiling issue with Xcode 8 has been fixed in 16e074d2, i was able to successfully compile the framework for tvOS using

./buildMobileVLCKit.sh -ftb

The build process works fine and i am left with the TVVLCKit.framework:

[info] all done

[info] Building static TVVLCKit.framework

[info] Building MobileVLCKit (TVVLCKit, Release, appletvos)

[info] Building MobileVLCKit (TVVLCKit, Release, appletvsimulator)

[info] Build of static TVVLCKit.framework completed

But when i add the framework to my Xcode project, i get the following warnings (80 in sum):

(null): URGENT: building for tvOS simulator, but linking in object file (/Users/timo/Beispiel-Player/TVVLCKit.framework/TVVLCKit(blend_bitmaps.o)) built for (unknown). Note: This will be an error in the future.

(null): URGENT: building for tvOS simulator, but linking in object file (/Users/timo/Beispiel-Player/TVVLCKit.framework/TVVLCKit(be_blur.o)) built for (unknown). Note: This will be an error in the future.

(null): URGENT: building for tvOS simulator, but linking in object file (/Users/timo/Beispiel-Player/TVVLCKit.framework/TVVLCKit(blur.o)) built for (unknown). Note: This will be an error in the future.

(null): URGENT: building for tvOS simulator, but linking in object file (/Users/timo/Beispiel-Player/TVVLCKit.framework/TVVLCKit(rasterizer.o)) built for (unknown). Note: This will be an error in the future. ...

Those are warnings and the build process does not crash, but the simulator doesn't play the media file i want to stream either. There seems to be a problem with the build-process for the simulator. Those warnings dont show up if i build my project on the device itself. The problem seems to be isolated to the tvOS simulator.

My environment:

  • VLCKit checked out on 2453a955
  • Xcode Version 8.1 (8B62)
  • macOS Version 10.12.1 (16B2555)
  • tvOS Simulator 10.0
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information