iosiphonexcodeframeworksxcode-workspace

Xcode: Get update of framework project in app project dynamically from framework project in same workspace


I have a scenario where I have a workspace file in which I have one Cocoa touch framework and one iOS application. iOS application uses this framework.

I have successfully created framework universal library with help of aggregate target in framework project.

I am successfully able to add the framework (Above mentioned with help of aggregate that runs on simulator, device and archive) in my iOS application project. (I embedded the framework file in my application project).

Now, whenever I do any change in my framework project I build the framework project with aggregate target, this step successfully updates my application project and framework library used in it.

I don't want this step of building framework project every time I do change in it to get changes reflected in application project with framework. How can I automate the my iOS application project to automatically fetch changes whenever I am running the iOS application?


Solution

  • You can go to Edit Schemes and select build for targets and add you universal target.

    And move your universal target above your app target.