We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e84083d commit 87603baCopy full SHA for 87603ba
ios/RNUnityView.mm
@@ -1,5 +1,7 @@
1
#import "RNUnityView.h"
2
-
+#ifdef DEBUG
3
+#include <mach-o/ldsyms.h>
4
+#endif
5
#ifdef RCT_NEW_ARCH_ENABLED
6
using namespace facebook::react;
7
#endif
@@ -18,7 +20,11 @@
18
20
UnityFramework* ufw = [bundle.principalClass getInstance];
19
21
if (![ufw appController])
22
{
- [ufw setExecuteHeader: &_mh_dylib_header];
23
24
+ [ufw setExecuteHeader: &_mh_dylib_header];
25
+#else
26
+ [ufw setExecuteHeader: &_mh_execute_header];
27
28
}
29
30
[ufw setDataBundleId: [bundle.bundleIdentifier cStringUsingEncoding:NSUTF8StringEncoding]];
0 commit comments