I am trying to get the list of all the libraries and frameworks included in an ios project, programmatically using Objective-C and send the list to the server. How to get this list?
From NSBundle
+allFrameworks
Returns an array of all of the application’s bundles that represent frameworks.
Declaration
//SWIFT
class func allFrameworks() -> [AnyObject]
//OBJECTIVE-C
+ (NSArray *)allFrameworks
Return Value
An array of all of the application’s bundles that represent frameworks. Only frameworks with one or more Objective-C classes in them are included.
Discussion
The returned array includes frameworks that are linked into an application when the application is built and bundles for frameworks that have been dynamically created.
Import Statement
import Foundation
Availability
Available in iOS 2.0 and later.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With