Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #218

Closed
Open
Created Sep 12, 2019 by Diego Stamigni@diegostamigni

tvOS project fails to build when building for real device

What is the current bug behavior?

Build fails when building for real device (tvOS)

What is the expected correct behavior?

Build should pass

Relevant logs and/or screenshots

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -framework Foundation -framework UIKit -weak_framework DynamicTVVLCKit -Xlinker -rpath -Xlinker @executable_path/ MyProject.tvOS/obj/iPhone/Debug/mtouch-cache/arm64/LibVLCSharp.dll.o /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libmonosgen-2.0.dylib /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libxamarin-debug.dylib /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libmono-native-unified.dylib -lz -liconv -gdwarf-2 -std=c++14 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.0.sdk -Qunused-arguments -mtvos-version-min=11.0 -fembed-bitcode-marker -arch arm64 -shared -lc++ -install_name @rpath/libLibVLCSharp.dll.dylib -fapplication-extension -o MyProject.tvOS/obj/iPhone/Debug/mtouch-cache/arm64/libLibVLCSharp.dll.dylib -DDEBUG
Compilation failed with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -framework Foundation -framework UIKit -weak_framework DynamicTVVLCKit -Xlinker -rpath -Xlinker @executable_path/ MyProject.tvOS/obj/iPhone/Debug/mtouch-cache/arm64/LibVLCSharp.dll.o /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libmonosgen-2.0.dylib /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libxamarin-debug.dylib /Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/lib/libmono-native-unified.dylib -lz -liconv -gdwarf-2 -std=c++14 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/12.99.4.26/SDKs/Xamarin.AppleTVOS.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.0.sdk -Qunused-arguments -mtvos-version-min=11.0 -fembed-bitcode-marker -arch arm64 -shared -lc++ -install_name @rpath/libLibVLCSharp.dll.dylib -fapplication-extension -o MyProject.tvOS/obj/iPhone/Debug/mtouch-cache/arm64/libLibVLCSharp.dll.dylib -DDEBUG
ld: framework not found DynamicTVVLCKit
...
lang : error : linker command failed with exit code 1 (use -v to see invocation)
clang : error : linker command failed with exit code 1 (use -v to see invocation)
MTOUCH : error MT5216: Native linking failed for 'MyProject.tvOS/obj/iPhone/Debug/mtouch-cache/arm64/libLibVLCSharp.dll.dylib'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
    9 Warning(s)
    3 Error(s)

It's worth to mention that DynamicTVVLCKit it's actually present in file system after nuget restore.

Environment

  • OS: tvOS
  • Version 12 and 13
  • Device: Apple TV
  • LibVLC version and architecture: tvOS 3.2.0
  • LibVLCSharp version: 3.2.0
Edited Sep 12, 2019 by Diego Stamigni
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance