ios - Xcode 怎样强制编译所依赖的 Framework Target
PHPz
PHPz 2017-04-17 15:46:45
0
2
293

在我的 xcode project 中有两个 target, 一个 Framework, 一个 iOS Demo Application,链接并引用了这个 Framework,每次对 Framework 源代码进行修改后,总要切换到 Framework 对应的 target 编译一次,再运行 iOS Demo Application Targe 才会生效。

可以开发过程中这个操作很不方便,有什么方法可以强制自动编译那个 Framework target 吗?

PHPz
PHPz

学习是最好的投资!

reply all(2)
小葫芦

Thanks @匡junyuJonny for explaining on Weibo:

Add your framework in Embedded BinariesLinked 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

迷茫

The correct answer is this, add dependent projects:

and here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!