How to create an Xcode 6 workspace that includes 2 iOS projects and an iOS Dynamic Framework project?

I am trying to create one Xcode workspace that includes 3 projects: - 2 different iOS applications - One dynamic structure project

Two iOS apps must use the framework.

It sounds very easy and reasonable, but I just can't get it to work. When I add the framework to the target of the iOS application as a linked library, the build process works, but when I start, I get an exception that cannot be found in the structure. If I go to Embed Binaries → click add → select a framework from the framework project, nothing will happen (the embedded binaries section will remain empty. First I tried to add the frame as a linked library, and then add it to the embedded binaries. Now compilation does not work ( cannot find framework).

What am I missing? Each example in the documentation shows how to add a frame as a new target within the same project. But that does not help. I want the structure to be a separate project, which the team can work separately.

+6
source share
1 answer

Open Xcode so you can see Xcode in the menu bar. Then go to File> New> Workspace.

I believe that you simply drag and drop other projects into the workspace.

I have never used a workspace, although I did it before.

0
source

Source: https://habr.com/ru/post/982578/


All Articles