aaron72
aaron72
  • 发布:2015-09-16 13:51
  • 更新:2015-09-17 06:44
  • 阅读:1625

云打包ios失败

分类:HBuilder

编译源文件拷贝开始

cp -R srvbdserver.dcloud.net.cnpackageIOSsourcePandora srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528

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

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp 安装包制作目录PandoraPandoraappscom.smtsoft.xsgjAppwww

rm -rf 安装包制作目录PandoraPandoraappscom.smtsoft.xsgjAppwww.manifest

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

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-normal.png 安装包制作目录57.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-retina.png 安装包制作目录114.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-retina7.png 安装包制作目录120.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-spotlight-normal.png 安装包制作目录29.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-spotlight-retina.png 安装包制作目录58.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-spotlight-retina7.png 安装包制作目录80.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-settings-normal.png 安装包制作目录29.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-settings-retina.png 安装包制作目录58.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-retina8.png 安装包制作目录180.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-iphone-settings-retina8.png 安装包制作目录87.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-normal.png 安装包制作目录72.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-retina.png 安装包制作目录144.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-normal7.png 安装包制作目录76.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-retina7.png 安装包制作目录152.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-spotlight-normal.png 安装包制作目录50.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-spotlight-retina.png 安装包制作目录100.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-spotlight-normal7.png 安装包制作目录40.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-spotlight-retina7.png 安装包制作目录80.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-settings-normal.png 安装包制作目录29.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifesticon-ipad-settings-retina.png 安装包制作目录58.png

rm -rf 安装包制作目录Default-Portrait~ipad.png

rm -rf 安装包制作目录Default-Portrait@2x~ipad.png

rm -rf 安装包制作目录Default-Landscape~ipad.png

rm -rf 安装包制作目录Default-Landscape@2x~ipad.png

rm -rf 安装包制作目录Default-Portrait7~ipad.png

rm -rf 安装包制作目录Default-Portrait7@2x~ipad.png

rm -rf 安装包制作目录Default-Landscape7~ipad.png

rm -rf 安装包制作目录Default-Landscape7@2x~ipad.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestsplash-iphone-default.png 安装包制作目录Default.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestsplash-iphone-retina35.png 安装包制作目录Default@2x.png

cp -R srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestsplash-iphone-retina40.png 安装包制作目录Default-568h@2x.png

usrlibexecPlistBuddy -c Delete CFBundleIconsCFBundlePrimaryIconUIPrerenderedIcon 安装包制作目录PandoraPandora-Info.plist

Delete Entry, CFBundleIconsCFBundlePrimaryIconUIPrerenderedIcon, Does Not Exist

openssl smime -in srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestapple-mobileprovision.mobileprovision -inform der -verify
xml version=1.0 encoding=UTF-8
!DOCTYPE plist PUBLIC -AppleDTD PLIST 1.0EN httpwww.apple.comDTDsPropertyList-1.0.dtd
plist version=1.0
dict
keyAppIDNamekey
stringxsgjAppstring
keyApplicationIdentifierPrefixkey
array
stringVG34TB23P3string
array
keyCreationDatekey
date2015-09-16T052027Zdate
keyPlatformkey
array
stringiOSstring
array
keyDeveloperCertificateskey
array
dataMIIFhDCCBGygAwIBAgIIYAMxjdp7ojMwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTIxMjIzMTExMTUwWhcNMTUxMjIzMTExMTUwWjCBhzEaMBgGCgmSJomT8ixkAQEMClZHMzRUQjIzUDMxLTArBgNVBAMMJGlQaG9uZSBEaXN0cmlidXRpb246IExBTkNZIENPLiwgTFRELjETMBEGA1UECwwKVkczNFRCMjNQMzEYMBYGA1UECgwPTEFOQ1kgQ08uLCBMVEQuMQswCQYDVQQGEwJDTjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMooowteIfGdgrEpZdOL7fl5lF2Kc0os+lJ+7W6h5ymb1KK7+oN1IRZQkzpsqQwpwfvNgbfxxl0Jes1x+iR+mvvKvpI8XNxpYI68OXtbIwMOmJKxALrQYCiTRRhLj6heKdBsEF8HoRilzuHq9kEbEFDsNZVKs3G0FUR15sdak2+A9Yr634EETeoA6YVEtgdI6Jbsv6igFF8Wc0iJV+8Qv4xlBvckHBVhjSpQ5FZuzdPQaSMbplli3jzmVtUUdT1fAMw7XadYnKktuOJdiTt+LK4qPDxuMpsovANSuu4N3EtbsEFe6LOephD3rQsCT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access-groupskey
array
stringVG34TB23P3.string
array
keyget-task-allowkey
false
keyapplication-identifierkey
stringVG34TB23P3.com.smtsoft.xsgjAppstring
keycom.apple.developer.team-identifierkey
stringVG34TB23P3string
keyaps-environmentkey
stringproductionstring

