It is said that CocoaPods upgrade to 1.0 after the use is not very convenient, well, this time the company is more and it is written by their own SDK is not how to write the demo, CocoaPods also used a few times ...
Two days ago friends said to go to Carthage, in the online search some tutorials is really not difficult, but there are some things not written too clearly, I will incompatible write an article, also is a memo
First, install the Carthage.
This online has a tutorial, recommended to use homebrew installation, really not difficult.
Second, create the project, you want to upload, share the one.
Is the general to create a new project, the function you want to upload to write, and then simply say that you write a demo, realize the function, normal compilation, you can run up good.
Third, create a new Target.
In the Demo, click File-->new-->target. Select the Cocoa touch Framework, enter your framework name and I'll enter Shbplayer.
.................. Come here first, have time to mend
Let your project support Carthage