没有' teamID'在离心档案中找到指定且没有团队ID

时间:2017-10-03 21:04:12

标签: ios xcode cordova ionic-framework ionic2

在Ionic 2中工作,然后升级到3以尝试修复此错误。它开始于我试图找出一个cordova插件。存档似乎没有正确签名。

** ARCHIVE SUCCEEDED **


2017-10-03 14:40:10.745 xcodebuild[4293:73077] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/12/9djblkvn1_7g0_41crqy9ht00000gn/T/Omnidispatch_2017-10-03_14-40-10.744.xcdistributionlogs'.

2017-10-03 14:40:10.965 xcodebuild[4293:73077] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fa1dde9d300>: Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}

error: exportArchive: No 'teamID' specified and no team ID found in the archive

Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}


** EXPORT FAILED **


Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,Omnidispatch.xcarchive,-exportOptionsPlist,/Developer/omnisolutions/omni-ionic/platforms/ios/exportOptions.plist,-exportPath,/Developer/omnisolutions/omni-ionic/platforms/ios/build/device

有一些解决方案表明它不是团队ID,而是证书错误。我对mac证书不太满意,但它们似乎已经到位,而且我没有改变它们,因为它已经破坏了。

我已经进入xcode一两次了,团队没有得救,我已经确定每次我看到它并且它现在似乎停留在那里,但它仍然没有改变任何东西当我运行ionic build ios

我还能检查什么?

我应该补充一点,它建立在xcode 8中,但不是像之前那样在vscode或命令行中构建。

2 个答案:

答案 0 :(得分:1)

我在没有签名的离子式科尔多瓦构建期间遇到了相同的问题(对于 专业MDM):

ionic build ios --release --device --buildFlag =“-UseModernBuildSystem = 0”

最后,我在根文件夹中使用build.json粉碎了它,只填充了developmentTeam Info

{
"ios": {
    "debug": {
        "codeSignIdentity": "Apple Development: BLa BLa (XXXXXXX)",
        "provisioningProfile": "<XXXXXX-XXXXXX-XXXXX>",
        "provisioningProfileFile": "embedded.mobileprovision",
        "certificateFile": "blabla.p12",
        "developmentTeam": "<TEAMID>"
    },
    "release": {
        "codeSignIdentity": "",
        "provisioningProfile": "",
        "provisioningProfileFile": "",
        "certificateFile": "",
        "developmentTeam": "<TEAMID>"
    }
}

}

希望对您有帮助

答案 1 :(得分:0)

不幸的是我找不到这个错误的好方法。我被迫rm -rf我的目录,卸载ionic和cordova并将它从git中删除并重新设置。