dyld`__abort_with_payload: With no error message
up vote
42
down vote
favorite
When i start my app with XCode, i have a crash but no error
App is just stopping on this thread
What can i do to have more informations about the issue ?
ios xcode xcode8
add a comment |
up vote
42
down vote
favorite
When i start my app with XCode, i have a crash but no error
App is just stopping on this thread
What can i do to have more informations about the issue ?
ios xcode xcode8
add a comment |
up vote
42
down vote
favorite
up vote
42
down vote
favorite
When i start my app with XCode, i have a crash but no error
App is just stopping on this thread
What can i do to have more informations about the issue ?
ios xcode xcode8
When i start my app with XCode, i have a crash but no error
App is just stopping on this thread
What can i do to have more informations about the issue ?
ios xcode xcode8
ios xcode xcode8
asked Feb 3 '17 at 15:26
Kevin ABRIOUX
6,60745153
6,60745153
add a comment |
add a comment |
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.
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
add a comment |
up vote
39
down vote
For me a simple Clean
and Rebuild
sorted it out. Hope it helps.
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
add a comment |
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 ;-) ):
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).
add a comment |
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:
hope this was useful to you.
add a comment |
up vote
5
down vote
Finally solved!
What worked for me was to make the framework "optional" instead of "required".
Hope that helps!
add a comment |
up vote
4
down vote
Unchecking "Guard Malloc" in diagnostics worked for me.
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
add a comment |
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.
add a comment |
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:
Worked for me as well.
– dev_shanghai
Sep 15 at 10:32
add a comment |
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.
- 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.
@Dmitry Thanks for format.
– WangYang
Nov 21 '17 at 9:27
add a comment |
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.
add a comment |
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 :)
add a comment |
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...
add a comment |
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.
add a comment |
up vote
-1
down vote
I got it sorted by "pod install" command.
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
up vote
39
down vote
For me a simple Clean
and Rebuild
sorted it out. Hope it helps.
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
add a comment |
up vote
39
down vote
For me a simple Clean
and Rebuild
sorted it out. Hope it helps.
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
add a comment |
up vote
39
down vote
up vote
39
down vote
For me a simple Clean
and Rebuild
sorted it out. Hope it helps.
For me a simple Clean
and Rebuild
sorted it out. Hope it helps.
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
add a comment |
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
add a comment |
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 ;-) ):
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).
add a comment |
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 ;-) ):
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).
add a comment |
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 ;-) ):
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).
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 ;-) ):
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).
edited Oct 5 at 18:39
answered Dec 19 '17 at 16:33
William Cerniuk
8,97011318
8,97011318
add a comment |
add a comment |
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:
hope this was useful to you.
add a comment |
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:
hope this was useful to you.
add a comment |
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:
hope this was useful to you.
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:
hope this was useful to you.
edited Jun 1 '17 at 8:11
John Moutafis
11.6k42857
11.6k42857
answered Jun 1 '17 at 7:49
Hongbo Liu
8113
8113
add a comment |
add a comment |
up vote
5
down vote
Finally solved!
What worked for me was to make the framework "optional" instead of "required".
Hope that helps!
add a comment |
up vote
5
down vote
Finally solved!
What worked for me was to make the framework "optional" instead of "required".
Hope that helps!
add a comment |
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!
Finally solved!
What worked for me was to make the framework "optional" instead of "required".
Hope that helps!
answered Jan 1 at 12:21
Eran Talmor
1,6781115
1,6781115
add a comment |
add a comment |
up vote
4
down vote
Unchecking "Guard Malloc" in diagnostics worked for me.
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
add a comment |
up vote
4
down vote
Unchecking "Guard Malloc" in diagnostics worked for me.
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
add a comment |
up vote
4
down vote
up vote
4
down vote
Unchecking "Guard Malloc" in diagnostics worked for me.
Unchecking "Guard Malloc" in diagnostics worked for me.
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
add a comment |
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited May 2 at 15:45
answered May 2 at 15:40
user1825506
413
413
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered May 19 at 18:09
coolVick
46826
46826
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Sep 28 at 7:07
fred
314
314
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Sep 1 '17 at 21:29
markw
1771111
1771111
add a comment |
add a comment |
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:
Worked for me as well.
– dev_shanghai
Sep 15 at 10:32
add a comment |
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:
Worked for me as well.
– dev_shanghai
Sep 15 at 10:32
add a comment |
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:
I find the right way to resolve it.
Make sure the AppleWWDRCA.cer
be set system default mode, then it will work:
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
add a comment |
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
add a comment |
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.
- 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.
@Dmitry Thanks for format.
– WangYang
Nov 21 '17 at 9:27
add a comment |
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.
- 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.
@Dmitry Thanks for format.
– WangYang
Nov 21 '17 at 9:27
add a comment |
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.
- 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.
I have fixed my error in my project.
1. Check other threads when error happened.I found my error is about camera.
- 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.
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
add a comment |
@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
add a comment |
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.
add a comment |
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.
add a comment |
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.
if you use Carthage build framework, after drag the framework to your proj, you should add it to General/Embeded Binaries.
answered Mar 22 at 9:00
mata
835
835
add a comment |
add a comment |
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 :)
add a comment |
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 :)
add a comment |
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 :)
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 :)
answered Sep 26 at 5:34
xscoder
1,14521431
1,14521431
add a comment |
add a comment |
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...
add a comment |
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...
add a comment |
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...
I had just missed applying the "Privacy - Camera Usage Description" in the info.plist.
Don't know if this info helps anybody else though...
answered Nov 8 at 15:50
Linus Karlsson
112
112
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
I was facing the same issue. Setting 'Always Embed Swift Standard Libraries' to Yes in Build Settings of my target worked for me.
answered Nov 22 at 8:14
Arpit Panda
11
11
add a comment |
add a comment |
up vote
-1
down vote
I got it sorted by "pod install" command.
add a comment |
up vote
-1
down vote
I got it sorted by "pod install" command.
add a comment |
up vote
-1
down vote
up vote
-1
down vote
I got it sorted by "pod install" command.
I got it sorted by "pod install" command.
answered May 20 '17 at 12:19
Amandeep Singh
34934
34934
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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