Skip to content

build: apple: Fix missing dependencies

Many symbols were missing for two apple vout modules causing this kind of issues

Undefined symbols for architecture arm64:
  "_CGRectZero", referenced from:
      -[VLCVideoUIView viewContainerBounds] in libuiview_window_plugin_la-VLCVideoUIView.o
ld: symbol(s) not found for architecture arm64

and

Undefined symbols for architecture arm64:
  "_CACurrentMediaTime", referenced from:
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
  "_CMTimeGetSeconds", referenced from:
      -[VLCPictureInPictureController pictureInPictureController:skipByInterval:completionHandler:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
  "_CMTimeMakeWithSeconds", referenced from:
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
  "_CMTimeRangeMake", referenced from:
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
  "_kCMTimeNegativeInfinity", referenced from:
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
  "_kCMTimePositiveInfinity", referenced from:
      -[VLCPictureInPictureController pictureInPictureControllerTimeRangeForPlayback:] in libpictureinpicturecontroller_plugin_la-VLCPictureInPictureController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libpictureinpicturecontroller_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Merge request reports

Loading