Closed Nathan2017 closed 3 years ago
Sounds like you need to clean your derived data. Also, why aren't you upgrading to version 8?
Sounds like you need to clean your derived data. Also, why aren't you upgrading to version 8?
Already clean the derived data and also upgrading to version 8 , still getting the retain cycle crash
Nobody else is having this issue, so I need more to go on. What do you mean by "retain cycle crash"?
Setting up the config seem to fix the problem but now there is an error on windowviewcontroller
Its kind of weird that if i comment out the setup just instantiate the SwiftMessages.Config() i will get swift_retain error
I've never seen swift_retain
and I don't see much online. Are you compiling with some non-default config? Did you check if you get this in the Demo app? If you can help me reproduce the problem, I can take a look. A sample project would be super helpful.
I've got this issue switch from 7.0
to work/xcode12
for SPM migration. Clean build helped.
Try 8.0.3
Closing. No reply since my last suggestion.
I've gone through the thread, but no solution was found. I'm using the latest version(9.0.2). Also cleared derived data and did project clean.
FYI: Your demo project with the same line work perfectly.
kindly help me with the same.
You can contact me at "raghava.dokala@gmail.com" for further discussion. I'm ready to help you to find the root cause.
@RaghavaNaidu46 this is going to be an issue with your project configuration, not SwiftMessages itself. Now are you installing SwiftMessages, e.g. CocoaPods, Carthage, Swift Package Manager?
Oh okay. Actually, I'm using SwiftMessages(CocoaPods) for three years, but recently I did a pod update. There the issue occurred. And I agree, my project configuration may be an issue for your new changes. If incase please help to get rid out of it.
@wtmoose Any update for me...
emmm...
change
public struct Config
to
public class Config
everthing will be ok
so weird! crashing will appear in one project...
@RaghavaNaidu46 I suggest looking through the list of EXC_BAD_ACCESS
issues that have been filed:
https://github.com/SwiftKickMobile/SwiftMessages/issues?q=is%3Aissue+exc_bad_access
I believe the most common problem is wrong Swift version. If none of this helps, I really have no idea how to help without reproduction steps or a sample project. This might be a good one to post on StackOverflow.
As I told above, it works perfectly within a new project. Will try again to reproduce the issue and share the POC here.
@RaghavaNaidu46 I suggest looking through the list of
EXC_BAD_ACCESS
issues that have been filed:https://github.com/SwiftKickMobile/SwiftMessages/issues?q=is%3Aissue+exc_bad_access
I believe the most common problem is wrong Swift version. If none of this helps, I really have no idea how to help without reproduction steps or a sample project. This might be a good one to post on StackOverflow.
@wtmoose Yes, it's because of an unspecified swift version. Thanks, brother.
Nice
version 5.0.1 working fine but when upgrading to 7.0.1 instantiate SwiftMessages.Config() or SwiftMessages.defaultConfig caused retain cycle. Hope someone can help me thank you.