dyld`__abort_with_payload: With no error message











up vote
42
down vote

favorite
11












When i start my app with XCode, i have a crash but no error



App is just stopping on this thread



enter image description here



What can i do to have more informations about the issue ?










share|improve this question


























    up vote
    42
    down vote

    favorite
    11












    When i start my app with XCode, i have a crash but no error



    App is just stopping on this thread



    enter image description here



    What can i do to have more informations about the issue ?










    share|improve this question
























      up vote
      42
      down vote

      favorite
      11









      up vote
      42
      down vote

      favorite
      11






      11





      When i start my app with XCode, i have a crash but no error



      App is just stopping on this thread



      enter image description here



      What can i do to have more informations about the issue ?










      share|improve this question













      When i start my app with XCode, i have a crash but no error



      App is just stopping on this thread



      enter image description here



      What can i do to have more informations about the issue ?







      ios xcode xcode8






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 '17 at 15:26









      Kevin ABRIOUX

      6,60745153




      6,60745153
























          17 Answers
          17






          active

          oldest

          votes

















          up vote
          68
          down vote













          If you are using custom frameworks, you need to put it inside the "Embedded Binaries" section located in the Xcode project under the tab Target / General.






          share|improve this answer























          • I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
            – Mario A Guzman
            Mar 17 '17 at 3:28










          • @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
            – iOS
            Mar 24 '17 at 7:09










          • @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
            – Mario A Guzman
            Mar 29 '17 at 20:02










          • Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
            – Jim Leask
            May 2 '17 at 23:04


















          up vote
          39
          down vote













          For me a simple Clean and Rebuild sorted it out. Hope it helps.






          share|improve this answer

















          • 20




            Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
            – johnnyclem
            Oct 31 '17 at 22:12








          • 1




            Helped me too!!
            –  Dmitriy Greh
            Feb 27 at 9:37










          • Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
            – Erumaru
            May 17 at 6:00


















          up vote
          9
          down vote













          Adding the framework to the embedded binary asset list fixed this. Here is what the setup of a foreign framework looks like in final form in the Xcode GUI as an Embedded Framework (Xcode 9.2, personally I like a visual bread crumb trail better ;-) ):
          enter image description here



          Did Apple intentionally crash the runtime to somehow tell the developer about the problem that you cannot use non-Apple frameworks as simply linked frameworks in iOS development? It would be better to have it come up as a build error I would think... with a button that said "move it!"



          The use of Embedded Binaries keeps the end user from having to add the Framework independently of your app (or have you do with an installer). In the case of the iPhone (iOS), that is impossible, but on macOS, it is possible but can get messy fast.



          For the end user, it is much nicer to simply drag and drop an app to install it on macOS, which is where embedded becomes a benefit. Embedding also avoids the classic "DLL conflicts" of having external versions of your framework to manage. (disk space is cheap, my customer's time is precious).






          share|improve this answer






























            up vote
            8
            down vote













            I fixed the error in my project just now!

            If you are using swift framework in Object-C project, I advice you to change the build settings.

            Always Embed Swift Standard Libraries option to YES. like this: enter image description here



            hope this was useful to you.






            share|improve this answer






























              up vote
              5
              down vote













              Finally solved!



              What worked for me was to make the framework "optional" instead of "required".



              Hope that helps!






              share|improve this answer




























                up vote
                4
                down vote













                Unchecking "Guard Malloc" in diagnostics worked for me. See Image for settings






                share|improve this answer



















                • 2




                  Guard Malloc, to be correct. Anyone know why it fixes the crash?
                  – Mojo66
                  Apr 1 at 11:20










                • You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                  – Karanveer Singh
                  Nov 5 at 7:27


















                up vote
                3
                down vote













                I encountered an error with the same signature (my project was in Obj-C) and discovered I had forgotten to link with the appropriate framework. The error message in the debug log that led to finding the error was:



                dyld: Symbol not found: _OBJC_CLASS_$_SFSafariViewController



                For my specific error, adding SafariServices.framework in the Targets --> Build Phases --> "Link Binary With Libraries" resolved the issue. While you probably don't have the same specific error and resolution, checking the debug log for clues is useful.






                share|improve this answer






























                  up vote
                  3
                  down vote













                  1) Continue the execution to see if any message shows up in debugger such as "MyFramework.framework" not found. If that is the case, follow this discussion: OS X Framework Library not loaded: 'Image not found'
                  For me this answer worked:https://stackoverflow.com/a/44796734/4060763



                  2) Make sure you have added your binaries through "Embed Binaries" section.



                  3) Make sure you have enabled signing of frameworks in build phase section.



                  4) Make sure the embedded frameworks are not symlinks.



                  5) You can make the linked frameworks optional instead of required in "Link binary with libraries" phase. This will tell iOS to not look for these frameworks during launch. But anyway you need to fix the errors to use those frameworks!



                  6) Check if all the info.plist entries are good. In my case, I was using a Mac info.plist file for iOS. It was looking for some xib file which was not present in iOS project.



                  7) Do a clean and build after any such change. This is required because xcode does not copy/change these files if they already exist.



                  8) Remove the app from iPad and then install. Same reason as 7.






                  share|improve this answer




























                    up vote
                    2
                    down vote













                    To answer the original question "What can i do to have more informations about the issue ?", this Apple forum thread provides a very simple tip: simply run your crashing app outside XCode (i.e. stop it from XCode, then run it manually on your device). This will produce a crash log containing more details about what happened. You can then review this log from XCode Window menu / Devices and Simulators -> View Device Logs.






                    share|improve this answer




























                      up vote
                      1
                      down vote













                      If you're using a framework written in Swift in an Objective-C application, you need to include the Swift toolchain in the app that consumes the framework.



                      The way I've found to do this is to create a dummy swift file in the app so that XCode recognizes swift and appropriately adds it to the project. You can then delete the dummy file.



                      I would love if someone knew of a better way to explicitly add swift to an objective-c project without adding a swift file.






                      share|improve this answer




























                        up vote
                        1
                        down vote













                        I find the right way to resolve it.



                        Make sure the AppleWWDRCA.cer be set system default mode, then it will work:



                        enter image description here






                        share|improve this answer























                        • Worked for me as well.
                          – dev_shanghai
                          Sep 15 at 10:32


















                        up vote
                        0
                        down vote













                        I have fixed my error in my project.

                        1. Check other threads when error happened.I found my error is about camera.



                        enter image description here




                        1. Add the Camera privacy in Info.plist file.

                          1)Open the info.plist file.

                          2)Add a new key called "Privacy - Camera Usage Description" and enter a string that describes why the app need camera.The describes will display when your app need to use the privacy.


                        enter image description here






                        share|improve this answer























                        • @Dmitry Thanks for format.
                          – WangYang
                          Nov 21 '17 at 9:27


















                        up vote
                        0
                        down vote













                        if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.






                        share|improve this answer




























                          up vote
                          0
                          down vote













                          I've just had the same issue and the reason why was due to the fact that I've revoked my Developer Certificates and created new ones with Xcode 10, after a fresh macOS Mojave update (for some it deleted all login credentials and outdated some keychain certificates).



                          So, All I had to do was to remove the installed apps from my device and run them through Xcode again, in order for it to install the right new Provisioning Profile in my device :)






                          share|improve this answer




























                            up vote
                            0
                            down vote













                            I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.



                            Don't know if this info helps anybody else though...






                            share|improve this answer




























                              up vote
                              0
                              down vote













                              I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.






                              share|improve this answer




























                                up vote
                                -1
                                down vote













                                I got it sorted by "pod install" command.






                                share|improve this answer





















                                  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',
                                  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%2f42027601%2fdyld-abort-with-payload-with-no-error-message%23new-answer', 'question_page');
                                  }
                                  );

                                  Post as a guest















                                  Required, but never shown

























                                  17 Answers
                                  17






                                  active

                                  oldest

                                  votes








                                  17 Answers
                                  17






                                  active

                                  oldest

                                  votes









                                  active

                                  oldest

                                  votes






                                  active

                                  oldest

                                  votes








                                  up vote
                                  68
                                  down vote













                                  If you are using custom frameworks, you need to put it inside the "Embedded Binaries" section located in the Xcode project under the tab Target / General.






                                  share|improve this answer























                                  • I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                    – Mario A Guzman
                                    Mar 17 '17 at 3:28










                                  • @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                    – iOS
                                    Mar 24 '17 at 7:09










                                  • @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                    – Mario A Guzman
                                    Mar 29 '17 at 20:02










                                  • Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                    – Jim Leask
                                    May 2 '17 at 23:04















                                  up vote
                                  68
                                  down vote













                                  If you are using custom frameworks, you need to put it inside the "Embedded Binaries" section located in the Xcode project under the tab Target / General.






                                  share|improve this answer























                                  • I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                    – Mario A Guzman
                                    Mar 17 '17 at 3:28










                                  • @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                    – iOS
                                    Mar 24 '17 at 7:09










                                  • @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                    – Mario A Guzman
                                    Mar 29 '17 at 20:02










                                  • Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                    – Jim Leask
                                    May 2 '17 at 23:04













                                  up vote
                                  68
                                  down vote










                                  up vote
                                  68
                                  down vote









                                  If you are using custom frameworks, you need to put it inside the "Embedded Binaries" section located in the Xcode project under the tab Target / General.






                                  share|improve this answer














                                  If you are using custom frameworks, you need to put it inside the "Embedded Binaries" section located in the Xcode project under the tab Target / General.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Oct 16 at 14:40

























                                  answered Feb 12 '17 at 7:23









                                  mkonovalov

                                  78145




                                  78145












                                  • I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                    – Mario A Guzman
                                    Mar 17 '17 at 3:28










                                  • @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                    – iOS
                                    Mar 24 '17 at 7:09










                                  • @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                    – Mario A Guzman
                                    Mar 29 '17 at 20:02










                                  • Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                    – Jim Leask
                                    May 2 '17 at 23:04


















                                  • I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                    – Mario A Guzman
                                    Mar 17 '17 at 3:28










                                  • @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                    – iOS
                                    Mar 24 '17 at 7:09










                                  • @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                    – Mario A Guzman
                                    Mar 29 '17 at 20:02










                                  • Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                    – Jim Leask
                                    May 2 '17 at 23:04
















                                  I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                  – Mario A Guzman
                                  Mar 17 '17 at 3:28




                                  I do have a custom framework and it is listed under "Embedded Binaries" in the Xcode Project under Target > General. I am still getting this problem when I try to run my unit tests. I recently upgraded the Swift portions of my code to Swift 3 (from 2). If that helps...
                                  – Mario A Guzman
                                  Mar 17 '17 at 3:28












                                  @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                  – iOS
                                  Mar 24 '17 at 7:09




                                  @MarioAGuzman How did you fix it? I also face the issue after Swift 3 migration
                                  – iOS
                                  Mar 24 '17 at 7:09












                                  @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                  – Mario A Guzman
                                  Mar 29 '17 at 20:02




                                  @iOS Unfortunately I had no real fix. The issue resolved itself with Xcode 8.3 that was just released.
                                  – Mario A Guzman
                                  Mar 29 '17 at 20:02












                                  Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                  – Jim Leask
                                  May 2 '17 at 23:04




                                  Why does this need to be in Embedded Binaries section? I'm trying to use the ObjectiveDropboxOfficial.framework. I was getting this error, put it into Embedded and it 'fixed' it. However, I took it out again, and it remains 'fixed'. Other targets that are configured the same AFAICT it fail though. The dropbox install docs do not say to put in Embedded Frameworks.
                                  – Jim Leask
                                  May 2 '17 at 23:04












                                  up vote
                                  39
                                  down vote













                                  For me a simple Clean and Rebuild sorted it out. Hope it helps.






                                  share|improve this answer

















                                  • 20




                                    Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                    – johnnyclem
                                    Oct 31 '17 at 22:12








                                  • 1




                                    Helped me too!!
                                    –  Dmitriy Greh
                                    Feb 27 at 9:37










                                  • Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                    – Erumaru
                                    May 17 at 6:00















                                  up vote
                                  39
                                  down vote













                                  For me a simple Clean and Rebuild sorted it out. Hope it helps.






                                  share|improve this answer

















                                  • 20




                                    Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                    – johnnyclem
                                    Oct 31 '17 at 22:12








                                  • 1




                                    Helped me too!!
                                    –  Dmitriy Greh
                                    Feb 27 at 9:37










                                  • Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                    – Erumaru
                                    May 17 at 6:00













                                  up vote
                                  39
                                  down vote










                                  up vote
                                  39
                                  down vote









                                  For me a simple Clean and Rebuild sorted it out. Hope it helps.






                                  share|improve this answer












                                  For me a simple Clean and Rebuild sorted it out. Hope it helps.







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Sep 3 '17 at 23:19









                                  KlixxOne

                                  525513




                                  525513








                                  • 20




                                    Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                    – johnnyclem
                                    Oct 31 '17 at 22:12








                                  • 1




                                    Helped me too!!
                                    –  Dmitriy Greh
                                    Feb 27 at 9:37










                                  • Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                    – Erumaru
                                    May 17 at 6:00














                                  • 20




                                    Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                    – johnnyclem
                                    Oct 31 '17 at 22:12








                                  • 1




                                    Helped me too!!
                                    –  Dmitriy Greh
                                    Feb 27 at 9:37










                                  • Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                    – Erumaru
                                    May 17 at 6:00








                                  20




                                  20




                                  Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                  – johnnyclem
                                  Oct 31 '17 at 22:12






                                  Clean, Clean Build Folder, Delete contents of Derived Data folder, Pod install (where appropriate), restart Xcode, restart machine; then smear some lamb's blood on the door for good measure
                                  – johnnyclem
                                  Oct 31 '17 at 22:12






                                  1




                                  1




                                  Helped me too!!
                                  –  Dmitriy Greh
                                  Feb 27 at 9:37




                                  Helped me too!!
                                  –  Dmitriy Greh
                                  Feb 27 at 9:37












                                  Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                  – Erumaru
                                  May 17 at 6:00




                                  Deleting directory and getting last commit from git didn't help, but clean and rebuild helped lol
                                  – Erumaru
                                  May 17 at 6:00










                                  up vote
                                  9
                                  down vote













                                  Adding the framework to the embedded binary asset list fixed this. Here is what the setup of a foreign framework looks like in final form in the Xcode GUI as an Embedded Framework (Xcode 9.2, personally I like a visual bread crumb trail better ;-) ):
                                  enter image description here



                                  Did Apple intentionally crash the runtime to somehow tell the developer about the problem that you cannot use non-Apple frameworks as simply linked frameworks in iOS development? It would be better to have it come up as a build error I would think... with a button that said "move it!"



                                  The use of Embedded Binaries keeps the end user from having to add the Framework independently of your app (or have you do with an installer). In the case of the iPhone (iOS), that is impossible, but on macOS, it is possible but can get messy fast.



                                  For the end user, it is much nicer to simply drag and drop an app to install it on macOS, which is where embedded becomes a benefit. Embedding also avoids the classic "DLL conflicts" of having external versions of your framework to manage. (disk space is cheap, my customer's time is precious).






                                  share|improve this answer



























                                    up vote
                                    9
                                    down vote













                                    Adding the framework to the embedded binary asset list fixed this. Here is what the setup of a foreign framework looks like in final form in the Xcode GUI as an Embedded Framework (Xcode 9.2, personally I like a visual bread crumb trail better ;-) ):
                                    enter image description here



                                    Did Apple intentionally crash the runtime to somehow tell the developer about the problem that you cannot use non-Apple frameworks as simply linked frameworks in iOS development? It would be better to have it come up as a build error I would think... with a button that said "move it!"



                                    The use of Embedded Binaries keeps the end user from having to add the Framework independently of your app (or have you do with an installer). In the case of the iPhone (iOS), that is impossible, but on macOS, it is possible but can get messy fast.



                                    For the end user, it is much nicer to simply drag and drop an app to install it on macOS, which is where embedded becomes a benefit. Embedding also avoids the classic "DLL conflicts" of having external versions of your framework to manage. (disk space is cheap, my customer's time is precious).






                                    share|improve this answer

























                                      up vote
                                      9
                                      down vote










                                      up vote
                                      9
                                      down vote









                                      Adding the framework to the embedded binary asset list fixed this. Here is what the setup of a foreign framework looks like in final form in the Xcode GUI as an Embedded Framework (Xcode 9.2, personally I like a visual bread crumb trail better ;-) ):
                                      enter image description here



                                      Did Apple intentionally crash the runtime to somehow tell the developer about the problem that you cannot use non-Apple frameworks as simply linked frameworks in iOS development? It would be better to have it come up as a build error I would think... with a button that said "move it!"



                                      The use of Embedded Binaries keeps the end user from having to add the Framework independently of your app (or have you do with an installer). In the case of the iPhone (iOS), that is impossible, but on macOS, it is possible but can get messy fast.



                                      For the end user, it is much nicer to simply drag and drop an app to install it on macOS, which is where embedded becomes a benefit. Embedding also avoids the classic "DLL conflicts" of having external versions of your framework to manage. (disk space is cheap, my customer's time is precious).






                                      share|improve this answer














                                      Adding the framework to the embedded binary asset list fixed this. Here is what the setup of a foreign framework looks like in final form in the Xcode GUI as an Embedded Framework (Xcode 9.2, personally I like a visual bread crumb trail better ;-) ):
                                      enter image description here



                                      Did Apple intentionally crash the runtime to somehow tell the developer about the problem that you cannot use non-Apple frameworks as simply linked frameworks in iOS development? It would be better to have it come up as a build error I would think... with a button that said "move it!"



                                      The use of Embedded Binaries keeps the end user from having to add the Framework independently of your app (or have you do with an installer). In the case of the iPhone (iOS), that is impossible, but on macOS, it is possible but can get messy fast.



                                      For the end user, it is much nicer to simply drag and drop an app to install it on macOS, which is where embedded becomes a benefit. Embedding also avoids the classic "DLL conflicts" of having external versions of your framework to manage. (disk space is cheap, my customer's time is precious).







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Oct 5 at 18:39

























                                      answered Dec 19 '17 at 16:33









                                      William Cerniuk

                                      8,97011318




                                      8,97011318






















                                          up vote
                                          8
                                          down vote













                                          I fixed the error in my project just now!

                                          If you are using swift framework in Object-C project, I advice you to change the build settings.

                                          Always Embed Swift Standard Libraries option to YES. like this: enter image description here



                                          hope this was useful to you.






                                          share|improve this answer



























                                            up vote
                                            8
                                            down vote













                                            I fixed the error in my project just now!

                                            If you are using swift framework in Object-C project, I advice you to change the build settings.

                                            Always Embed Swift Standard Libraries option to YES. like this: enter image description here



                                            hope this was useful to you.






                                            share|improve this answer

























                                              up vote
                                              8
                                              down vote










                                              up vote
                                              8
                                              down vote









                                              I fixed the error in my project just now!

                                              If you are using swift framework in Object-C project, I advice you to change the build settings.

                                              Always Embed Swift Standard Libraries option to YES. like this: enter image description here



                                              hope this was useful to you.






                                              share|improve this answer














                                              I fixed the error in my project just now!

                                              If you are using swift framework in Object-C project, I advice you to change the build settings.

                                              Always Embed Swift Standard Libraries option to YES. like this: enter image description here



                                              hope this was useful to you.







                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Jun 1 '17 at 8:11









                                              John Moutafis

                                              11.6k42857




                                              11.6k42857










                                              answered Jun 1 '17 at 7:49









                                              Hongbo Liu

                                              8113




                                              8113






















                                                  up vote
                                                  5
                                                  down vote













                                                  Finally solved!



                                                  What worked for me was to make the framework "optional" instead of "required".



                                                  Hope that helps!






                                                  share|improve this answer

























                                                    up vote
                                                    5
                                                    down vote













                                                    Finally solved!



                                                    What worked for me was to make the framework "optional" instead of "required".



                                                    Hope that helps!






                                                    share|improve this answer























                                                      up vote
                                                      5
                                                      down vote










                                                      up vote
                                                      5
                                                      down vote









                                                      Finally solved!



                                                      What worked for me was to make the framework "optional" instead of "required".



                                                      Hope that helps!






                                                      share|improve this answer












                                                      Finally solved!



                                                      What worked for me was to make the framework "optional" instead of "required".



                                                      Hope that helps!







                                                      share|improve this answer












                                                      share|improve this answer



                                                      share|improve this answer










                                                      answered Jan 1 at 12:21









                                                      Eran Talmor

                                                      1,6781115




                                                      1,6781115






















                                                          up vote
                                                          4
                                                          down vote













                                                          Unchecking "Guard Malloc" in diagnostics worked for me. See Image for settings






                                                          share|improve this answer



















                                                          • 2




                                                            Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                            – Mojo66
                                                            Apr 1 at 11:20










                                                          • You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                            – Karanveer Singh
                                                            Nov 5 at 7:27















                                                          up vote
                                                          4
                                                          down vote













                                                          Unchecking "Guard Malloc" in diagnostics worked for me. See Image for settings






                                                          share|improve this answer



















                                                          • 2




                                                            Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                            – Mojo66
                                                            Apr 1 at 11:20










                                                          • You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                            – Karanveer Singh
                                                            Nov 5 at 7:27













                                                          up vote
                                                          4
                                                          down vote










                                                          up vote
                                                          4
                                                          down vote









                                                          Unchecking "Guard Malloc" in diagnostics worked for me. See Image for settings






                                                          share|improve this answer














                                                          Unchecking "Guard Malloc" in diagnostics worked for me. See Image for settings







                                                          share|improve this answer














                                                          share|improve this answer



                                                          share|improve this answer








                                                          edited Oct 25 at 10:26

























                                                          answered Nov 6 '17 at 9:05









                                                          infiniteLoop

                                                          1,0031526




                                                          1,0031526








                                                          • 2




                                                            Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                            – Mojo66
                                                            Apr 1 at 11:20










                                                          • You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                            – Karanveer Singh
                                                            Nov 5 at 7:27














                                                          • 2




                                                            Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                            – Mojo66
                                                            Apr 1 at 11:20










                                                          • You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                            – Karanveer Singh
                                                            Nov 5 at 7:27








                                                          2




                                                          2




                                                          Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                          – Mojo66
                                                          Apr 1 at 11:20




                                                          Guard Malloc, to be correct. Anyone know why it fixes the crash?
                                                          – Mojo66
                                                          Apr 1 at 11:20












                                                          You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                          – Karanveer Singh
                                                          Nov 5 at 7:27




                                                          You can also try Cleaning the project and then run again or just restart Xcode. These kind of errors are just annoying and are kind of like bugs in Xcode
                                                          – Karanveer Singh
                                                          Nov 5 at 7:27










                                                          up vote
                                                          3
                                                          down vote













                                                          I encountered an error with the same signature (my project was in Obj-C) and discovered I had forgotten to link with the appropriate framework. The error message in the debug log that led to finding the error was:



                                                          dyld: Symbol not found: _OBJC_CLASS_$_SFSafariViewController



                                                          For my specific error, adding SafariServices.framework in the Targets --> Build Phases --> "Link Binary With Libraries" resolved the issue. While you probably don't have the same specific error and resolution, checking the debug log for clues is useful.






                                                          share|improve this answer



























                                                            up vote
                                                            3
                                                            down vote













                                                            I encountered an error with the same signature (my project was in Obj-C) and discovered I had forgotten to link with the appropriate framework. The error message in the debug log that led to finding the error was:



                                                            dyld: Symbol not found: _OBJC_CLASS_$_SFSafariViewController



                                                            For my specific error, adding SafariServices.framework in the Targets --> Build Phases --> "Link Binary With Libraries" resolved the issue. While you probably don't have the same specific error and resolution, checking the debug log for clues is useful.






                                                            share|improve this answer

























                                                              up vote
                                                              3
                                                              down vote










                                                              up vote
                                                              3
                                                              down vote









                                                              I encountered an error with the same signature (my project was in Obj-C) and discovered I had forgotten to link with the appropriate framework. The error message in the debug log that led to finding the error was:



                                                              dyld: Symbol not found: _OBJC_CLASS_$_SFSafariViewController



                                                              For my specific error, adding SafariServices.framework in the Targets --> Build Phases --> "Link Binary With Libraries" resolved the issue. While you probably don't have the same specific error and resolution, checking the debug log for clues is useful.






                                                              share|improve this answer














                                                              I encountered an error with the same signature (my project was in Obj-C) and discovered I had forgotten to link with the appropriate framework. The error message in the debug log that led to finding the error was:



                                                              dyld: Symbol not found: _OBJC_CLASS_$_SFSafariViewController



                                                              For my specific error, adding SafariServices.framework in the Targets --> Build Phases --> "Link Binary With Libraries" resolved the issue. While you probably don't have the same specific error and resolution, checking the debug log for clues is useful.







                                                              share|improve this answer














                                                              share|improve this answer



                                                              share|improve this answer








                                                              edited May 2 at 15:45

























                                                              answered May 2 at 15:40









                                                              user1825506

                                                              413




                                                              413






















                                                                  up vote
                                                                  3
                                                                  down vote













                                                                  1) Continue the execution to see if any message shows up in debugger such as "MyFramework.framework" not found. If that is the case, follow this discussion: OS X Framework Library not loaded: 'Image not found'
                                                                  For me this answer worked:https://stackoverflow.com/a/44796734/4060763



                                                                  2) Make sure you have added your binaries through "Embed Binaries" section.



                                                                  3) Make sure you have enabled signing of frameworks in build phase section.



                                                                  4) Make sure the embedded frameworks are not symlinks.



                                                                  5) You can make the linked frameworks optional instead of required in "Link binary with libraries" phase. This will tell iOS to not look for these frameworks during launch. But anyway you need to fix the errors to use those frameworks!



                                                                  6) Check if all the info.plist entries are good. In my case, I was using a Mac info.plist file for iOS. It was looking for some xib file which was not present in iOS project.



                                                                  7) Do a clean and build after any such change. This is required because xcode does not copy/change these files if they already exist.



                                                                  8) Remove the app from iPad and then install. Same reason as 7.






                                                                  share|improve this answer

























                                                                    up vote
                                                                    3
                                                                    down vote













                                                                    1) Continue the execution to see if any message shows up in debugger such as "MyFramework.framework" not found. If that is the case, follow this discussion: OS X Framework Library not loaded: 'Image not found'
                                                                    For me this answer worked:https://stackoverflow.com/a/44796734/4060763



                                                                    2) Make sure you have added your binaries through "Embed Binaries" section.



                                                                    3) Make sure you have enabled signing of frameworks in build phase section.



                                                                    4) Make sure the embedded frameworks are not symlinks.



                                                                    5) You can make the linked frameworks optional instead of required in "Link binary with libraries" phase. This will tell iOS to not look for these frameworks during launch. But anyway you need to fix the errors to use those frameworks!



                                                                    6) Check if all the info.plist entries are good. In my case, I was using a Mac info.plist file for iOS. It was looking for some xib file which was not present in iOS project.



                                                                    7) Do a clean and build after any such change. This is required because xcode does not copy/change these files if they already exist.



                                                                    8) Remove the app from iPad and then install. Same reason as 7.






                                                                    share|improve this answer























                                                                      up vote
                                                                      3
                                                                      down vote










                                                                      up vote
                                                                      3
                                                                      down vote









                                                                      1) Continue the execution to see if any message shows up in debugger such as "MyFramework.framework" not found. If that is the case, follow this discussion: OS X Framework Library not loaded: 'Image not found'
                                                                      For me this answer worked:https://stackoverflow.com/a/44796734/4060763



                                                                      2) Make sure you have added your binaries through "Embed Binaries" section.



                                                                      3) Make sure you have enabled signing of frameworks in build phase section.



                                                                      4) Make sure the embedded frameworks are not symlinks.



                                                                      5) You can make the linked frameworks optional instead of required in "Link binary with libraries" phase. This will tell iOS to not look for these frameworks during launch. But anyway you need to fix the errors to use those frameworks!



                                                                      6) Check if all the info.plist entries are good. In my case, I was using a Mac info.plist file for iOS. It was looking for some xib file which was not present in iOS project.



                                                                      7) Do a clean and build after any such change. This is required because xcode does not copy/change these files if they already exist.



                                                                      8) Remove the app from iPad and then install. Same reason as 7.






                                                                      share|improve this answer












                                                                      1) Continue the execution to see if any message shows up in debugger such as "MyFramework.framework" not found. If that is the case, follow this discussion: OS X Framework Library not loaded: 'Image not found'
                                                                      For me this answer worked:https://stackoverflow.com/a/44796734/4060763



                                                                      2) Make sure you have added your binaries through "Embed Binaries" section.



                                                                      3) Make sure you have enabled signing of frameworks in build phase section.



                                                                      4) Make sure the embedded frameworks are not symlinks.



                                                                      5) You can make the linked frameworks optional instead of required in "Link binary with libraries" phase. This will tell iOS to not look for these frameworks during launch. But anyway you need to fix the errors to use those frameworks!



                                                                      6) Check if all the info.plist entries are good. In my case, I was using a Mac info.plist file for iOS. It was looking for some xib file which was not present in iOS project.



                                                                      7) Do a clean and build after any such change. This is required because xcode does not copy/change these files if they already exist.



                                                                      8) Remove the app from iPad and then install. Same reason as 7.







                                                                      share|improve this answer












                                                                      share|improve this answer



                                                                      share|improve this answer










                                                                      answered May 19 at 18:09









                                                                      coolVick

                                                                      46826




                                                                      46826






















                                                                          up vote
                                                                          2
                                                                          down vote













                                                                          To answer the original question "What can i do to have more informations about the issue ?", this Apple forum thread provides a very simple tip: simply run your crashing app outside XCode (i.e. stop it from XCode, then run it manually on your device). This will produce a crash log containing more details about what happened. You can then review this log from XCode Window menu / Devices and Simulators -> View Device Logs.






                                                                          share|improve this answer

























                                                                            up vote
                                                                            2
                                                                            down vote













                                                                            To answer the original question "What can i do to have more informations about the issue ?", this Apple forum thread provides a very simple tip: simply run your crashing app outside XCode (i.e. stop it from XCode, then run it manually on your device). This will produce a crash log containing more details about what happened. You can then review this log from XCode Window menu / Devices and Simulators -> View Device Logs.






                                                                            share|improve this answer























                                                                              up vote
                                                                              2
                                                                              down vote










                                                                              up vote
                                                                              2
                                                                              down vote









                                                                              To answer the original question "What can i do to have more informations about the issue ?", this Apple forum thread provides a very simple tip: simply run your crashing app outside XCode (i.e. stop it from XCode, then run it manually on your device). This will produce a crash log containing more details about what happened. You can then review this log from XCode Window menu / Devices and Simulators -> View Device Logs.






                                                                              share|improve this answer












                                                                              To answer the original question "What can i do to have more informations about the issue ?", this Apple forum thread provides a very simple tip: simply run your crashing app outside XCode (i.e. stop it from XCode, then run it manually on your device). This will produce a crash log containing more details about what happened. You can then review this log from XCode Window menu / Devices and Simulators -> View Device Logs.







                                                                              share|improve this answer












                                                                              share|improve this answer



                                                                              share|improve this answer










                                                                              answered Sep 28 at 7:07









                                                                              fred

                                                                              314




                                                                              314






















                                                                                  up vote
                                                                                  1
                                                                                  down vote













                                                                                  If you're using a framework written in Swift in an Objective-C application, you need to include the Swift toolchain in the app that consumes the framework.



                                                                                  The way I've found to do this is to create a dummy swift file in the app so that XCode recognizes swift and appropriately adds it to the project. You can then delete the dummy file.



                                                                                  I would love if someone knew of a better way to explicitly add swift to an objective-c project without adding a swift file.






                                                                                  share|improve this answer

























                                                                                    up vote
                                                                                    1
                                                                                    down vote













                                                                                    If you're using a framework written in Swift in an Objective-C application, you need to include the Swift toolchain in the app that consumes the framework.



                                                                                    The way I've found to do this is to create a dummy swift file in the app so that XCode recognizes swift and appropriately adds it to the project. You can then delete the dummy file.



                                                                                    I would love if someone knew of a better way to explicitly add swift to an objective-c project without adding a swift file.






                                                                                    share|improve this answer























                                                                                      up vote
                                                                                      1
                                                                                      down vote










                                                                                      up vote
                                                                                      1
                                                                                      down vote









                                                                                      If you're using a framework written in Swift in an Objective-C application, you need to include the Swift toolchain in the app that consumes the framework.



                                                                                      The way I've found to do this is to create a dummy swift file in the app so that XCode recognizes swift and appropriately adds it to the project. You can then delete the dummy file.



                                                                                      I would love if someone knew of a better way to explicitly add swift to an objective-c project without adding a swift file.






                                                                                      share|improve this answer












                                                                                      If you're using a framework written in Swift in an Objective-C application, you need to include the Swift toolchain in the app that consumes the framework.



                                                                                      The way I've found to do this is to create a dummy swift file in the app so that XCode recognizes swift and appropriately adds it to the project. You can then delete the dummy file.



                                                                                      I would love if someone knew of a better way to explicitly add swift to an objective-c project without adding a swift file.







                                                                                      share|improve this answer












                                                                                      share|improve this answer



                                                                                      share|improve this answer










                                                                                      answered Sep 1 '17 at 21:29









                                                                                      markw

                                                                                      1771111




                                                                                      1771111






















                                                                                          up vote
                                                                                          1
                                                                                          down vote













                                                                                          I find the right way to resolve it.



                                                                                          Make sure the AppleWWDRCA.cer be set system default mode, then it will work:



                                                                                          enter image description here






                                                                                          share|improve this answer























                                                                                          • Worked for me as well.
                                                                                            – dev_shanghai
                                                                                            Sep 15 at 10:32















                                                                                          up vote
                                                                                          1
                                                                                          down vote













                                                                                          I find the right way to resolve it.



                                                                                          Make sure the AppleWWDRCA.cer be set system default mode, then it will work:



                                                                                          enter image description here






                                                                                          share|improve this answer























                                                                                          • Worked for me as well.
                                                                                            – dev_shanghai
                                                                                            Sep 15 at 10:32













                                                                                          up vote
                                                                                          1
                                                                                          down vote










                                                                                          up vote
                                                                                          1
                                                                                          down vote









                                                                                          I find the right way to resolve it.



                                                                                          Make sure the AppleWWDRCA.cer be set system default mode, then it will work:



                                                                                          enter image description here






                                                                                          share|improve this answer














                                                                                          I find the right way to resolve it.



                                                                                          Make sure the AppleWWDRCA.cer be set system default mode, then it will work:



                                                                                          enter image description here







                                                                                          share|improve this answer














                                                                                          share|improve this answer



                                                                                          share|improve this answer








                                                                                          edited Jul 18 at 9:19









                                                                                          Brian Tompsett - 汤莱恩

                                                                                          4,153133699




                                                                                          4,153133699










                                                                                          answered Jul 18 at 8:58









                                                                                          Leo

                                                                                          111




                                                                                          111












                                                                                          • Worked for me as well.
                                                                                            – dev_shanghai
                                                                                            Sep 15 at 10:32


















                                                                                          • Worked for me as well.
                                                                                            – dev_shanghai
                                                                                            Sep 15 at 10:32
















                                                                                          Worked for me as well.
                                                                                          – dev_shanghai
                                                                                          Sep 15 at 10:32




                                                                                          Worked for me as well.
                                                                                          – dev_shanghai
                                                                                          Sep 15 at 10:32










                                                                                          up vote
                                                                                          0
                                                                                          down vote













                                                                                          I have fixed my error in my project.

                                                                                          1. Check other threads when error happened.I found my error is about camera.



                                                                                          enter image description here




                                                                                          1. Add the Camera privacy in Info.plist file.

                                                                                            1)Open the info.plist file.

                                                                                            2)Add a new key called "Privacy - Camera Usage Description" and enter a string that describes why the app need camera.The describes will display when your app need to use the privacy.


                                                                                          enter image description here






                                                                                          share|improve this answer























                                                                                          • @Dmitry Thanks for format.
                                                                                            – WangYang
                                                                                            Nov 21 '17 at 9:27















                                                                                          up vote
                                                                                          0
                                                                                          down vote













                                                                                          I have fixed my error in my project.

                                                                                          1. Check other threads when error happened.I found my error is about camera.



                                                                                          enter image description here




                                                                                          1. Add the Camera privacy in Info.plist file.

                                                                                            1)Open the info.plist file.

                                                                                            2)Add a new key called "Privacy - Camera Usage Description" and enter a string that describes why the app need camera.The describes will display when your app need to use the privacy.


                                                                                          enter image description here






                                                                                          share|improve this answer























                                                                                          • @Dmitry Thanks for format.
                                                                                            – WangYang
                                                                                            Nov 21 '17 at 9:27













                                                                                          up vote
                                                                                          0
                                                                                          down vote










                                                                                          up vote
                                                                                          0
                                                                                          down vote









                                                                                          I have fixed my error in my project.

                                                                                          1. Check other threads when error happened.I found my error is about camera.



                                                                                          enter image description here




                                                                                          1. Add the Camera privacy in Info.plist file.

                                                                                            1)Open the info.plist file.

                                                                                            2)Add a new key called "Privacy - Camera Usage Description" and enter a string that describes why the app need camera.The describes will display when your app need to use the privacy.


                                                                                          enter image description here






                                                                                          share|improve this answer














                                                                                          I have fixed my error in my project.

                                                                                          1. Check other threads when error happened.I found my error is about camera.



                                                                                          enter image description here




                                                                                          1. Add the Camera privacy in Info.plist file.

                                                                                            1)Open the info.plist file.

                                                                                            2)Add a new key called "Privacy - Camera Usage Description" and enter a string that describes why the app need camera.The describes will display when your app need to use the privacy.


                                                                                          enter image description here







                                                                                          share|improve this answer














                                                                                          share|improve this answer



                                                                                          share|improve this answer








                                                                                          edited Nov 21 '17 at 8:20









                                                                                          Dmitry

                                                                                          3,42892329




                                                                                          3,42892329










                                                                                          answered Nov 21 '17 at 7:52









                                                                                          WangYang

                                                                                          12




                                                                                          12












                                                                                          • @Dmitry Thanks for format.
                                                                                            – WangYang
                                                                                            Nov 21 '17 at 9:27


















                                                                                          • @Dmitry Thanks for format.
                                                                                            – WangYang
                                                                                            Nov 21 '17 at 9:27
















                                                                                          @Dmitry Thanks for format.
                                                                                          – WangYang
                                                                                          Nov 21 '17 at 9:27




                                                                                          @Dmitry Thanks for format.
                                                                                          – WangYang
                                                                                          Nov 21 '17 at 9:27










                                                                                          up vote
                                                                                          0
                                                                                          down vote













                                                                                          if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.






                                                                                          share|improve this answer

























                                                                                            up vote
                                                                                            0
                                                                                            down vote













                                                                                            if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.






                                                                                            share|improve this answer























                                                                                              up vote
                                                                                              0
                                                                                              down vote










                                                                                              up vote
                                                                                              0
                                                                                              down vote









                                                                                              if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.






                                                                                              share|improve this answer












                                                                                              if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.







                                                                                              share|improve this answer












                                                                                              share|improve this answer



                                                                                              share|improve this answer










                                                                                              answered Mar 22 at 9:00









                                                                                              mata

                                                                                              835




                                                                                              835






















                                                                                                  up vote
                                                                                                  0
                                                                                                  down vote













                                                                                                  I've just had the same issue and the reason why was due to the fact that I've revoked my Developer Certificates and created new ones with Xcode 10, after a fresh macOS Mojave update (for some it deleted all login credentials and outdated some keychain certificates).



                                                                                                  So, All I had to do was to remove the installed apps from my device and run them through Xcode again, in order for it to install the right new Provisioning Profile in my device :)






                                                                                                  share|improve this answer

























                                                                                                    up vote
                                                                                                    0
                                                                                                    down vote













                                                                                                    I've just had the same issue and the reason why was due to the fact that I've revoked my Developer Certificates and created new ones with Xcode 10, after a fresh macOS Mojave update (for some it deleted all login credentials and outdated some keychain certificates).



                                                                                                    So, All I had to do was to remove the installed apps from my device and run them through Xcode again, in order for it to install the right new Provisioning Profile in my device :)






                                                                                                    share|improve this answer























                                                                                                      up vote
                                                                                                      0
                                                                                                      down vote










                                                                                                      up vote
                                                                                                      0
                                                                                                      down vote









                                                                                                      I've just had the same issue and the reason why was due to the fact that I've revoked my Developer Certificates and created new ones with Xcode 10, after a fresh macOS Mojave update (for some it deleted all login credentials and outdated some keychain certificates).



                                                                                                      So, All I had to do was to remove the installed apps from my device and run them through Xcode again, in order for it to install the right new Provisioning Profile in my device :)






                                                                                                      share|improve this answer












                                                                                                      I've just had the same issue and the reason why was due to the fact that I've revoked my Developer Certificates and created new ones with Xcode 10, after a fresh macOS Mojave update (for some it deleted all login credentials and outdated some keychain certificates).



                                                                                                      So, All I had to do was to remove the installed apps from my device and run them through Xcode again, in order for it to install the right new Provisioning Profile in my device :)







                                                                                                      share|improve this answer












                                                                                                      share|improve this answer



                                                                                                      share|improve this answer










                                                                                                      answered Sep 26 at 5:34









                                                                                                      xscoder

                                                                                                      1,14521431




                                                                                                      1,14521431






















                                                                                                          up vote
                                                                                                          0
                                                                                                          down vote













                                                                                                          I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.



                                                                                                          Don't know if this info helps anybody else though...






                                                                                                          share|improve this answer

























                                                                                                            up vote
                                                                                                            0
                                                                                                            down vote













                                                                                                            I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.



                                                                                                            Don't know if this info helps anybody else though...






                                                                                                            share|improve this answer























                                                                                                              up vote
                                                                                                              0
                                                                                                              down vote










                                                                                                              up vote
                                                                                                              0
                                                                                                              down vote









                                                                                                              I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.



                                                                                                              Don't know if this info helps anybody else though...






                                                                                                              share|improve this answer












                                                                                                              I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.



                                                                                                              Don't know if this info helps anybody else though...







                                                                                                              share|improve this answer












                                                                                                              share|improve this answer



                                                                                                              share|improve this answer










                                                                                                              answered Nov 8 at 15:50









                                                                                                              Linus Karlsson

                                                                                                              112




                                                                                                              112






















                                                                                                                  up vote
                                                                                                                  0
                                                                                                                  down vote













                                                                                                                  I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.






                                                                                                                  share|improve this answer

























                                                                                                                    up vote
                                                                                                                    0
                                                                                                                    down vote













                                                                                                                    I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.






                                                                                                                    share|improve this answer























                                                                                                                      up vote
                                                                                                                      0
                                                                                                                      down vote










                                                                                                                      up vote
                                                                                                                      0
                                                                                                                      down vote









                                                                                                                      I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.






                                                                                                                      share|improve this answer












                                                                                                                      I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.







                                                                                                                      share|improve this answer












                                                                                                                      share|improve this answer



                                                                                                                      share|improve this answer










                                                                                                                      answered Nov 22 at 8:14









                                                                                                                      Arpit Panda

                                                                                                                      11




                                                                                                                      11






















                                                                                                                          up vote
                                                                                                                          -1
                                                                                                                          down vote













                                                                                                                          I got it sorted by "pod install" command.






                                                                                                                          share|improve this answer

























                                                                                                                            up vote
                                                                                                                            -1
                                                                                                                            down vote













                                                                                                                            I got it sorted by "pod install" command.






                                                                                                                            share|improve this answer























                                                                                                                              up vote
                                                                                                                              -1
                                                                                                                              down vote










                                                                                                                              up vote
                                                                                                                              -1
                                                                                                                              down vote









                                                                                                                              I got it sorted by "pod install" command.






                                                                                                                              share|improve this answer












                                                                                                                              I got it sorted by "pod install" command.







                                                                                                                              share|improve this answer












                                                                                                                              share|improve this answer



                                                                                                                              share|improve this answer










                                                                                                                              answered May 20 '17 at 12:19









                                                                                                                              Amandeep Singh

                                                                                                                              34934




                                                                                                                              34934






























                                                                                                                                  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%2f42027601%2fdyld-abort-with-payload-with-no-error-message%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

                                                                                                                                  What visual should I use to simply compare current year value vs last year in Power BI desktop

                                                                                                                                  Alexandru Averescu

                                                                                                                                  Trompette piccolo