the binary inside of the framework is not a valid binary

When I try to use this in xcode I get errors saying that xcode will ignore this framework: ld: warning: ignoring file /Users/mdyson/work/.../Pods/AmazonFling/Frameworks/AmazonFling.framework/AmazonFling, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): /Users/mdyson/work/.../Pods/AmazonFling/Frameworks/AmazonFling.framework/AmazonFling When I inspect the actual binary with lipo I get the following:

$ lipo -info AmazonFling
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't figure out the architecture type of: AmazonFling
Edited by Matt Dyson