帖子
帖子
用户
博客
课程
显示全部楼层

[问题求助] 编辑info.plist的方式

[复制链接]
发表于 2024-2-27 10:27:06 来自手机
请问下,在windows环境下,打包ios ipk后,想编辑info.plist新增应用商店审核要求的内容,当前是把ipk后缀名改成zip,然后找里面payload文件夹的info.plist,用plisteditor打开(记事本打开有乱码),编辑后保存重新打包payload为zip,然后改为ipk后缀后上传app store。报以下错误,应该是丢了签名。改如何编改文件?


ITMS-90035: Invalid Signature - Invalid Info.plist (plist or signature have been modified). The file at path “UZApp.app/UZApp” is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/support/code-signing.
130
帖子
7
勋章
2万+
Y币
  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>PHPhotoLibraryPreventAutomaticLimitedAccessAlert</key>
  6.         <true/>
  7.    
  8. </dict>
  9. </plist>
复制代码



res\Info.plist
  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>NSAppTransportSecurity</key>
  6.         <dict>
  7.                 <key>NSAllowsArbitraryLoads</key>
  8.                 <true/>
  9.         </dict>
  10. </dict>
  11. </plist>
复制代码


按版主方式已解决,谢谢
130
帖子
7
勋章
2万+
Y币
瘦鱼全民讲座 · 2024-2-27 21:43按版主方式已解决,谢谢

您需要登录后才可以回帖 登录

本版积分规则