技术开发
技术开发
  • 发布:2015-07-03 18:39
  • 更新:2015-07-03 18:39
  • 阅读:1518

大家帮我看,ios 打包失败,到底出了什么问题,看不到原因

分类:5+ SDK

编译源文件拷贝开始

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/source/Pandora /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856

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

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/* 安装包制作目录Pandora/Pandora/apps/H510D8A32/www

rm -rf 安装包制作目录Pandora/Pandora/apps/H510D8A32/www/.manifest

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

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-normal.png 安装包制作目录57.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-retina.png 安装包制作目录114.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-retina7.png 安装包制作目录120.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-spotlight-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-spotlight-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-spotlight-retina7.png 安装包制作目录80.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-settings-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-settings-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-retina8.png 安装包制作目录180.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-iphone-settings-retina8.png 安装包制作目录87.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-normal.png 安装包制作目录72.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-retina.png 安装包制作目录144.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-normal7.png 安装包制作目录76.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-retina7.png 安装包制作目录152.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-normal.png 安装包制作目录50.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-retina.png 安装包制作目录100.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-normal7.png 安装包制作目录40.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-retina7.png 安装包制作目录80.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-settings-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-settings-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-default.png 安装包制作目录Default.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-retina35.png 安装包制作目录Default@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-retina40.png 安装包制作目录Default-568h@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-retina47.png 安装包制作目录Default-667h@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-retina55.png 安装包制作目录Default-736h@3x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-iphone-retina55l.png 安装包制作目录Default-Landscape-736h@3x.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/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-normal.png 安装包制作目录72.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-retina.png 安装包制作目录144.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-normal7.png 安装包制作目录76.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-retina7.png 安装包制作目录152.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-normal.png 安装包制作目录50.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-retina.png 安装包制作目录100.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-normal7.png 安装包制作目录40.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-spotlight-retina7.png 安装包制作目录80.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-settings-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/icon-ipad-settings-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-ipad-portrait.png 安装包制作目录Default-Portrait~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-ipad-portrait_retina.png 安装包制作目录Default-Portrait@2x~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-ipad-landscape.png 安装包制作目录Default-Landscape~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-ipad-landscape_retina.png 安装包制作目录Default-Landscape@2x~ipad.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/splash-ipad-portrait7.png 安装包制作目录Default-Portrait7~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.13" 安装包制作目录Pandora/Pandora-Info.plist

替换版本号完成

/usr/libexec/PlistBuddy -c "Set :CFBundleVersion 5" 安装包制作目录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/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/apple-mobileprovision.mobileprovision" -o uuid
96bf3398-7a30-471b-bf8c-730737ddfc4a

获取UUID 96bf3398-7a30-471b-bf8c-730737ddfc4a

/usr/bin/security import /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/apple-private.p12 -k /Users/seaman/Library/Keychains/login.keychain -P joomu.net -T /usr/bin/codesign
1 identity imported.

p12证书安装完成

openssl pkcs12 -in /srv/bdserver.dcloud.net.cn/package/IOS/queue/79c23f11-a2f0-a4b6-5f2c-559665273856/H510D8A32/.manifest/apple-private.p12 -passin pass:joomu.net -nodes
Bag Attributes
friendlyName: iPhone Developer: Tao Tang (Y25L2DYWXP)
localKeyID: 24 28 16 40 A9 82 9B 7B BC CA A4 8A 71 A7 47 77 A4 FA 4E 5E
subject=/UID=8YT97TTRLJ/CN=iPhone Developer: Tao Tang (Y25L2DYWXP)/OU=2C8T5YX2ED/O=Changsha Luwu Internet Technology Co., Ltd./C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
MIIFszCCBJugAwIBAgIIXW8RlSmhJtkwDQYJKoZIhvcNAQELBQAwgZYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
HhcNMTUwNzAyMDk1MzAzWhcNMTYwNzAxMDk1MzAzWjCBpjEaMBgGCgmSJomT8ixk
AQEMCjhZVDk3VFRSTEoxMDAuBgNVBAMMJ2lQaG9uZSBEZXZlbG9wZXI6IFRhbyBU
YW5nIChZMjVMMkRZV1hQKTETMBEGA1UECwwKMkM4VDVZWDJFRDE0MDIGA1UECgwr
Q2hhbmdzaGEgTHV3dSBJbnRlcm5ldCBUZWNobm9sb2d5IENvLiwgTHRkLjELMAkG
A1UEBhMCVVMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB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NAQEL
BQADggEBACVpeD8ILQ7rKee5e8+OrRckVZBK4R4q901vp2Y41DDK+PS90nsDqawT
+NuJD1z1NnKHKdCyu5ehI+/mo9HYuHME/DafnIswzhCQOLgiwCdqA1YjC11TA4po
Pmpizbu1CcfTe8weSlXQcJdUDjgldRPzYzcOxp1QUE6iInaD4RLPFD8MUwz807Un
+RgV8YGyAZ+g8HSq8RvLWaXyAkMH6EG9FS9x/BZO90iPCVqNd0QRj55K8KyeGEY2
X9BuHa+fYJ/UW7GifcO4ujaXqURyD0kOydnyi2HA+g3TaMu6GyPV5YdGGYn+Ozis
TOwORpJnURYhcyNdHKd3OMdDHPXFliU=
-----END CERTIFICATE-----
Bag Attributes
friendlyName: 

2015-07-03 18:39 1 条评论 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复