New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[unimodules] App doesn't launch on RN 0.62.2 #8723
Comments
Confirming immediate crash on iOS bare workflow project when setting up due to unimodules setup instruction. @sjchmiela The new instruction(#8683) is much better than previous one, but I guess something is missed in it, bc it leads to crash... Logs:
UPDATE: Instruction works with the latest |
see #8706 |
Hey all, I've just verified that I got Flipper running alongside Unimodules. The project, created by:
is available at https://github.com/sjchmiela/flipper-with-unimodules. Let me know if this issue still exists or if there's still something wrong! 🙂 |
I am having the exact issue ,, with new project created with RN.0.62.2 |
The project was created the other way around — first, it was a unimodules project and only then I upgraded it to RN 0.62.2 and added Flipper. How did you initialize your project? I'll try to go through the process like you would do and find the bug this way. Or could you provide me with a preconfigured repository I could clone and tinker around with? |
If you share you email I would grant you access to my gitlab project |
Please contact me on Expo's Slack, the username is @sjchmiela, I'd rather not share my public e-mail in plaintext here. 🙂 |
Messaged you on slack |
To fix the problem in @MrFaisal100's project I "just" had to ensure that a recent fix to It adds a In the lower center section you can see So, for some (at least) of you, upgrading to To verify if that will fix it, go to static dispatch_once_t onceToken;
@implementation UMAppDelegateWrapper
+
+@synthesize window = _window;
- (void)forwardInvocation:(NSInvocation *)invocation { |
Hi |
Thanks a lot @sjchmiela, updating to the next tag indeed fixed it. |
@sjchmiela Thank you so much! I have spent 2 days searching for this problem and yours are the one that actually helped me! |
Thank You, So much for the fix. |
I've tried to set-up unimodules on a bare RN 0.62.2 project. During the configuration process, I've already encountered some differences to the documentation (especially when it comes to Flipper, which has newly been implemented in RN 0.62 and was missing in the example AppDelegate files).
These are my AppDelegate.m and AppDelegate.h as of now:
AppDelegate.m
AppDelegate.h
The app does not launch whatsoever. When run from Xcode, it crashes in Pods/FlipperKit/FlipperKitUserDefaultsPlugin/FKUserDefaultsSwizzleUtility.m in line 62 with the code EXC_BAD_ACCESS:
Here's the dump from the console:
(I've already tried to add the two background modes by the way.)
When I disable the line
InitializeFlipper(application)
in AppDelegate.m, the app then crashes in main.m in line 7:The text was updated successfully, but these errors were encountered: