NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

How to handle dependencies while creating framework?

Forums > Swift

I am creating a framework in objective c which also use 3rd party framework like AFNetworking and google promises. When I export my framework and intigrate it in some other app, App got crash at launch and gives error that image not found. If I seperatly add the framework (AFNetworking and google promises) to the app that it seems working.

I have searched online for the solution and there are some answers that says iOS apps does not supports nested frameork, is it true? which is the correct way to archive it? is there any apple documentation on same?


Hacking with Swift is sponsored by Paw

SPONSORED Use Paw to build, test and describe web APIs. Paw has a lightning fast native macOS interface to compose requests, collaborate in real-time on API specs, and generate client code for your applications. You can import and export API definitions.

Discover Paw for Mac

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

Not logged in

Log in

Link copied to your pasteboard.