Using static library in both App and Cocoa Touch Framework targets
问题 I've created a new "Cocoa Touch Framework" target called MyAppCore in my iPad project called MyApp , with the intention of putting some common code in there. Overall it works great, however, I've encountered problems with adding the static library provided by Google Analytics. I want to be able to use Google Analytics not only in the MyApp target, but inside of the MyAppCore target as well. In order to make both targets build, I have to link both targets with libGoogleAnalyticsServices.a.