jacks
jacks
  • 发布:2015-05-12 14:36
  • 更新:2015-09-09 14:22
  • 阅读:2716

hbuilder ios 打包出问题了

分类:HBuilder

编译源文件拷贝开始

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/source/Pandora /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876

编译源文件拷贝Complete
处理资源文件包开始

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/* 安装包制作目录Pandora/Pandora/apps/H56F1D17C/www

rm -rf 安装包制作目录Pandora/Pandora/apps/H56F1D17C/www/H56F1D17C/www/.menifest

处理资源文件包结束
终端选择 判断开始

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/icon-iphone-normal.png 安装包制作目录57.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/icon-ipad-normal.png 安装包制作目录72.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/icon-ipad-retina.png 安装包制作目录144.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-iphone-default.png 安装包制作目录Default.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-iphone-retina35.png 安装包制作目录Default@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-iphone-retina40.png 安装包制作目录Default-568h@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-iphone-retina47.png 安装包制作目录Default-667h@2x.png

/usr/libexec/PlistBuddy -c "Delete :CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon" 安装包制作目录Pandora/Pandora-Info.plist

Delete: Entry, ":CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon", Does Not Exist

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/icon-ipad-normal.png 安装包制作目录72.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/icon-ipad-retina.png 安装包制作目录144.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-ipad-portrait.png 安装包制作目录Default-Portrait~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-ipad-portrait_retina.png 安装包制作目录Default-Portrait@2x~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-ipad-landscape.png 安装包制作目录Default-Landscape~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/splash-ipad-landscape_retina.png 安装包制作目录Default-Landscape@2x~ipad.png

/usr/libexec/PlistBuddy -c "Delete :CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon" 安装包制作目录Pandora/Pandora-Info.plist

Delete: Entry, ":CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon", Does Not Exist

iPad/iPhone终端选择完成

/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString 1.0.0" 安装包制作目录Pandora/Pandora-Info.plist

替换版本号完成

/usr/libexec/PlistBuddy -c "Set :CFBundleVersion 83" 安装包制作目录Pandora/Pandora-Info.plist

替换CFBundleVersion版本号完成

/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName 爱自驾" 安装包制作目录Pandora/Pandora-Info.plist

替换快捷方式完成
开发版设置完成
Command permissions Complete
开始处理行货包

/usr/bin/mobileprovisionParser -f "/srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/apple-mobileprovision.mobileprovision" -o uuid
2f1e4527-5b5b-4e4b-8ed6-d6e25102dace

获取UUID 2f1e4527-5b5b-4e4b-8ed6-d6e25102dace

/usr/bin/security import /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/apple-private.p12 -k /Users/seaman/Library/Keychains/login.keychain -P 123123 -T /usr/bin/codesign

p12证书安装完成

openssl pkcs12 -in /srv/bdserver.dcloud.net.cn/package/IOS/queue/58deea13-fbec-5624-cd24-55519db66876/H56F1D17C/.manifest/apple-private.p12 -passin pass:123123 -nodes
Bag Attributes
friendlyName: ios-cer
localKeyID: 86 52 30 E8 A7 70 E5 9C 3E 03 36 95 89 C6 F5 7B 60 58 E4 3C
Key Attributes: <No Attributes>
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAxxCTmzkYt8nGWgkL4RyRG05b7qmmeTsLepz6mt/MG QRKTJp
HLewHs0b4bH40G2An5K rbolbgkXiojNLooDRQbKUVLUaIqIopg8ETrm7jH7DcnL
1xf8LCor4KihwYHXsC39rU5X3QbaKxhEqRoDrQFQlpAuy3lcifmZo/RoZaA6X98W
9MmVRAwSDUb6QbFHXiMeLKzUFD77rWHaCZaa8efVvWu/uN4xqFpZBJMrDXbWcEoa
Hc1VhFigoFIWSGS/RzBzg5hjY mqWyFEfSsJFsArkos5vl tUkwknaoDCkGRje6r
tePWanGBwe4zt27e/ mcG5QEWhB C8Orj KIgwIDAQABAoIBACXLfOr8xTen5LQV
gZ7lCJvxnbzLkyLzVfOauG4NTbiB7cwvmQttyM gS8nnO4F/OOuTNgbQD k7aq/P
130dkQ9bAb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1595HVCtSI55m9GvoTuc
EK3OVPCArgiwGKSy3clgDD8ulEBxW3DIwycnDvlfQyzQpjlk9 gmNg==
-----END RSA PRIVATE KEY-----

MAC verified OK

2015-05-12 14:36 分享
已邀请:
jacks

jacks (作者)

请求管理员回答

Shield_Wu

Shield_Wu

坐等。我刚打包也没成功。

旭日

旭日

请问解决了吗? 我也是这个问题!!!

要回复问题请先登录注册