Skip to content

Instantly share code, notes, and snippets.

@timshadel
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timshadel/cfc74def55fd5ac213d1 to your computer and use it in GitHub Desktop.
Save timshadel/cfc74def55fd5ac213d1 to your computer and use it in GitHub Desktop.
Empty Pod For Watch Extension
/**
* If your watch extension doesn't need any of it's own exclusive pods,
* it won't have its header search path set to see any of the dependencies
* of embedded frameworks it relies on. This fixes that without duplication.
*/
@interface EmptyPodForWatchExtension
@end
@implementation EmptyPodForWatchExtension
@end
Pod::Spec.new do |s|
s.name = "EmptyPodForWatchExtension"
s.version = "0.0.1"
s.summary = "Give watch extension pod superpowers."
s.license = { :type => 'MIT' }
s.author = { "Tim Shadel" => "tim@shadelsoftware.com" }
s.source = { :git => "https://gist.github.com/timshadel/cfc74def55fd5ac213d1.git", :branch => "master" }
s.platform = :ios
s.requires_arc = true
s.source_files = 'EmptyPodForWatchExtension.{h,m}'
s.public_header_files = 'EmptyPodForWatchExtension.h'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment