fix(ChannelConfig.plist):注释去掉 -- 双连字符避免 XML parse 错误
XML 注释规范禁止 -- 出现在注释内,原注释包含的 codesign 命令示例 (--force / --sign / --entitlements)触发解析错误,Xcode 直接打开 plist 报 "XML Parse Error: Comment must not contain '--'"。 把详细命令示例移除,只保留单行简短指引,命令示例已在 Design §7.0.3 写过,不在 plist 重复。
This commit is contained in:
@@ -2,24 +2,7 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<!--
|
||||
渠道注入配置(母包默认值,沿用 msext 现网)
|
||||
|
||||
设计模式:母包 + IPA 后处理
|
||||
详见 docs/H5-Native-Implementation-Design.md §7
|
||||
docs/H5-Native-Contract.md §0.3
|
||||
docs/Development-Plan.md ADR-007
|
||||
|
||||
渠道分发不重新 Xcode build,按以下脚本修改本 plist + 重签 + 重打包:
|
||||
plutil -replace channel -string "<新渠道 ID>" ChannelConfig.plist
|
||||
plutil -replace market -string "<新市场 ID>" ChannelConfig.plist
|
||||
codesign --force --sign "$IDENTITY" --entitlements "$ENT" <app>.app
|
||||
zip -r <channel>.ipa Payload/
|
||||
|
||||
契约:11 个 key 名严格固定,与 msext 的 11 个目录名一一对应(H5 通过
|
||||
app_data.js 间接读,看不到存储介质差异)。
|
||||
-->
|
||||
|
||||
<!-- 渠道注入配置母包默认值(沿用 msext 现网)。详见 docs/H5-Native-Implementation-Design.md §7 / Development-Plan.md ADR-007。多渠道分发由 IPA 后处理脚本用 plutil 改本 plist + 重签实现,不重新 Xcode build。 -->
|
||||
<key>qiniudomain</key>
|
||||
<string>iosaudio.daoqi88.cn</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user