I created a private pod with Cocoapods. The pod has a dependency.
When I use this pod in my Xcode project, Xcode's scheme now defaults to "MyPodName (Pods Project)" instead of my app's target after running pod install. This is somewhat annoying because I have to go change the scheme back everytime I run pod install because different branches may have differences in Podfile.lock
I created my Pod using the Cocoapods skeleton generated by pod lib create.
Here is my podspec:
Pod::Spec.new do |s|
s.name = "MyPodLib"
s.version = "2.0.0"
s.summary = "MyPodLib is just an example name for this question."
s.description = <<-DESC
DESC
s.homepage = "https://github.com/username/MyPodLib"
s.license = 'License'
s.author = { "username" => "email@address.com" }
s.source = { :git => "https://github.com/username/MyPodLib.git", :tag => s.version.to_s }
s.platform = :ios, '8.4'
s.requires_arc = true
s.source_files = 'Pod/Classes/**/*'
s.resource_bundles = {
'MyPodLib' => ['Pod/Assets/*.png']
}
s.dependency 'DependencyPod', '2.0.0'
end
I think this might only be happening on my computer too. Colleague says doesn't happen to him.