84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在我的 xcode project 中有两个 target, 一个 Framework, 一个 iOS Demo Application,链接并引用了这个 Framework,每次对 Framework 源代码进行修改后,总要切换到 Framework 对应的 target 编译一次,再运行 iOS Demo Application Targe 才会生效。
可以开发过程中这个操作很不方便,有什么方法可以强制自动编译那个 Framework target 吗?
学习是最好的投资!
Thanks @匡junyuJonny for explaining on Weibo:
Add your framework in Embedded Binaries 和 Linked Frameworks and Libraries in the app target, and then you can run the app directly without having to manually build the framework and then run the app
Embedded Binaries
Linked Frameworks and Libraries
The correct answer is this, add dependent projects:
and here
Thanks @匡junyuJonny for explaining on Weibo:
The correct answer is this, add dependent projects:
and here