ios - Swift Cocoa Touch Framework containing another Framework -


i'm trying build framework implements rest api want reuse , share. handle network access, want use alamofire inside api framework. works far except test app, uses api framework, won't build because alamofire missing.

in app's target can set "embedded binaries" include api framework. if include alamofire there, works.

now wonder if there way put alamofire framework api framework app has include 1 framework. api framework's target->general settings don't have section "embedded binaries". maybe can done in way. or not approach @ all?

thanks help!

--- update ---

of course possible add source files of alamofire framework in api framework. way app has import api framework. still wonder if it's possible include alamofire framework in api framework.

half year later learned not meant work way in xcode ios frameworks. if framework depends on other 3rd party frameworks, need import frameworks own target. i'm using xcode 8 beta 3 , nothing changed far , won't in future.

i think reason simple: if above possible, end having 1 framework included several times in project, because of frameworks include other frameworks include other frameworks include other frameworks include other frameworks include other frameworks...

i think point :p


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -