Use of Carthage

Source: Internet
Author: User

The first step, of course, is to install Carthage, find it online

Step two, find the warehouse you're going to use, Eg:https://github.com/jiutianhuanpei/shbplayer.

The third step, CD to the project root directory, create a new file named Cartfile, enter:

" Jiutianhuanpei/shbplayer "

Fourth step, terminal operation

Carthage Update

A similar occurrence is successful:

And then we need to do a bit of configuration for the project,

Explain:

3: Point Add Other ...-->carthage-->build-->ios-->xxx.framework

4: Select New Run Script Phase before you can do steps 5 or 6

5: Enter the content is

/usr/local/bin/carthage Copy-frameworks

6: Click the plus sign, enter

$ (srcroot)/carthage/build/ios/xxx.framework

OK, and then you can go back to the engineering wave, hey.

Use of Carthage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.