通过修改ipa文件包修改文件名的方法

用pledit.exe打开Info.plist文件,在最下方加入这两行语句

[plain] view plain copy
  1. <key>UIRoleDisplayName</key>   
  2. <string>修改的名字</string>  

我的整个文件是这样的

[plain] view plain copy
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
  3. <plist version="1.0">  
  4. <dict>  
  5.     <key>CFBundleDevelopmentRegion</key>  
  6.     <string>English</string>  
  7.     <key>CFBundleDisplayName</key>  
  8.     <string>HSPA+</string>  
  9.     <key>CFBundleExecutable</key>  
  10.     <string>HSPA+</string>  
  11.     <key>CFBundleIconFile</key>  
  12.     <string>logo.png</string>  
  13.     <key>CFBundleIdentifier</key>  
  14.     <string>com.yourcompany.HSPA-</string>  
  15.     <key>CFBundleInfoDictionaryVersion</key>  
  16.     <string>6.0</string>  
  17.     <key>CFBundleName</key>  
  18.     <string>HSPA+</string>  
  19.     <key>CFBundlePackageType</key>  
  20.     <string>APPL</string>  
  21.     <key>CFBundleResourceSpecification</key>  
  22.     <string>ResourceRules.plist</string>  
  23.     <key>CFBundleSignature</key>  
  24.     <string>????</string>  
  25.     <key>CFBundleSupportedPlatforms</key>  
  26.     <array>  
  27.         <string>iPhoneOS</string>  
  28.     </array>  
  29.     <key>CFBundleVersion</key>  
  30.     <string>1.0</string>  
  31.     <key>DTCompiler</key>  
  32.     <string>4.2</string>  
  33.     <key>DTPlatformBuild</key>  
  34.     <string>8C134</string>  
  35.     <key>DTPlatformName</key>  
  36.     <string>iphoneos</string>  
  37.     <key>DTPlatformVersion</key>  
  38.     <string>4.2 Seed 2</string>  
  39.     <key>DTSDKName</key>  
  40.     <string>iphoneos4.2</string>  
  41.     <key>DTXcode</key>  
  42.     <string>0325</string>  
  43.     <key>DTXcodeBuild</key>  
  44.     <string>10M2423</string>  
  45.     <key>LSRequiresIPhoneOS</key>  
  46.     <true/>  
  47.     <key>MinimumOSVersion</key>  
  48.     <string>4.2</string>  
  49.     <key>NSMainNibFile</key>  
  50.     <string>MainWindow</string>  
  51.     <key>SignerIdentity</key>  
  52.     <string>Apple iPhone OS Application Signing</string>  
  53.     <key>UIApplicationExitsOnSuspend</key>  
  54.     <false/>  
  55.     <key>UIDeviceFamily</key>  
  56.     <array>  
  57.         <integer>1</integer>  
  58.     </array>  
  59.     <key>UIRoleDisplayName</key>  
  60.     <string>修改的名字</string>  
  61. </dict>  
  62. </plist>  

[plain] view plain copy
  1. CFBundleIdentifier的可以修改程序的ID  
展开阅读全文

没有更多推荐了,返回首页