File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
#import " RNUnityView.h"
2
-
2
+ #ifdef DEBUG
3
+ #include < mach-o/ldsyms.h>
4
+ #endif
3
5
#ifdef RCT_NEW_ARCH_ENABLED
4
6
using namespace facebook ::react;
5
7
#endif
18
20
UnityFramework* ufw = [bundle.principalClass getInstance ];
19
21
if (![ufw appController ])
20
22
{
21
- [ufw setExecuteHeader: &_mh_execute_header];
23
+ #ifdef DEBUG
24
+ [ufw setExecuteHeader: &_mh_dylib_header];
25
+ #else
26
+ [ufw setExecuteHeader: &_mh_execute_header];
27
+ #endif
22
28
}
23
29
24
30
[ufw setDataBundleId: [bundle.bundleIdentifier cStringUsingEncoding: NSUTF8StringEncoding]];
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @azesmway/react-native-unity" ,
3
- "version" : " 1.0.10 " ,
3
+ "version" : " 1.0.11 " ,
4
4
"description" : " React Native Unity" ,
5
5
"main" : " lib/commonjs/index" ,
6
6
"module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments