I am working on an iOS application with my team, and I would like to move a piece of code into a pre-compiled structure to reduce compilation time. I created a framework with the source files, uploaded it to the git repository, and distributed it to the rest of my team using cocoapods.
But instead of having a .framework folder with only headers, I get .h et.m. Here is my pod hierarchy found in the inclusion project.

I looked at the other elements used in my application and found that I have the hierarchy I'm looking for:

Is it possible to modify the .podspec file to distribute a compiled version of the framework?
Here is a snapshot of my .podspec file:
Pod::Spec.new do |s|
s.platform = :ios, "9.0"
s.source = { :git => "URL" }
s.source_files = "MessengerPaintCode", "MessengerPainCode/**/*.{h}"
end
My questions: