Profile doesn't include aps-evironmentProd, Xcode 10.1












0















I am trying to start my app on a device and faced with this. It doesn't depend on signing method. Push notifications feature enabled for the App ID in Developer account, valid APNS certs added. On the capabilities tab everything is OK.



I know what is aps-environment (this string presents in generated profile), but what does Xcode mean by environmentProd string? I can't find out just anything about "aps-evironmentProd".



The application started without any troubles on previous Xcode versions. For me it seems like regular Xcode bug. How can I handle this without Xcode downgrade?



Entitlements










share|improve this question





























    0















    I am trying to start my app on a device and faced with this. It doesn't depend on signing method. Push notifications feature enabled for the App ID in Developer account, valid APNS certs added. On the capabilities tab everything is OK.



    I know what is aps-environment (this string presents in generated profile), but what does Xcode mean by environmentProd string? I can't find out just anything about "aps-evironmentProd".



    The application started without any troubles on previous Xcode versions. For me it seems like regular Xcode bug. How can I handle this without Xcode downgrade?



    Entitlements










    share|improve this question



























      0












      0








      0








      I am trying to start my app on a device and faced with this. It doesn't depend on signing method. Push notifications feature enabled for the App ID in Developer account, valid APNS certs added. On the capabilities tab everything is OK.



      I know what is aps-environment (this string presents in generated profile), but what does Xcode mean by environmentProd string? I can't find out just anything about "aps-evironmentProd".



      The application started without any troubles on previous Xcode versions. For me it seems like regular Xcode bug. How can I handle this without Xcode downgrade?



      Entitlements










      share|improve this question
















      I am trying to start my app on a device and faced with this. It doesn't depend on signing method. Push notifications feature enabled for the App ID in Developer account, valid APNS certs added. On the capabilities tab everything is OK.



      I know what is aps-environment (this string presents in generated profile), but what does Xcode mean by environmentProd string? I can't find out just anything about "aps-evironmentProd".



      The application started without any troubles on previous Xcode versions. For me it seems like regular Xcode bug. How can I handle this without Xcode downgrade?



      Entitlements







      ios xcode apple-push-notifications provisioning-profile signing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 '18 at 12:48







      lesha-native

















      asked Nov 19 '18 at 17:35









      lesha-nativelesha-native

      12




      12
























          1 Answer
          1






          active

          oldest

          votes


















          0














          It seems you have changed/updated APS Environment to APS EnvironmentProd in your .entitlements file.



          Check your .entitlements again to be sure. If not just restart Xcode.



          Also, I am assuming you already know following:
          No need to update development to production in.entitlements`. Because we can't use the production certificate in debug/development.
          When we do 'Archive' Xcode automatically set it to production.






          share|improve this answer
























          • Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

            – lesha-native
            Nov 20 '18 at 7:27











          • Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

            – lesha-native
            Nov 20 '18 at 7:29











          • Talking about updating 'development' to 'production' I didn't do this.

            – lesha-native
            Nov 20 '18 at 7:35











          • @lesha-native can you share you .entitlements files code?

            – Satish
            Nov 20 '18 at 8:39











          • I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

            – lesha-native
            Nov 20 '18 at 12:50













          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%2f53379931%2fprofile-doesnt-include-aps-evironmentprod-xcode-10-1%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














          It seems you have changed/updated APS Environment to APS EnvironmentProd in your .entitlements file.



          Check your .entitlements again to be sure. If not just restart Xcode.



          Also, I am assuming you already know following:
          No need to update development to production in.entitlements`. Because we can't use the production certificate in debug/development.
          When we do 'Archive' Xcode automatically set it to production.






          share|improve this answer
























          • Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

            – lesha-native
            Nov 20 '18 at 7:27











          • Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

            – lesha-native
            Nov 20 '18 at 7:29











          • Talking about updating 'development' to 'production' I didn't do this.

            – lesha-native
            Nov 20 '18 at 7:35











          • @lesha-native can you share you .entitlements files code?

            – Satish
            Nov 20 '18 at 8:39











          • I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

            – lesha-native
            Nov 20 '18 at 12:50


















          0














          It seems you have changed/updated APS Environment to APS EnvironmentProd in your .entitlements file.



          Check your .entitlements again to be sure. If not just restart Xcode.



          Also, I am assuming you already know following:
          No need to update development to production in.entitlements`. Because we can't use the production certificate in debug/development.
          When we do 'Archive' Xcode automatically set it to production.






          share|improve this answer
























          • Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

            – lesha-native
            Nov 20 '18 at 7:27











          • Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

            – lesha-native
            Nov 20 '18 at 7:29











          • Talking about updating 'development' to 'production' I didn't do this.

            – lesha-native
            Nov 20 '18 at 7:35











          • @lesha-native can you share you .entitlements files code?

            – Satish
            Nov 20 '18 at 8:39











          • I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

            – lesha-native
            Nov 20 '18 at 12:50
















          0












          0








          0







          It seems you have changed/updated APS Environment to APS EnvironmentProd in your .entitlements file.



          Check your .entitlements again to be sure. If not just restart Xcode.



          Also, I am assuming you already know following:
          No need to update development to production in.entitlements`. Because we can't use the production certificate in debug/development.
          When we do 'Archive' Xcode automatically set it to production.






          share|improve this answer













          It seems you have changed/updated APS Environment to APS EnvironmentProd in your .entitlements file.



          Check your .entitlements again to be sure. If not just restart Xcode.



          Also, I am assuming you already know following:
          No need to update development to production in.entitlements`. Because we can't use the production certificate in debug/development.
          When we do 'Archive' Xcode automatically set it to production.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 19 '18 at 18:11









          SatishSatish

          1,036615




          1,036615













          • Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

            – lesha-native
            Nov 20 '18 at 7:27











          • Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

            – lesha-native
            Nov 20 '18 at 7:29











          • Talking about updating 'development' to 'production' I didn't do this.

            – lesha-native
            Nov 20 '18 at 7:35











          • @lesha-native can you share you .entitlements files code?

            – Satish
            Nov 20 '18 at 8:39











          • I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

            – lesha-native
            Nov 20 '18 at 12:50





















          • Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

            – lesha-native
            Nov 20 '18 at 7:27











          • Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

            – lesha-native
            Nov 20 '18 at 7:29











          • Talking about updating 'development' to 'production' I didn't do this.

            – lesha-native
            Nov 20 '18 at 7:35











          • @lesha-native can you share you .entitlements files code?

            – Satish
            Nov 20 '18 at 8:39











          • I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

            – lesha-native
            Nov 20 '18 at 12:50



















          Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

          – lesha-native
          Nov 20 '18 at 7:27





          Thank you for your answer! The fact is, I didn't edit entitlements. Before this problem started, I used the same provisioning profiles which was just generated at developer.apple.com.

          – lesha-native
          Nov 20 '18 at 7:27













          Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

          – lesha-native
          Nov 20 '18 at 7:29





          Also, I remembered I have xcode 9.2. Problem does not appear on it. Weird.

          – lesha-native
          Nov 20 '18 at 7:29













          Talking about updating 'development' to 'production' I didn't do this.

          – lesha-native
          Nov 20 '18 at 7:35





          Talking about updating 'development' to 'production' I didn't do this.

          – lesha-native
          Nov 20 '18 at 7:35













          @lesha-native can you share you .entitlements files code?

          – Satish
          Nov 20 '18 at 8:39





          @lesha-native can you share you .entitlements files code?

          – Satish
          Nov 20 '18 at 8:39













          I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

          – lesha-native
          Nov 20 '18 at 12:50







          I've uploaded the screen into the description. It's not exact .entitlements, but .mobileprovision

          – lesha-native
          Nov 20 '18 at 12:50






















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379931%2fprofile-doesnt-include-aps-evironmentprod-xcode-10-1%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







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()