iOS 云端打包,希望管理员能给看下这个是那块错了,日志如下:
编译源文件拷贝开始
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/source/Pandora /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452
编译源文件拷贝Complete
处理资源文件包开始
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/* 安装包制作目录Pandora/Pandora/apps/H55C2B3F8/www
rm -rf 安装包制作目录Pandora/Pandora/apps/H55C2B3F8/www/.manifest
处理资源文件包结束
终端选择 判断开始
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-normal.png 安装包制作目录57.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-retina.png 安装包制作目录114.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-retina7.png 安装包制作目录120.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-spotlight-normal.png 安装包制作目录29.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-spotlight-retina.png 安装包制作目录58.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-spotlight-retina7.png 安装包制作目录80.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-settings-normal.png 安装包制作目录29.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-settings-retina.png 安装包制作目录58.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-retina8.png 安装包制作目录180.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-iphone-settings-retina8.png 安装包制作目录87.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-normal.png 安装包制作目录72.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-retina.png 安装包制作目录144.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-normal7.png 安装包制作目录76.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-retina7.png 安装包制作目录152.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-spotlight-normal.png 安装包制作目录50.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-spotlight-retina.png 安装包制作目录100.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-spotlight-normal7.png 安装包制作目录40.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-spotlight-retina7.png 安装包制作目录80.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-ipad-settings-normal.png 安装包制作目录29.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/icon-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 /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/splash-iphone-default.png 安装包制作目录Default.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/splash-iphone-retina35.png 安装包制作目录Default@2x.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/splash-iphone-retina40.png 安装包制作目录Default-568h@2x.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/splash-iphone-retina47.png 安装包制作目录Default-667h@2x.png
cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/splash-iphone-retina55.png 安装包制作目录Default-736h@3x.png
/usr/libexec/PlistBuddy -c "Delete :CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon" 安装包制作目录Pandora/Pandora-Info.plist
Delete: Entry, ":CFBundleIcons:CFBundlePrimaryIcon:UIPrerenderedIcon", Does Not Exist
openssl smime -in "/srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/apple-mobileprovision.mobileprovision" -inform der -verify
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppIDName</key>
<string>ZSLC</string>
<key>ApplicationIdentifierPrefix</key>
<array>
<string>PR6H2W64FK</string>
</array>
<key>CreationDate</key>
<date>2015-11-12T01:57:16Z</date>
<key>Platform</key>
<array>
<string>iOS</string>
</array>
<key>DeveloperCertificates</key>
<array>
<data>MIIFizCCBHOgAwIBAgIIYoeA79bYZE4wDQYJKoZIhvcNAQELBQAwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTUxMDMwMDg0NTU3WhcNMTYxMDI5MDg0NTU3WjB/MRowGAYKCZImiZPyLGQBAQwKOUw3OFNEQ1IySDEuMCwGA1UEAwwlaVBob25lIERldmVsb3BlcjogWGluIExpIChENjNOTE1OWTRLKTETMBEGA1UECwwKUFI2SDJXNjRGSzEPMA0GA1UECgwGWGluIExpMQswCQYDVQQGEwJVUzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN2yW2dNqgbxo1cO58w/REP1/7jqkHMYPux69Bpzo0J2IXk5cXCYvhw7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G5wDRySF0PITiWBGoMWcgRMxz/M2qk0f5lUIB0/v67flysYcQW/ZZvmF29V+oS1urOSpeZlV3BPcWYLmeM5Zrhca2/Rupc7dwPJkSrTkfXwFfOPbD/0jA+Pkj/Puk7wT/d4/GVWh9gnTwNgeM9hxLEEg9qKqXb2+S+1EMZGQyIvrcm/3z5l/ESsvW22BvjlzDCBSalEtDQdaih08i94412mi1Q8qDg9tUMfL+jQoEkNn2CFCiqRew5Hc7hLilFxcWOgjg==</data>
</array>
<key>Entitlements</key>
<dict>
<key>keychain-access-groups</key>
<array>
<string>PR6H2W64FK.*</string>
</array>
<key>get-task-allow</key>
<true/>
<key>application-identifier</key>
<string>PR6H2W64FK.com.longcai.PUSHZSLC</string>
<key>com.apple.developer.team-identifier</key>
<string>PR6H2W64FK</string>
<key>aps-environment</key>
<string>development</string>
</dict>
<key>ExpirationDate</key>
<date>2016-11-11T01:57:16Z</date>
<key>Name</key>
<string>zslc_Dev_99.mobileprovision</string>
<key>ProvisionedDevices</key>
<array>
<string>8136ba1e87cfbef9462a5fd384d22095ac4b0ca1</string>
<string>dc6786d9ac829a20cb79590e9d7a202ec4cc5b09</string>
<string>53b78c792d9d0e8bd9955d8a929091ef75f2a8aa</string>
</array>
<key>TeamIdentifier</key>
<array>
<string>PR6H2W64FK</string>
</array>
<key>TeamName</key>
<string>Xin Li</string>
<key>TimeToLive</key>
<integer>365</integer>
<key>UUID</key>
<string>b8fa1f9c-062c-4c1a-a730-f022b2c0b5b5</string>
<key>Version</key>
<integer>1</integer>
</dict>
</plist>
Verification successful
iPad/iPhone终端选择完成
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString 1.0" 安装包制作目录Pandora/Pandora-Info.plist
替换版本号完成
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion 47" 安装包制作目录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/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/apple-mobileprovision.mobileprovision" -o uuid
b8fa1f9c-062c-4c1a-a730-f022b2c0b5b5
获取UUID b8fa1f9c-062c-4c1a-a730-f022b2c0b5b5
/usr/bin/security import /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/apple-private.p12 -k /Users/seaman/Library/Keychains/login.keychain -P zslc123 -T /usr/bin/codesign
1 identity imported.
p12证书安装完成
openssl pkcs12 -in /srv/bdserver.dcloud.net.cn/package/IOS/queue/556c9415-6d6f-9ed2-6a51-5643fbd9b452/H55C2B3F8/.manifest/apple-private.p12 -passin pass:zslc123 -nodes
Bag Attributes
friendlyName:
localKeyID:
subject=/UID=com.longcai.PUSHZSLC/CN=Apple Development IOS Push Services: com.longcai.PUSHZSLC/OU=PR6H2W64FK/C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Bag Attributes
friendlyName:
2 个回复
洛阳城
同问?
BoredApe - 有问题就会有答案。
配置的证书(.p12)与profile(.mobileprovision)文件不区配