I have created a sample Framework in Swift, xcode 7.1. The framework is then built for Profiling, released version. Released framework then added(embedded) to an iOS test app.
The app builds fine, but when trying to archive it. An error occurs, stating "bitcode bundle could not be generated because '.../Test/FW.framework/FW' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build for architecture arm64"
The Framework and app projects are on default settings, Bitcode enabled for both.
To make sure Framework have bitcode, this command on Framework
"otool -l FW.framework/FW | grep __LLVM"
yields
segname __LLVM
segname __LLVM
segname __LLVM
segname __LLVM
What am I missing? I have included both projects here, you can download them and try archiving.