Error in Ionic package, Error Code 70

Hi,

My ios package build is giving the following error:

** EXPORT FAILED **

Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,loggerBot.xcarchive,-exportOptionsPlist,/Users/package/workspace/apps-ac0736ba-30/cordova/platforms/ios/exportOptions.plist,-exportPath,/Users/package/workspace/apps-ac0736ba-30/cordova/platforms/ios/build/device

It was working yesterday. Any help would be appreciated.

2 Likes

Did you changed anything in your project? Did you updated some packages or added new plugins?
Sometimes. it helpf if you remove the platform and add it again.

Yes. I updated @ionic-native/core from 3.1.0 to 3.6.0.
Added @ionic-native/camera, @ionic-native/file and @ionic-native/photo-library

removing and adding platform did not help

What exact command are you using to build on Ionic Package?

ionic package build ios --profile test --release

Update this is the entire error log:

Errors={
    "<DVTSigningCertificate: 0x7ff392f662b0; name='iPhone Distribution: Lesley Wiart (8TLB8MC92B)', hash='C7AFCA0992596767D8109E447234A9EAF509B132', serialNumber='6FCF83B24F68940E', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-04-29 10:22:34 +0000''>" =     {
        "<IDEDistributionItem: 0x7ff392e063f0 'com.ionicframework.loggerbot514698' '<DVTFilePath:0x7ff392f06720:'/Users/package/workspace/apps-ac0736ba-36/cordova/platforms/ios/loggerBot.xcarchive/Products/Applications/loggerBot.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=7 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ff3931086c0; portalTeamID='8TLB8MC92B', usingTeamBasedSigning='NO', bundleIdentifier='com.ionicframework.loggerbot514698', targetName='(null)', provisioningProfilePurpose='1', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n    \"beta-reports-active\" = 1;\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}";
    };
}
2017-05-14 00:53:03.850 xcodebuild[56538:40960778] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ff392f0e290>: Error Domain=IDEDistributionErrorDomain Code=3 "(null)" UserInfo={IDEDistributionErrorSigningIdentityToItemToUnderlyingErrorKey={
    "<DVTSigningCertificate: 0x7ff392f662b0; name='iPhone Distribution: Lesley Wiart (8TLB8MC92B)', hash='C7AFCA0992596767D8109E447234A9EAF509B132', serialNumber='6FCF83B24F68940E', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-04-29 10:22:34 +0000''>" =     {
        "<IDEDistributionItem: 0x7ff392e063f0 'com.ionicframework.loggerbot514698' '<DVTFilePath:0x7ff392f06720:'/Users/package/workspace/apps-ac0736ba-36/cordova/platforms/ios/loggerBot.xcarchive/Products/Applications/loggerBot.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=7 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ff3931086c0; portalTeamID='8TLB8MC92B', usingTeamBasedSigning='NO', bundleIdentifier='com.ionicframework.loggerbot514698', targetName='(null)', provisioningProfilePurpose='1', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n    \"beta-reports-active\" = 1;\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}";
    };
}}
error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 3.)

Error Domain=IDEDistributionErrorDomain Code=3 "(null)" UserInfo={IDEDistributionErrorSigningIdentityToItemToUnderlyingErrorKey={
    "<DVTSigningCertificate: 0x7ff392f662b0; name='iPhone Distribution: Lesley Wiart (8TLB8MC92B)', hash='C7AFCA0992596767D8109E447234A9EAF509B132', serialNumber='6FCF83B24F68940E', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2017-04-29 10:22:34 +0000''>" =     {
        "<IDEDistributionItem: 0x7ff392e063f0 'com.ionicframework.loggerbot514698' '<DVTFilePath:0x7ff392f06720:'/Users/package/workspace/apps-ac0736ba-36/cordova/platforms/ios/loggerBot.xcarchive/Products/Applications/loggerBot.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=7 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ff3931086c0; portalTeamID='8TLB8MC92B', usingTeamBasedSigning='NO', bundleIdentifier='com.ionicframework.loggerbot514698', targetName='(null)', provisioningProfilePurpose='1', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n    \"beta-reports-active\" = 1;\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}";
    };
}}
** EXPORT FAILED **

Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,loggerBot.xcarchive,-exportOptionsPlist,/Users/package/workspace/apps-ac0736ba-30/cordova/platforms/ios/exportOptions.plist,-exportPath,/Users/package/workspace/apps-ac0736ba-30/cordova/platforms/ios/build/device

I have the same problem, any solutions?

1 Like

Hey @bogumilstyczen, did it work for you before?

only development works ok, production has the issue and never worked before

I have the same problem.
I think it’s related to the ā€˜beta-reports-active’ entitlement. In my case the provisioning profile uploaded is for House distribution (enterprise) and they don’t have that entitlement.
Either way, it was working three days ago, I don’t know what happened.
Please help

1 Like

OMG, I have been going in circles with this. I’m getting this error now. Used to work before.
Production doesn’t work, where Dev works.

It is the exact same error.

1 Like

Did anyone contact the Ionic Services team yet?
https://ionic.zendesk.com/hc/en-us/requests/new?ticket_form_id=632048

1 Like

Thank you. Contacting now.

1 Like

I’m having this same issue. @dee0512 did you get any resolutions to this?

1 Like

Hi everyone,
I got the following reply from the ionic support:

Thanks for getting in touch. We made some updates to package at the end of last week that resolved some issues, but seem to have created another.

We’ve got one of our engineers looking into this. A small change was made yesterday morning that hopefully will resolve a race condition that was causing some failures. Can you try building again and let me know if you get the same error?

Thanks!

2 Likes

We found the same issue today when trying to build in release. It looks like it has not been fixed.

2 Likes

Also having this issue–I’ve been having trouble locating my signing assets, so I thought it was related to that… very frustrating.

1 Like

Hey all, sorry to hear there are issues. Are all of these enterprise provisioning profiles?

1 Like

Yes, mine is, I don’t even have an option of creating an ā€œApp Storeā€ Distribution profile.

Yes, same issue with Enterprise provisionning profile