Linked Questions
16 questions linked to/from How does CocoaPods work
310
votes
14
answers
618k
views
How to check version of a CocoaPods framework
I have updated Flurry via CocoaPods, but how can I check if Flurry was updated?
I mean the terminal shown me that everything is ok:
Installing FlurrySDK (4.2.3)
Generating Pods project
Integrating ...
584
votes
5
answers
171k
views
Xcode Project vs. Xcode Workspace - Differences
I am trying to understand how the whole ecosystem of iOS works.
Until now, I could find an answer for most of my question (and trust me, there have been a lots of them), but for this one, there seems ...
user avatar
user1247294
303
votes
6
answers
94k
views
Xcode: What is a target and scheme in plain language?
Yeah the title says it :-) What do they mean in plain English language? I really don't understand the explanation on Apple's website and I need to rename my target and I'm afraid that nothing works ...
168
votes
5
answers
114k
views
Why do we use use_frameworks! in CocoaPods?
I have used use_frameworks! in CocoaPods Podfile many times. I just wonder why do we use it? I couldn't get the straight forward answer of it.
Example:
platform :ios, '8.0'
use_frameworks!
target &...
120
votes
2
answers
171k
views
What exactly does `pod repo update` do?
I'm following an internet tutorial on Firebase and as part of it, I had to do some work on the command line. I'm pretty comfortable with the command line, but I'm unfamiliar with Cocoapods. I ran pod ...
67
votes
3
answers
26k
views
What does inherit! :search_paths do?
After looking at CocoaPods' own example (from https://guides.cocoapods.org/syntax/podfile.html#abstract_target)
# Note: There are no targets called "Shows" in any of this workspace's Xcode projects
...
32
votes
2
answers
17k
views
include files recursively in Cocoapods podspec
I want to create a local podspec that is based on some private code. I can't seem to use the 'source' attribute, as that is not working. I can use the 'source_files' attribute, but it does not include ...
Ying's user avatar
- 1,990
22
votes
2
answers
20k
views
How does Xcode find implicit target dependencies?
Xcode finds dependencies automatically sometimes. I think is is ok when I am the one who is defining the relationships and when I get lazy ...
But more than often I find myself facing an existent (...
8
votes
4
answers
18k
views
How to use local-only project via CocoaPods
I am struggling to find a way to package an Xcode framework we created as a Pod that would only be used internally (not public, not on github).
How do I modify the .podspec to build the SDK from the ...
19
votes
2
answers
11k
views
CocoaPods and Carthage
I had a project with both Carthage and Cocoapods. They both have one common dependency (PureLayout, to be precise). Strange, but project compiles fine without any errors about class redeclaration, etc....
7
votes
2
answers
7k
views
Podspec - Exclude all but a subfolder
I have a structure like this
target_files/
├──target1/
├──target2/
└──target3/
And I want to include only "target2" for example and exclude the other targets. How I write the spec.exclude_files?
I ...
3
votes
2
answers
2k
views
Non open-source cocoapods
Is it required for a cocoapod framework to be open source?
I have created a cocoapod swift framework on git.
And when I create an ios application and config the pod information in my Podfile.
It ...
11
votes
3
answers
927
views
Xcode Creating a framework that has cocoapods dependencies
I'm currently developing a framework for internal usage, but I'm having trouble getting it to play nicely. The issue i seem to be having is that the framework uses cocoapods for some of its ...
4
votes
1
answer
396
views
[Difference]: Static, Dynamic Library and Static, Dynamic framework. + Library and Framework in iOS
I have read so many articles about these topics on so many sites including stack overflow that I am so confused now which information is correct one and which is not. Can anybody help me to understand ...
1
vote
0
answers
355
views
GitHub CocoaPods conflict with CocoaPod Repository Pods
Viewing: https://guides.cocoapods.org/using/the-podfile.html
I finally figured out that my CocoaPods project name that I get from "git lib create" isn't guaranteed to be the same once it's ...