dict  
keyExpirationDatekey  
date2015-12-23T111150Zdate  
keyNamekey  
stringxsgjAppstring  
keyProvisionsAllDeviceskey  
true  
keyTeamIdentifierkey  
array  
    stringVG34TB23P3string  
array  
keyTeamNamekey  
stringLANCY CO., LTD.string  
keyTimeToLivekey  
integer98integer  
keyUUIDkey  
string476c28bf-86d7-4e10-897c-f5159f0882bbstring  
keyVersionkey  
integer1integer  

dict
plist
Verification successful

iPadiPhone终端选择完成

usrlibexecPlistBuddy -c Set CFBundleShortVersionString 0.0.2 安装包制作目录PandoraPandora-Info.plist

替换版本号完成

usrlibexecPlistBuddy -c Set CFBundleVersion 83 安装包制作目录PandoraPandora-Info.plist

替换CFBundleVersion版本号完成

usrlibexecPlistBuddy -c Set CFBundleDisplayName xsgj 安装包制作目录PandoraPandora-Info.plist

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

usrbinmobileprovisionParser -f srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestapple-mobileprovision.mobileprovision -o uuid
476c28bf-86d7-4e10-897c-f5159f0882bb

获取UUID 476c28bf-86d7-4e10-897c-f5159f0882bb

usrbinsecurity import srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestapple-private.p12 -k UsersseamanLibraryKeychainslogin.keychain -P LancyGroup321 -T usrbincodesign
1 identity imported.

p12证书安装完成

openssl pkcs12 -in srvbdserver.dcloud.net.cnpackageIOSqueue6b3ab93d-ea83-47b0-cd5a-55f902645528com.smtsoft.xsgjApp.manifestapple-private.p12 -passin passLancyGroup321 -nodes
Bag Attributes
friendlyName Apple Production IOS Push Services com.smtsoft.xsgjApp
localKeyID F3 E9 E8 ED FD 37 71 62 44 0A 17 95 E6 84 EB 1B 6C 56 1C 52
subject=UID=com.smtsoft.xsgjAppCN=Apple Production IOS Push Services com.smtsoft.xsgjAppOU=VG34TB23P3C=US
issuer=C=USO=Apple Inc.OU=Apple Worldwide Developer RelationsCN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
MIIFijCCBHKgAwIBAgIIXTsV29Ppm3kwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
HhcNMTUwOTE2MDUwOTI3WhcNMTYwOTE1MDUwOTI3WjCBiTEjMCEGCgmSJomT8ixk
AQEME2NvbS5zbXRzb2Z0LnhzZ2pBcHAxQDA+BgNVBAMMN0FwcGxlIFByb2R1Y3Rp
b24gSU9TIFB1c2ggU2VydmljZXM6IGNvbS5zbXRzb2Z0LnhzZ2pBcHAxEzARBgNV
BAsMClZHMzRUQjIzUDMxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEA7XLksDglywC0Xj8v23SHlwdWahoR2JnWB1Bpkug4wvEuQvf9
5q2z7aCYZW+6ET3g7S6JSzNRRrPho1WYPswQ4Y9y2RxA9DhApi34cFXDVWy9JN
GLKfF7xPQxAF186ocbuWgi4uCaelrrLHT2leX68+e9QkLUHQoGi5kKb2MnvDEb
0sWKxCnv2glzezFlIE6+2zv5zkwEBHh3Knp0ZFge+gO59FINH4jmQ2FP7PcIwo
qU4qJ+xkTl7nzzZg50gQGSenXqfevYYyEnPYNpd8njKrMW8KvI9gDxD2KBBadtC1
wCf0aN0MB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CERTIFICATE-----
Bag Attributes
friendlyName H

2015-09-16 13:51 负责人:无 分享
已邀请:
aaron72

aaron72 (作者)

pc上能够导入p12证书

疯狂的二进制

疯狂的二进制

一般ios打包失败,九成九的都是P12证书、描述文件、私钥密码不对

aaron72

aaron72 (作者)

是的,解决了

  • beyond88

    请问一下你打包失败是什么原因

    我的是正在制作安装包

    -----END CERTIFICATE-----

    Bag Attributes

    friendlyName

    这步就错了

    2015-10-07 11:42

  • beyond88

    应该是p12证书这个有问题,但是我是按照正常的流程来生成,但是怎么样测试p12证书是否正确

    2015-10-07 11:43

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