Cannot build cordova iOS platform — error 65 allowProvisioningUpdates












1














I am getting an error trying to build iOS platform in cordova. I have reinstalled the platform but i get the same error. This works a few day ago



Can you please help me resolve this issue



xcode Version 10.0 (10A255)



my build call..



cordova build ios --release --buildConfig=build.json --device --buildFlag=-allowProvisioningUpdates --gradleArg=--no-daemon`



Here is error



Error: Error code 65 for command: xcodebuild with args: - exportArchive,-archivePath,myapp.xcarchive,-exportOptionsPlist,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/exportOptions.plist,-exportPath,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/build/device,-allowProvisioningUpdates`



I have a build.json file that I use for the build



"codeSignIdentity": "iPhone Developer",
"developmentTeam": "myid",
"automaticProvisioning": true,
"packageType": "app-store"



More --info



2018-10-19 13:01:08.558 xcodebuild[12415:403301] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/01/dln33_r97tzb95y8c1scy6bc0000gp/T/RandstadJobs_2018-10-19_13-01-08.558.xcdistributionlogs'.
error: exportArchive: "RandstadJobs.app" requires a provisioning profile with the Push Notifications feature.



Here an error I see but now sure how to resolve it. I have push enable in the profile



Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile with the Push Notifications feature."



