I have an xcode framework project that I\'ve created, which I can compile into a myframework.framework file. After compiling, I drag this framework into the Fra
myframework.framework
I had the exact same problem. If you use app extension like me, and the archive error message is only associated with the app extension.
Remember that you have to MANUALLY add your custom framework into the "Linked Frameworks and Libraries" section of your app extension.