Latest 0.9.0
License MIT
Platforms ios 7.0, requires ARC

CI Status
Coverage Status


Why is it so painful to access the assets in CocoaPods?
Pain No More!

Get the damn image:

NSData* data = [PodAsset dataForFilename:@"SomeDamnImage.jpg" pod:@"SomePod"];

Get the damn json:

NSString* jsonString = [PodAsset stringForFilename:@"SomeDamn.json" pod:@"SomePod"];

To run the example project, clone the repo, and run pod install from the Example directory first.


The resource bundle name, by default, is the pod name.
If not, please check the third party pod’s podspec and find out the resource bundle name:

  s.resource_bundles = {
    'PodAsset' => ['Pod/Assets/*.png']

In the above example, the bundle name is PodAsset.


PodAsset is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "PodAsset"

How It works

Pod Asset will search all bundles and find the correct one.


Hai Feng Kao, [email protected]


PodAsset is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "PodAsset",
    "version": "0.9.0",
    "summary": "Unable to find cocoapod resources? Here is the solution!",
    "description": "It is a very frustrating experience to locate the resources (assets) provided by the third-party pods.nPodAsset provides a simple way to load the resources. nAnd debugging tools if you cannot locate the correct bundles.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Hai Feng Kao": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.9.0"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*"

Pin It on Pinterest

Share This