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