Add pre and post build actions for ios

Source: Internet
Author: User

In vs, we can easily execute some scripts before and after the build to do something for us. What should I do in ios? Which of the following operations must be performed on xcode. Then google searched for it, and said that Scheme was operated, and then directly operated on the target build phase. I tried these two methods, but only the latter succeeded. Here we mainly use the image format to demonstrate the operation steps.

1. Click project-> build phases-> add build phase

 

 

 

2. Which one do you want to choose? This can be added based on your own situation.

 

 
 

 

3. I added two projects, pre and post. Generally, after the add operation, they are all pending. It is actually a top-down build process. So we can add the custom phase to the desired location. Let's just drag pre to the top of the list before compilation. Remember to double-click the title to modify the name.

 

 

 

 

 


 

Related Article

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.