何天师
何天师
  • 发布:2016-01-22 13:11
  • 更新:2016-01-22 13:16
  • 阅读:1990

修改了appid后重新打包,安卓的不会报错,IOS不能打包成功,下面是打包失败明细

分类:HBuilder

编译源文件拷贝开始

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/source/Pandora /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49

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

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/* 安装包制作目录Pandora/Pandora/apps/futailong.taitaikg/www

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

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

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-normal.png 安装包制作目录57.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-retina.png 安装包制作目录114.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-retina7.png 安装包制作目录120.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-spotlight-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-spotlight-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-spotlight-retina7.png 安装包制作目录80.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-settings-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-settings-retina.png 安装包制作目录58.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-retina8.png 安装包制作目录180.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-iphone-settings-retina8.png 安装包制作目录87.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-normal.png 安装包制作目录72.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-retina.png 安装包制作目录144.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-normal7.png 安装包制作目录76.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-retina7.png 安装包制作目录152.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-spotlight-normal.png 安装包制作目录50.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-spotlight-retina.png 安装包制作目录100.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-spotlight-normal7.png 安装包制作目录40.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-spotlight-retina7.png 安装包制作目录80.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/icon-ipad-settings-normal.png 安装包制作目录29.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.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/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/splash-iphone-default.png 安装包制作目录Default.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/splash-iphone-retina35.png 安装包制作目录Default@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/splash-iphone-retina40.png 安装包制作目录Default-568h@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/splash-iphone-retina47.png 安装包制作目录Default-667h@2x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/splash-iphone-retina55.png 安装包制作目录Default-736h@3x.png

cp -R /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.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

openssl smime -in "/srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.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>taitaikg</string>
<key>ApplicationIdentifierPrefix</key>
<array>
<string>S392SJ6M95</string>
</array>
<key>CreationDate</key>
<date>2016-01-02T07:43:24Z</date>
<key>Platform</key>
<array>
<string>iOS</string>
</array>
<key>DeveloperCertificates</key>
<array>
<data>MIIFkzCCBHugAwIBAgIIEurzlDa8fRYwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBd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wIBFh1odHRwOi8vd3d3LmFwcGxlLmNvbS9hcHBsZWNhLzBNBgNVHR8ERjBEMEKgQKA+hjxodHRwOi8vZGV2ZWxvcGVyLmFwcGxlLmNvbS9jZXJ0aWZpY2F0aW9uYXV0aG9yaXR5L3d3ZHJjYS5jcmwwDgYDVR0PAQH/BAQDAgeAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMDMBMGCiqGSIb3Y2QGAQQBAf8EAgUAMA0GCSqGSIb3DQEBBQUAA4IBAQAqKZfwXNotX0DFPuIMDyoTDyFwHoq7e6BFAhfQX/FVoh08Vgj/8BOfivQiC1k4kOmKlO2qLZL0kZ6YmXLYbRpbglwuGvVS/lBAVPGmaKqc7TU7k1AyDnqCOR0b5+hCKcqQJ58CTvulcYY73QBoWC3XOKLjDx2fflKjPZ6L84O6y9Twa3977G9qf/MxrzzoEkrRsxRVv8yR8+O7YmP41q8BVS1Ce/cXd+Zdghe14oGzvDA+7l4ibudj8MyMXdUFme7bNYcUqFr7xUKBJ9Ezas6Gqq2hAcJY0QTrhCxxbBcQ5FO+D/jIUxdNauWqG0SUbvOGS0XvQK6GNCKxdrLd+5la</data>
</array>
<key>Entitlements</key>
<dict>
<key>keychain-access-groups</key>
<array>
<string>S392SJ6M95.*</string>
</array>
<key>get-task-allow</key>
<false/>
<key>application-identifier</key>
<string>S392SJ6M95.com.taitaikg.app</string>
<key>com.apple.security.application-groups</key>
<array>
</array>
<key>com.apple.developer.team-identifier</key>
<string>S392SJ6M95</string>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.in-app-payments</key>
<array>
</array>
<key>beta-reports-active</key>
<true/>

</dict>  
<key>ExpirationDate</key>  
<date>2017-01-01T07:27:13Z</date>  
<key>Name</key>  
<string>taitaikg</string>  
<key>TeamIdentifier</key>  
<array>  
    <string>S392SJ6M95</string>  
</array>  
<key>TeamName</key>  
<string>jun tang</string>  
<key>TimeToLive</key>  
<integer>364</integer>  
<key>UUID</key>  
<string>f8120c6c-941c-443c-b1a0-55c1d02024d4</string>  
<key>Version</key>  
<integer>1</integer>  

</dict>
</plist>
Verification successful

iPad/iPhone终端选择完成

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

替换版本号完成

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

替换CFBundleVersion版本号完成

/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName 泰泰快购" 安装包制作目录Pandora/Pandora-Info.plist

替换快捷方式完成

/usr/libexec/PlistBuddy -c "Add :UIReserveStatusbarOffset bool false" 安装包制作目录Pandora/Pandora-Info.plist

替换UIReserveStatusbarOffset完成
开发版设置完成
Command permissions Complete
开始处理行货包

/usr/bin/mobileprovisionParser -f "/srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/apple-mobileprovision.mobileprovision" -o uuid
f8120c6c-941c-443c-b1a0-55c1d02024d4

获取UUID f8120c6c-941c-443c-b1a0-55c1d02024d4

/usr/bin/security import /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/apple-private.p12 -k /Users/seaman/Library/Keychains/login.keychain -P taitaikg -T /usr/bin/codesign
1 identity imported.

p12证书安装完成

openssl pkcs12 -in /srv/bdserver.dcloud.net.cn/package/IOS/queue/2d7a9501-a42c-4e7c-eb1a-56a1b5d98f49/futailong.taitaikg/.manifest/apple-private.p12 -passin pass:taitaikg -nodes
Bag Attributes
friendlyName: iPhone Distribution: jun tang (S392SJ6M95)
localKeyID: 48 9A AA A6 C5 CD 41 CC 1D F8 07 53 84 29 BD 7B 11 B5 05 AF
subject=/UID=S392SJ6M95/CN=iPhone Distribution: jun tang (S392SJ6M95)/OU=S392SJ6M95/O=jun tang/C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/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MIIBAjCB/wYJKoZIhvdj
ZAUBMIHxMIHDBggrBgEFBQcCAjCBtgyBs1JlbGlhbmNlIG9uIHRoaXMgY2VydGlm
aWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMgYWNjZXB0YW5jZSBvZiB0aGUgdGhl
biBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mIHVz
ZSwgY2VydGlmaWNhdGUgcG9saWN5IGFuZCBjZXJ0aWZpY2F0aW9uIHByYWN0aWNl
IHN0YXRlbWVudHMuMCkGCCsGAQUFBwIBFh1odHRwOi8vd3d3LmFwcGxlLmNvbS9h
cHBsZWNhLzBNBgNVHR8ERjBEMEKgQKA+hjxodHRwOi8vZGV2ZWxvcGVyLmFwcGxl
LmNvbS9jZXJ0aWZpY2F0aW9uYXV0aG9yaXR5L3d3ZHJjYS5jcmwwDgYDVR0PAQH/
BAQDAgeAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMDMBMGCiqGSIb3Y2QGAQQBAf8E
AgUAMA0GCSqGSIb3DQEBBQUAA4IBAQAqKZfwXNotX0DFPuIMDyoTDyFwHoq7e6BF
AhfQX/FVoh08Vgj/8BOfivQiC1k4kOmKlO2qLZL0kZ6YmXLYbRpbglwuGvVS/lBA
VPGmaKqc7TU7k1AyDnqCOR0b5+hCKcqQJ58CTvulcYY73QBoWC3XOKLjDx2fflKj
PZ6L84O6y9Twa3977G9qf/MxrzzoEkrRsxRVv8yR8+O7YmP41q8BVS1Ce/cXd+Zd
ghe14oGzvDA+7l4ibudj8MyMXdUFme7bNYcUqFr7xUKBJ9Ezas6Gqq2hAcJY0QTr
hCxxbBcQ5FO+D/jIUxdNauWqG0SUbvOGS0XvQK6GNCKxdrLd+5la
-----END CERTIFICATE-----
Bag Attributes
friendlyName:

2016-01-22 13:11 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

常见打包错误请参考:ask.dcloud.net.cn/docs/#http://ask.dcloud.net.cn/article/111
Check dependencies
Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“taitaikg”) has an AppID of “com.taitaikg.app” which does not match your bundle identifier “futailong.taitaikg”.

  • 何天师 (作者)

    恩.知道了.那我新加个bundle id

    2016-01-22 13:21

  • 何天师 (作者)

    麻烦你了,谢谢!!!

    2016-01-22 13:23

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