Source:
In batch production of analyst apps, the basic functions of this app are the same, but the application names, icons, and identities of different analysts are different (this unique identity is required to request data ).
Solution:
The analyst's unique identity is represented by a macro (# define id @ "8952. Before packaging ipa, read a configuration file. The path of the configuration file is path = ~ /Desktop/test.txt. For the file content, see.
The branch reads the file, and each line uses the space "" as the delimiter to get an array, replacing the value corresponding to the id with the first element in the array, the second element replaces the value corresponding to "Bundle display name" in the plist file.
<Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + yrW8ysnPIHBsaXN0zsS8/fingerprint + U291cmNlIENvZGWjqXhtbCDOxLG + fingerprint = "http://www.2cto.com/uploadfile/Collfiles/20140304/20140304081348347.jpg" alt = "\">
The shell script content is as follows:
Enter sh/Users/admin/Desktop/writeValue. sh on the terminal and press Enter. The corresponding content has been modified.
The problem is not over:
Cat: path = ~ /Desktop/test.txt: No such file or directory
Study will be conducted tomorrow.