收藏
回答

构建 IPA失败,应该如何解决?

AppID
wx398dfc9ff3481eae

证书应该没有问题,在uniapp测试证书打包成功了,apk也能正常打包,请问如何解决?


[miniapp 09:16:50.709 INFO] cloudBuild.ts:main - cloudbuild start!

[miniapp 09:16:50.717 INFO] cloudBuild.ts:main - argsOptions processing
[miniapp 09:16:50.718 INFO] cloudBuild.ts:main - landun options getProcessArgs
[miniapp 09:16:50.718 INFO] cloudBuild.ts:main - setCosConfig finished
[miniapp 09:16:50.718 INFO] cloudBuild.ts:main - new MaterialManager
[miniapp 09:16:51.492 INFO] material.ts - fetchTaskRes finished
[miniapp 09:16:51.519 INFO] material.ts - gunzip finished
[miniapp 09:16:51.520 INFO] material.ts - wxapkg.unpack finished
[miniapp 09:16:51.530 INFO] material.ts - getMaterial 写入project目录
[miniapp 09:16:51.561 INFO] material.ts - tryGetIOSMiniappJson finished
[miniapp 09:16:51.561 INFO] material.ts - [generateMiniappIOSResources] not using iPad Beta
[miniapp 09:16:51.561 INFO] material.ts - downloadMiniappIOSResources ing ...
[miniapp 09:16:51.562 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/x86.zip
[miniapp 09:16:51.563 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/arm64.zip
[miniapp 09:16:51.563 INFO] material.ts - /generic/wechatdevtools/custom/ios-sdk/1.2.25/WeAppSDK-1.2.25.zip
[miniapp 09:16:55.251 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/arm64.zip downloaded successfully.
[miniapp 09:16:56.199 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/x86.zip downloaded successfully.
[miniapp 09:16:57.380 INFO] material.ts - /Volumes/data/workspace/v2-ipa/1.2.25/WeAppSDK-1.2.25.zip downloaded successfully.
[miniapp 09:16:57.381 INFO] material.ts - Download ios resources successfully
[miniapp 09:16:57.381 INFO] material.ts - [generateMiniappIOSResources] Archive ios resources...
[miniapp 09:17:01.062 INFO] material.ts - this.generateMiniappIOSResources finished
[miniapp 09:17:01.064 INFO] cloudBuild.ts:main - finished materialManagerIns.getProjectMaterial.
[miniapp 09:17:01.091 INFO] material.ts - mvMiniprogrameWxapkg success
[miniapp 09:17:01.092 INFO] cloudBuild.ts:main - finished mvMiniprogrameWxapkg.
[miniapp 09:17:01.092 INFO] cloudBuild.ts:main - 50000000 doing iOS cloud build in landun start
[miniapp 09:17:01.139 INFO] cloudBuild.ts:main - 50000000 doing /Volumes/data/workspace/project/cer/54DRFR5D5L.p12
com.dada.tongzhiba


[miniapp 09:17:01.140 INFO] cloudBuild.ts:main - 50000000 doing /Volumes/data/workspace/cer




[miniapp 09:17:01.145 ERROR] cloudBuild.ts:main - 50000000 fail create-keychain "-p" "123456" "ios-build.keychain"


[miniapp 09:17:01.177 INFO] cloudBuild.ts:main - 50000000 doing create done


[miniapp 09:17:01.182 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCA.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign"


[miniapp 09:17:01.324 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported.


[miniapp 09:17:01.329 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCAG3.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign"


[miniapp 09:17:01.367 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported.


[miniapp 09:17:01.371 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/AppleWWDRCAG4.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign"


[miniapp 09:17:01.414 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported.


[miniapp 09:17:01.418 ERROR] cloudBuild.ts:main - 50000000 fail import "/Volumes/data/workspace/cer/intermediate/DeveloperIDG2CA.cer" "-k" "/Users/bkdevops/Library/Keychains/ios-build.keychain" "-T" "/usr/bin/codesign"


[miniapp 09:17:01.458 INFO] cloudBuild.ts:main - 50000000 doing 1 certificate imported.


[miniapp 09:17:01.459 INFO] cloudBuild.ts:main - 50000000 doing import intermediate cer done


[miniapp 09:17:01.657 INFO] cloudBuild.ts:main - 50000000 doing 1 identity imported.


[miniapp 09:17:01.658 INFO] cloudBuild.ts:main - 50000000 doing import p12 done


[miniapp 09:17:01.662 ERROR] cloudBuild.ts:main - 50000000 fail list-keychains "-s" "/Users/bkdevops/Library/Keychains/ios-build.keychain"


[miniapp 09:17:01.695 INFO] cloudBuild.ts:main - 50000000 doing list-keychain done


[miniapp 09:17:01.698 ERROR] cloudBuild.ts:main - 50000000 fail unlock-keychain "-p" "123456" "/Users/bkdevops/Library/Keychains/ios-build.keychain"


[miniapp 09:17:01.710 INFO] cloudBuild.ts:main - 50000000 doing unlock-keychain done


[miniapp 09:17:01.752 INFO] cloudBuild.ts:main - 50000000 doing set-keychain-settings done


[miniapp 09:17:01.809 INFO] cloudBuild.ts:main - 50000000 doing keychain: "/Users/bkdevops/Library/Keychains/ios-build.keychain-db"
version: 512
class: 0x00000010 
attributes:
    0x00000000 <uint32>=0x00000010 
    0x00000001 <blob>=0x334438373633303100  "3D876301\000"
    0x00000002 <blob>=<NULL>
    0x00000003 <uint32>=0x00000001 
    0x00000004 <uint32>=0x00000000 
    0x00000005 <uint32>=0x00000000 
    0x00000006 <blob>=0x36BEAB4CCB37BD651FDC3E7E77FCF3D5685D5F9B  "6\276\253L\3137\275e\037\334>~w\374\363\325h]_\233"
    0x00000007 <blob>=<NULL>
    0x00000008 <blob>=0x7B38373139316361322D306663392D313164342D383439612D3030303530326235323132327D00  "{87191ca2-0fc9-11d4-849a-000502b52122}\000"
    0x00000009 <uint32>=0x0000002A  "\000\000\000*"
    0x0000000A <uint32>=0x00000800 
    0x0000000B <uint32>=0x00000800 
    0x0000000C <blob>=0x0000000000000000 
    0x0000000D <blob>=0x0000000000000000 
    0x0000000E <uint32>=0x00000001 
    0x0000000F <uint32>=0x00000001 
    0x00000010 <uint32>=0x00000001 
    0x00000011 <uint32>=0x00000000 
    0x00000012 <uint32>=0x00000001 
    0x00000013 <uint32>=0x00000001 
    0x00000014 <uint32>=0x00000001 
    0x00000015 <uint32>=0x00000001 
    0x00000016 <uint32>=0x00000001 
    0x00000017 <uint32>=0x00000001 
    0x00000018 <uint32>=0x00000001 
    0x00000019 <uint32>=0x00000001 
    0x0000001A <uint32>=0x00000001 


[miniapp 09:17:01.810 INFO] cloudBuild.ts:main - 50000000 doing set-key-partition-list done


[miniapp 09:17:01.911 INFO] cloudBuild.ts:main - 50000000 doing 
Policy: X.509 Basic
  Matching identities
  1) 1DEC695E63236A2CFE7239B752FBAEFA0280A5DF "iPhone Distribution: Yichang dada Network Technology Co., Ltd. (WL3HX5R9BE)"
     1 identities found


  Valid identities only
  1) 1DEC695E63236A2CFE7239B752FBAEFA0280A5DF "iPhone Distribution: Yichang dada Network Technology Co., Ltd. (WL3HX5R9BE)"
     1 valid identities found


[miniapp 09:17:01.912 INFO] cloudBuild.ts:main - 50000000 doing finished


[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - read miniapp/ios/i18nInfo.json success
[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - start buildCloudManager.buildCloud is test
[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!!
[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!!
[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!!
[miniapp 09:17:01.915 INFO] cloudBuild.ts:main - isTest!!
[miniapp 09:17:02.244 INFO] cloudBuild.ts:main - 50000000 doing update app base info...
[miniapp 09:17:02.301 INFO] cloudBuild.ts:main - 50000000 doing update app module info...
[miniapp 09:17:02.306 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage contentViewImage
[miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage confirmButtonImage
[miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing updatePrivacyBackgroundImage cancelButtonImage
[miniapp 09:17:02.307 INFO] cloudBuild.ts:main - 50000000 doing no PlugIns folder...
[miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing not using tpush...
[miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing update app icons...
[miniapp 09:17:02.309 INFO] cloudBuild.ts:main - 50000000 doing genAssetCar: true
[miniapp 09:17:02.915 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv ...
[miniapp 09:17:02.929 INFO] cloudBuild.ts:main - 50000000 doing Xcode 环境检测成功


[miniapp 09:17:02.930 INFO] cloudBuild.ts:main - 50000000 doing Successful to exec command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv 
[miniapp 09:17:12.423 INFO] cloudBuild.ts:main - 50000000 doing update splashscreen image...
[miniapp 09:17:12.435 INFO] cloudBuild.ts:main - 50000000 doing update extendsdk...
[miniapp 09:17:12.435 INFO] cloudBuild.ts:main - 50000000 doing useExtendedSdks: {"WeAppOpenFuns":false,"WeAppNetwork":true,"WeAppBluetooth":false,"WeAppMedia":true,"WeAppLBS":false,"WeAppOthers":false,"WeAppOpenFuns_HasPay":true,"WeAppSkyline":true}
[miniapp 09:17:12.914 INFO] cloudBuild.ts:main - 50000000 doing pack the ipa...
[miniapp 09:17:30.480 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv ...
[miniapp 09:17:30.501 INFO] cloudBuild.ts:main - 50000000 doing Xcode 环境检测成功


[miniapp 09:17:30.502 INFO] cloudBuild.ts:main - 50000000 doing Successful to exec command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/checkXcodeEnv 
[miniapp 09:17:30.503 INFO] cloudBuild.ts:main - 50000000 doing certificate cant find tpns profile
[miniapp 09:17:30.507 INFO] cloudBuild.ts:main - 50000000 doing Run command: /Volumes/data/workspace/buildCloud/bin/miniprogram-builder/static/scripts/resignIpa /var/folders/rw/4zvtml0922j4k36bbjxbny380000gp/T/miniapp-unsigned.ipa /Volumes/data/workspace/outputs  applinks:www.kdb123.con/tongzhiba/app/ com.dada.tongzhiba /Volumes/data/workspace/project/cer/comdadatongzhiba.mobileprovision...
[miniapp 09:17:32.211 INFO] cloudBuild.ts:main - 50000000 doing Resigning with certificate: com.dada.tongzhiba


[miniapp 09:17:32.405 INFO] cloudBuild.ts:main - 50000000 doing start to replace universalLink to applinks:www.kdb123.con/tongzhiba/app/


[miniapp 09:17:32.472 ERROR] cloudBuild.ts:main - 50000000 fail grep: warning: stray \ before /


[miniapp 09:17:32.472 INFO] cloudBuild.ts:main - 50000000 doing finded previous universalLink


[miniapp 09:17:32.476 INFO] cloudBuild.ts:main - 50000000 doing finished replace previous universalLink


[miniapp 09:17:32.559 INFO] cloudBuild.ts:main - 50000000 doing com.dada.tongzhiba: no identity found


[miniapp 09:17:32.565 ERROR] cloudBuild.ts:main - 50000000 fail -e execute codesign failed :com.dada.tongzhiba , 


[miniapp 09:17:32.566 ERROR] cloudBuild.ts:main - main try catch failed! Build ipa failed:codesignAndExport failed stack: Error: Build ipa failed:codesignAndExport failed
    at buildCloudManager.buildCloud (/Volumes/data/workspace/buildCloud/bin/miniprogram-builder/modules/nativecompiler/ios/buildCloud.js:2:22063)
    at async runBuild (/Volumes/data/workspace/buildCloud/bin/cloudBuild.js:151:30)
    at async main (/Volumes/data/workspace/buildCloud/bin/cloudBuild.js:39:9)


回答关注问题邀请回答
收藏

1 个回答

  • 张晨  🔆
    张晨 🔆
    04-08
    com.dada.tongzhiba: no identity found
    
    配置错了名称
    
    04-08
    有用
    回复 1
    • Up
      Up
      08-28
      大佬,请问这个签名证书名应该填写那个。
      08-28
      回复
登录 后发表内容
问题标签