Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CocoaPods: Gerenciador de Dependência para iOS ...

CocoaPods: Gerenciador de Dependência para iOS e Mac

More Decks by Guilherme Martinez Sampaio

Other Decks in Technology

Transcript

  1. AFNetworking SSKeychain GoogleAnalytics-iOS-SDK OCMock FormatterKit FacebookSDK SDWebImage FlatUIKit GHUnit GPUImage

    MBProgressHUD TestFlightSDK e mais 1836 outros projetos! Cheio de projetos open source Wednesday, July 10, 13
  2. plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>

    3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
  3. plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>

    3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
  4. plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>

    3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
  5. plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>

    3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
  6. plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>

    3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
  7. Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary

    = “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “[email protected]”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
  8. Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary

    = “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “[email protected]”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
  9. Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary

    = “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “[email protected]”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
  10. Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary

    = “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “[email protected]”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
  11. Criando uma Repositório de Specs $ mkdir MyPodspecRep $ cd

    MyPodspecRep $ mkdir MySpec $ cd MySpec $ mkdir 0.0.1 $ cp path/to/MySpec.podspec 0.0.1/ recomendo fortemente criar um git para este repositório Wednesday, July 10, 13