lipo creates a static library, not a framework - you've just used a different file extension (.framework) instead of .a
An iOS framework is actually a folder. It needs to contain a Headers and a Modules folder for example. And a binary for the dynamically linked component.