I'm trying to build my library using bitcode! And I'm having strange issues. I added OTHER_CFLAGS="-fembed-bitcode" in my xcconfig which works fine... unless I compile for a real phone as my target.
I'm using an iPhone 4s as a phone, and it tells me Argument unused during compilation: '-fembed-bitcode-marker' If I try on any simulator (iPhone 4s simulator included) it works perfectly fine and I can see the bitcode using otool -l lib.a | grep LLVM
Anyone knows what could be the issues there? Thanks a lot!