Ios – How to archive/export Framework in Xcode

frameworksiosxcode

I have a project with a framework target, but when I archive, the framework does not show up in organizer. I checked apple for documentation, but only found reference for static libraries.

Has anyone experienced this before?

Here are screenshots of my current scheme settings
Build Scheme
Release Scheme

Best Answer

Go into your framework and build.

cmd+b

You will find in your products YOUR_FRAMEWORK.framework

enter image description here

Right click on "YourLibrary.framework" -> Show in Finder

enter image description here

Now you can share/import your library.

Attention: Don't link/reference to this path because the framework is stored in Derived Data.