Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24444

iOS: Using dist-certificates to create adhoc-builds fails with unclear error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Release 6.0.2
    • Fix Version/s: Release 6.0.3
    • Component/s: iOS
    • Labels:
    • Environment:

      osx 10.12.3
      Appcelerator Studio, build: 4.8.1.201612050850
      Xcode 8.1 (8B62)

    • Sprint:
      2017 Sprint 05 Tooling

      Description

      After updating to 6.0.2 i am getting errors creating an ipa for adhoc distribution.

      with 6.0.1 :

       Invoking xcodebuild
      [INFO] :   Packaging for Ad Hoc distribution
      [INFO] :   Packaging complete
      [INFO] :   Package location: /Users/ml/Desktop/cl/cl.ipa
      [INFO] :   Finished building the application in 13s 703ms 
       
      after switching to 6.0.2
       Packaging for Ad Hoc distribution
      [ERROR] :  Failed to export archive to ipa
      [ERROR] :  2017-03-01 15:44:09.151 xcodebuild[30483:4087946] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/ph/v2ph7nsn7332jd1bbjyshz400000gn/T/icl_2017-03-01_15-44-09.150.xcdistributionlogs'.
      [ERROR] :  1.2.840.113635.100.1.61
      [ERROR] :  2017-03-01 15:44:09.301 xcodebuild[30483:4087946] [MT] IDEDistribution: -[IDEDistributionProvisioning _itemToSigningInfoMap:]: Can't find any applicable signing identities for items: (
      [ERROR] :      "<IDEDistributionItem: 0x7ffa81265720 'de.cl.iviz' '<DVTFilePath:0x7ffa817912b0:'/Users/ml/Documents/Appcelerator_Studio_Workspace/icl/build/iphone/cl.xcarchive/Products/Applications/cl.app'>'>"
      [ERROR] :  )
      [ERROR] :  Errors={
      [ERROR] :      "<DVTSigningCertificate: 0x7ffa811a8f20; name='iPhone Distribution: Cl GmbH', hash='6673A610C0D9551176898AE81AC423289F048C30', serialNumber='6B93B38E75152721', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2016-08-29 11:30:28 +0000''>" =     {
      [ERROR] :          "<IDEDistributionItem: 0x7ffa81265720 'de.cl.iviz' '<DVTFilePath:0x7ffa817912b0:'/Users/ml/Documents/Appcelerator_Studio_Workspace/cl/build/iphone/iviz_cl.xcarchive/Products/Applications/cl.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=10 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ffa81236140; portalTeamID='95C6RZ2672', usingTeamBasedSigning='NO', bundleIdentifier='de.cl.iviz', targetName='(null)', provisioningProfilePurpose='2', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n    \"application-identifier\" = \"95C6RZ2672.de.cl.iviz\";\n    \"get-task-allow\" = 0;\n    \"keychain-access-groups\" =     (\n        \"95C6RZ2672.de.cl.iviz\"\n    );\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}";
      [ERROR] :      };
      [ERROR] :  }
      [ERROR] :  2017-03-01 15:44:09.301 xcodebuild[30483:4087946] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ffa817a02b0>: Error Domain=IDEDistributionErrorDomain Code=3 "(null)" UserInfo={IDEDistributionErrorSigningIdentityToItemToUnderlyingErrorKey={
      [ERROR] :      "<DVTSigningCertificate: 0x7ffa811a8f20; name='iPhone Distribution: Cl GmbH', hash='6673A610C0D9551176898AE81AC423289F048C30', serialNumber='6B93B38E75152721', certificateKind='1.2.840.113635.100.6.1.4, issueDate='2016-08-29 11:30:28 +0000''>" =     {
      [ERROR] :          "<IDEDistributionItem: 0x7ffa81265720 'de.cl.iviz' '<DVTFilePath:0x7ffa817912b0:'/Users/ml/Documents/Appcelerator_Studio_Workspace/cl/build/iphone/cl.xcarchive/Products/Applications/cl.app'>'>" = "Error Domain=IDECodesignResolverErrorDomain Code=10 \"No matching provisioning profiles found\" UserInfo={NSLocalizedRecoverySuggestion=No valid 'ad-hoc' profiles were found., NSLocalizedDescription=No matching provisioning profiles found, IDECodesignResolverError_ResolutionInputsKey=<IDECodesignResolutionInputs: 0x7ffa81236140; portalTeamID='95C6RZ2672', usingTeamBasedSigning='NO', bundleIdentifier='de.cl.iviz', targetName='(null)', provisioningProfilePurpose='2', requiresProvisioningProfile='YES', provisioningProfilePlatform='iOS', certificateKind='1.2.840.113635.100.6.1.4', requiredEntitlements='{\n    \"application-identifier\" = \"95C6RZ2672.de.cl.iviz\";\n    \"get-task-allow\" = 0;\n    \"keychain-access-groups\" =     (\n        \"95C6RZ2672.de.cl.iviz\"\n    );\n}', requiredCodesignableDevices='(null)', requiredFeatures='(null)'>\n}";
      [ERROR] :      };
      [ERROR] :  }}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                mlandeck Michael Landeck
                Reviewer:
                Hans Knöchel
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10517
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration