简体   繁体   中英

Xcode 5.1.1 not recompiling subproject

I have 2 projects within my workspace (see screenshot), but when I make changes to my secondary project (SDK), it doesn't recompile them. For example if I just write random uncompiling code, it still compiles. Xcode also doesn't break at those breakpoints in the secondary project but it breaks in the primary project. I've tried deleting DerivedData and also cleaning the workspace. Any ideas? Thanks!

在此处输入图片说明

在此处输入图片说明

Check in the Utilities of Xcode if the .m files from your secondary project are in the Target membership .

在此处输入图片说明

UPDATE

I think I just replicate your problem on my side, and found the solution that fixes it. Try going in Products > Scheme > Edit Schemes . Select your primary project scheme in the upper left part of the view, the go in the Build section in the left menu. Click on the plus sign and add your secondary project target.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM