2

When Xcode is used to build an iOS framework, the end result is a package on the disk similar to the following:

enter image description here

Is it possible for me to give that package to another developer and have him/her include it in their own Xcode projects?

[I am having trouble doing that. Hence this question. The lack of an answer lead me to distill it to its essence and post a new, simpler question.]

Verticon
  • 2,419
  • 16
  • 34
  • 1
    In general, the answer should be, "Yes, you can do that." However, your other question's error message seems to point at Swift's "module" concept, which I don't truly understand. Perhaps some investigation into modules, such as how they are created and located, would help. – Phillip Mills Dec 06 '17 at 18:11
  • Thanks, Phillip. That sounds promising. I'll look into it. – Verticon Dec 06 '17 at 19:38

1 Answers1

1

So, the answer to my question is a definite Yes. I now know this because Carthage can do it. Upon remembering that Carthage does exactly what I am trying to do, I used Carthage to build my framework and Voila! - I can drag/drop the Carthage build of my framework into an Xcode project and successfully use it. So now my inquiry has become: What does Carthage know that I do not?


Update


Mystery solved! The framework and application architectures were mismatched. See this question for a bit more info.

Verticon
  • 2,419
  • 16
  • 34