objective c - Custom iOS framework for use with Swift project. Mach-O Type Dynamic and Static, both causing different issues -
i'm using xcode 7.1, ios sdk 9.1.
i have created cocoa touch framework (myfw) in objective-c uses 3rd party framework (fw-a). have added fw-a myfw linked framework/library since it's dependency.
in sample app, have added myfw , podfile fw-a dependency.
case 1: myfw has mach-o type = 'dynamic library':-
at runtime, there warnings classes of fw-a "class xyz implemented in both "myfw" , "sample app". 1 of 2 used. 1 undefined. checked many posts issue couldn't find viable solution.
case 2: myfw has mach-o type = 'static library' :-
the app not throw warnings or errors @ compile-time or run-time. when create ipa file of sample app , try install on device using itunes; fails install every time.
question:
which issue in case easier resolve?
as umbrella frameworks highly discouraged apple, i'm not taking approach.