ios - Is there an easy way to find all dependencies of a framework? -
while writing extensions in swift / categories in objective-c have decide on structured way organize them in xcode project. thought thought take dependencies of different apple frameworks account.
let's illustration @ mkmapview class of mapkit framework. has property centercoordinate has type cllocationcoordinate2d. , cllocationcoordinate2d belongs corelocation framework. thus mapkit framework depends on corelocation framework.
(see https://developer.apple.com/library/ios/documentation/mapkit/reference/mkmapview_class/index.html#//apple_ref/occ/instp/mkmapview/centercoordinate)
i know can browse corresponding header files gather info i'm looking for. quite tedious.
is there somewhere overview of dependencies of apple frameworks come ios / macos sdks? or more convenient way determine them?
running otool (i cannot find official manpage) -l alternative on framework binary should give dependencies:
$ otool -l /path/to/abc.framework/versions/current/abc ios xcode osx apple
No comments:
Post a Comment