Open to edit and suggestions! To be continued when Swift Package Manager is released for iOS
Also, I want to apologise if something is not quite right.
ANSWER:
After a while trying different ways and methods and with drekka answer, I have figured out how to use Carthage as a dependency manager for my cocoa touch framework.
My Framework has all the Carthage files and folders, includes the Frameworks but it doesn’t have the run script.
Because my framework contains public variables that depends on the frameworks imported, when I use them in App project Xcode can find them.
So in my App target “TheApp – General – Linked frameworks and libraries” i drag an drop the carthage framework reference:
And, indeed, the location is added into “TheApp – Build settings – Search path – Framework search path”
At this point the app compiles an runs in a simulator but crashes when runs in a real device as it is shown in the question. For solving this issue I add the Carthage scrips in “TheApp – Build phases”
And job done!
I was expecting an easier integration like the one you get with gradle in android but, by now, I think this is the best approach.
solved iOS Dependency manager in Cocoa Touch Framework