Why do some related frameworks look like part of Lego and others look like a toolbox?

I just noticed that some of the pods that I added look like Lego bricks:

enter image description here

And some items appear as toolbars:

enter image description here

in the linked libraries and frameworks section. In general, all my pods look like this:

enter image description here

Why is this?

Since the name of the section is β€œRelated Structures and Libraries,” I assume that one of the icons is a framework and the other is a library? But what is it? And how does Xcode know it's a structure or library? I checked the podspecs of the pods, but I did not find anything about the structures / libraries.

+7
ios frameworks cocoapods
source share
1 answer

Toolbox is the standard icon for CocoaTouchFramework , and this usually means that it uses the Foundation framework.

White cube (lego bricks) means a bunch. It can bind everything you need, it can be a Localized.strings package (for example: ZendeskSDK ) or other assets.

Note that there is a difference between the way it appears inside Linked Frameworks and Libraries or Embedded Binaries than inside Finder .

enter image description here

And the framework for working with Simulator and Device must be built with different architectures (x86_64) vs (armv7, arm64). And it handles Xcode what to take with .framework , since you do not need to manually link it with a different architecture. Therefore, in the Xcode point, you always have in this section the .framework file on the right, ready for your architecture, so it can be displayed as a toolbar. In your case, the LTHPasscodeViewController library LTHPasscodeViewController not contain an auto-tuning scheme (e.g. SwiftyJSON ). There is no xcodeproject besides the demo, the classes are not related to .xcodeproj , so it is not created from CocoaTouchFramework .

When you select a new project from Xcode and select the Cocoa Touch Framework , it creates a project for you. When you don't have a project, it is just bundle (it doesn't matter what the .framework extension .framework ).

+2
source share

All Articles