iphone - How do I add a custom font to a Cocoapod?

iphone - How do I add a custom font to a Cocoapod?

I want to use a custom font within a Cocoapod, but I can't find anything on using a custom font within a static library. As there is no info.plist file, there is no where to tell the app what font to…


ios - Cocoapods importing a framework to source code

In my cocoapod for iOS, I have a essentially items: Open-source classes(.m &.h files) MyFramework.framework(.framework directory, header files, and.bundle for resources) One of the open-source c…


ios - .podspec error-source_files` pattern did not match any file

I am integrating one of my github repos(full code here if it helps) with Cocopods, and I get this error when I run pod spec lint.-> DropDownMenu(0.0.1)-ERROR |[iOS] The `source_files` pattern…


ios - DEBUG preprocessor macro not defined for CocoaPods targets

I'm having issues with a pod called DCIntrospect-ARC which should only work in DEBUG mode. It checks if the DEBUG macro is defined before running. However, it is not defined in the CocoaPods target an…


xcode - Publishing a precompiled CocoaPods

We are currently building an SDK for a customer using CocoaPods. The main problem we have is that our boss would like the SDK to be a black box. He wants us to precompile the code in order to protect…


ios - Creating a custom cocoa pod with a storyboard in it

I am creating a pod, and in the resource bundle I have a storyboard(localised). When I try to instantiate a storyboard, an error occurred: Could not find a storyboard named 'MyStoryboard' in bundle N…


Access Resources in pod

I would like to include image assets in a cocoapod library, but I'm having trouble accessing them. I've read these resources for help: Cocoapods Resources Cocoapods Resource Bundles Mokacoding Resour…


How to use images asset catalog in cocoapod library for iOS

I have a cocoapod library which contains assets in 2 formats: a.storyboard XCode asset catalog.xcassets(with images) my podspec file contains the definition for the resource bundle: s.resource_b…



One nib, different assets. Bundles?

I have an iPhone application that comes in differently skinned flavors, with different art assets and sounds, but all the same code. I've got things set up with multiple targets, but the problem I'm…


Cocoapods with Xcode 6 and 10.10 Yosemite

After initially upgrading to 10.10 and XCode6-Beta, I tried to run 'pod update' and I received this error: cannot load such file-- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext(Lo…




cocoapods swift preserve_paths prepare_command podspec version vendored_frameworks not ios dependencies