Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-539

Investigate iOS certificate/provisioning profile issue

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iOS 1.18
    • Component/s: None
    • Tags:
    • Sprint:
      nxfit 10.3.3, nxfit 10.3.7
    • Story Points:
      5

      Description

      Signing for a beta build is not working on mac-mobile-2.

      Note that there are 2 certificates for NUXEO CORP on the Apple developer portal, there should be only one .
      => cleanup

      Using different lanes on the Fastfile, find a way to:

      • correctly sign the app for a beta build with the AppStore provisioning profile
      • correctly sign the app for a hockeyapp build with the AdHoc provisioning profile

      It seems that the profile used is the one set in XCode, so we can't deploy on hockeyapp if we set the AppStore one by default, or we can't deploy to Testflight if we set the other one. We end up changing the provisioning profile through XCode when we want to do a beta build.
      => that's not a good solution, it should be automatic.

      Signing is currently working for beta build on mac-mobile-1 but not working for hockeyapp build. mac-mobile-2 is currently offline while we do the release.

      fastlane ios beta command is working through ssh but not through jenkins:

      22:31:29 [00:31:26]: ▸ === BUILD TARGET ShareExtension OF PROJECT NuxeoMobile WITH CONFIGURATION Release ===
      22:31:29 [00:31:26]: ▸ Check dependencies
      22:31:29 [00:31:26]: ▸ Code Signing Error: No certificate for team 'WCLR6985BX' matching 'iPhone Distribution: NUXEO CORP (WCLR6985BX)' found:  Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
      22:31:29 [00:31:26]: ▸ Code Signing Error: Code signing is required for product type 'App Extension' in SDK 'iOS 11.2'
      

      Todo:

      Relying only on fastlane and using the same slaves we should be able to:

      • deploy a beta build
      • deploy a hockeyapp build

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 30 minutes
                1d 1h 30m