Search code examples
iosxcodeswiftclangtvos

building for tvOS, but linking in object file built for iOS, for architecture arm64


I am using LexiContext framework in my tvOS app. It works fine in simulator when I try to archive the app, 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.


Solution

  • For others, facing similar issue; apparently there is no way around this. If you find it, please let me know.