UserInfo={NSLocalizedDescription="myapp.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}










share|improve this question





























    1














    I am getting an error trying to build iOS platform in cordova. I have reinstalled the platform but i get the same error. This works a few day ago



    Can you please help me resolve this issue



    xcode Version 10.0 (10A255)



    my build call..



    cordova build ios --release --buildConfig=build.json --device --buildFlag=-allowProvisioningUpdates --gradleArg=--no-daemon`



    Here is error



    Error: Error code 65 for command: xcodebuild with args: - exportArchive,-archivePath,myapp.xcarchive,-exportOptionsPlist,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/exportOptions.plist,-exportPath,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/build/device,-allowProvisioningUpdates`



    I have a build.json file that I use for the build



    "codeSignIdentity": "iPhone Developer",
    "developmentTeam": "myid",
    "automaticProvisioning": true,
    "packageType": "app-store"



    More --info



    2018-10-19 13:01:08.558 xcodebuild[12415:403301] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/01/dln33_r97tzb95y8c1scy6bc0000gp/T/RandstadJobs_2018-10-19_13-01-08.558.xcdistributionlogs'.
    error: exportArchive: "RandstadJobs.app" requires a provisioning profile with the Push Notifications feature.



    Here an error I see but now sure how to resolve it. I have push enable in the profile



    Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile with the Push Notifications feature."



    UserInfo={NSLocalizedDescription="myapp.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}










    share|improve this question



























      1












      1








      1


      1





      I am getting an error trying to build iOS platform in cordova. I have reinstalled the platform but i get the same error. This works a few day ago



      Can you please help me resolve this issue



      xcode Version 10.0 (10A255)



      my build call..



      cordova build ios --release --buildConfig=build.json --device --buildFlag=-allowProvisioningUpdates --gradleArg=--no-daemon`



      Here is error



      Error: Error code 65 for command: xcodebuild with args: - exportArchive,-archivePath,myapp.xcarchive,-exportOptionsPlist,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/exportOptions.plist,-exportPath,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/build/device,-allowProvisioningUpdates`



      I have a build.json file that I use for the build



      "codeSignIdentity": "iPhone Developer",
      "developmentTeam": "myid",
      "automaticProvisioning": true,
      "packageType": "app-store"



      More --info



      2018-10-19 13:01:08.558 xcodebuild[12415:403301] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/01/dln33_r97tzb95y8c1scy6bc0000gp/T/RandstadJobs_2018-10-19_13-01-08.558.xcdistributionlogs'.
      error: exportArchive: "RandstadJobs.app" requires a provisioning profile with the Push Notifications feature.



      Here an error I see but now sure how to resolve it. I have push enable in the profile



      Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile with the Push Notifications feature."



      UserInfo={NSLocalizedDescription="myapp.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}










      share|improve this question















      I am getting an error trying to build iOS platform in cordova. I have reinstalled the platform but i get the same error. This works a few day ago



      Can you please help me resolve this issue



      xcode Version 10.0 (10A255)



      my build call..



      cordova build ios --release --buildConfig=build.json --device --buildFlag=-allowProvisioningUpdates --gradleArg=--no-daemon`



      Here is error



      Error: Error code 65 for command: xcodebuild with args: - exportArchive,-archivePath,myapp.xcarchive,-exportOptionsPlist,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/exportOptions.plist,-exportPath,/Users/Documents/Development/mymobile/dev/MobileV2/platforms/ios/build/device,-allowProvisioningUpdates`



      I have a build.json file that I use for the build



      "codeSignIdentity": "iPhone Developer",
      "developmentTeam": "myid",
      "automaticProvisioning": true,
      "packageType": "app-store"



      More --info



      2018-10-19 13:01:08.558 xcodebuild[12415:403301] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/01/dln33_r97tzb95y8c1scy6bc0000gp/T/RandstadJobs_2018-10-19_13-01-08.558.xcdistributionlogs'.
      error: exportArchive: "RandstadJobs.app" requires a provisioning profile with the Push Notifications feature.



      Here an error I see but now sure how to resolve it. I have push enable in the profile



      Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile with the Push Notifications feature."



      UserInfo={NSLocalizedDescription="myapp.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}







      xcode cordova cordova-ios






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 19 '18 at 17:04

























      asked Oct 19 '18 at 15:06









      user2570135

      141211




      141211
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You need to enable push notification in your project in Xcode, then select a provisioning/developer profile. Best is to allow automatic signing and select your Apple identity. It should do the rest on its own.



          If you use xcode10, you also need to change the build system from new to legacy




          File -> WorkSpace Settings -> Build System: Legacy Build System







          share|improve this answer























          • Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
            – user2570135
            Oct 22 '18 at 0:56






          • 1




            Might be related github.com/apache/cordova-ios/issues/407
            – Eric
            Oct 22 '18 at 2:29










          • see my edit about the build system
            – Eric
            Nov 12 '18 at 23:40











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52895170%2fcannot-build-cordova-ios-platform-error-65-allowprovisioningupdates%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You need to enable push notification in your project in Xcode, then select a provisioning/developer profile. Best is to allow automatic signing and select your Apple identity. It should do the rest on its own.



          If you use xcode10, you also need to change the build system from new to legacy




          File -> WorkSpace Settings -> Build System: Legacy Build System







          share|improve this answer























          • Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
            – user2570135
            Oct 22 '18 at 0:56






          • 1




            Might be related github.com/apache/cordova-ios/issues/407
            – Eric
            Oct 22 '18 at 2:29










          • see my edit about the build system
            – Eric
            Nov 12 '18 at 23:40
















          0














          You need to enable push notification in your project in Xcode, then select a provisioning/developer profile. Best is to allow automatic signing and select your Apple identity. It should do the rest on its own.



          If you use xcode10, you also need to change the build system from new to legacy




          File -> WorkSpace Settings -> Build System: Legacy Build System







          share|improve this answer























          • Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
            – user2570135
            Oct 22 '18 at 0:56






          • 1




            Might be related github.com/apache/cordova-ios/issues/407
            – Eric
            Oct 22 '18 at 2:29










          • see my edit about the build system
            – Eric
            Nov 12 '18 at 23:40














          0












          0








          0






          You need to enable push notification in your project in Xcode, then select a provisioning/developer profile. Best is to allow automatic signing and select your Apple identity. It should do the rest on its own.



          If you use xcode10, you also need to change the build system from new to legacy




          File -> WorkSpace Settings -> Build System: Legacy Build System







          share|improve this answer














          You need to enable push notification in your project in Xcode, then select a provisioning/developer profile. Best is to allow automatic signing and select your Apple identity. It should do the rest on its own.



          If you use xcode10, you also need to change the build system from new to legacy




          File -> WorkSpace Settings -> Build System: Legacy Build System








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 12 '18 at 23:40

























          answered Oct 21 '18 at 13:42









          Eric

          4,17744177




          4,17744177












          • Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
            – user2570135
            Oct 22 '18 at 0:56






          • 1




            Might be related github.com/apache/cordova-ios/issues/407
            – Eric
            Oct 22 '18 at 2:29










          • see my edit about the build system
            – Eric
            Nov 12 '18 at 23:40


















          • Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
            – user2570135
            Oct 22 '18 at 0:56






          • 1




            Might be related github.com/apache/cordova-ios/issues/407
            – Eric
            Oct 22 '18 at 2:29










          • see my edit about the build system
            – Eric
            Nov 12 '18 at 23:40
















          Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
          – user2570135
          Oct 22 '18 at 0:56




          Thanks,,, but I have push enable in my project and have automatic signing and it was working.. The only change I made was to upgrade tp Xcode 10 because of the latest patch for my phone by apple,,,
          – user2570135
          Oct 22 '18 at 0:56




          1




          1




          Might be related github.com/apache/cordova-ios/issues/407
          – Eric
          Oct 22 '18 at 2:29




          Might be related github.com/apache/cordova-ios/issues/407
          – Eric
          Oct 22 '18 at 2:29












          see my edit about the build system
          – Eric
          Nov 12 '18 at 23:40




          see my edit about the build system
          – Eric
          Nov 12 '18 at 23:40


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52895170%2fcannot-build-cordova-ios-platform-error-65-allowprovisioningupdates%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bressuire

          Vorschmack

          Quarantine