Modified package name in iOS

Source: Internet
Author: User

1. When we do the project may encounter halfway the change of the name of the package, this afternoon to the online tutorial modified package name, modified several times failed, and finally in their efforts to modify, or success, this is ios8.4,xcod6.4 modified package name method as follows:

2. First look at the final effect is as follows: UDP client-->udpclient: Slice

3. The first step is to select the product name, select the project name, and press ENTER:

4. Edit Modify Porduct name-===>udpclient:

5. Click Rename======>enable,

6. Click:

Name to: UdpClient's name on it!! Then click close!

7. Click on the project name: the location of the UDP client in the file::

------>

After selecting the path in which it was modified, I select the file.

8. In the. m file that starts the modification

Change the UDP client to UdpClient, it's OK!

9. Then modify the

In the original folder will be the UDP client tests to UdpClient, and then the corresponding changes will be able to:

. After selecting the modified file path:

Click on the Choose to be!!!!

10. The corresponding UDP client in UdpClient. m modified to UDPCLIENT.M then select the path, and the above operation is the same, there are corresponding info.plist is the same step, find the right path there is no problem! It's almost halfway through here!

11. At the end of the day, we can take the last step to modify the corresponding package name and. The path to the Info.plist is available if: Build Setting-->packing---

To change the UDP client to UdpClient, there is one more step:

Change the corresponding UDP client tests to udpclienttests.

13. Finally the project can be cleared, then you can run up AH!!!!

Modified package name in iOS

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.