ios - How to create an Xcode project that is not an app but is visible in other projects? -


i want create project handful of categories add useful functionality uikit. want keep separate project can source-controlled separately (and hosted on github, , downloadable dependency via cocoa pods...but let's skip now.)

but xcode 6.1 project templates imply app inside. when select empty project complains missing base sdk. cannot set without target present. quite confusing. don't need target. i? project should shell number of categories + accompanying summary header file.

i want able drag project subproject other proper app project, import summary header file , expose categories main project.

any advice?

you need target. every source file should compiled must part of target.

you reference each source file target(s) in app's xcode projects, that'd tedious you'd have add every project manually when add source shared repository.

either create embedded framework project or static library. unless going share code between app , app's extension, go static library. lot easier manage.

create project has static library target, add files static library.

then create workspace has static library project , app(s) project(s) in it. modify app targets link against static library.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -