Build for tvOS but link in object file built for iOS for arm64 architecture

I am using the LexiContext framework in my tvOS application. It works fine in the simulator, when I try to archive the application, I get:

ld: in /Users/Kashif/Dropbox/T+ve/Projects/AooForTv/lexicontext-1.2-1444206402/libLexicontext.a(Lexicontext.o), building for tvOS, but linking in object file built for iOS, for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Any idea how to get around this.

+5
source share
1 answer

For others facing a similar problem; apparently there is no way around this. If you find him, let me know.

+2
source

Source: https://habr.com/ru/post/1235425/


All Articles