Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions ios/RNUnityView.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#import "RNUnityView.h"

#ifdef DEBUG
#include <mach-o/ldsyms.h>
#endif
#ifdef RCT_NEW_ARCH_ENABLED
using namespace facebook::react;
#endif
Expand All @@ -18,7 +20,11 @@
UnityFramework* ufw = [bundle.principalClass getInstance];
if (![ufw appController])
{
[ufw setExecuteHeader: &_mh_execute_header];
#ifdef DEBUG
[ufw setExecuteHeader: &_mh_dylib_header];
#else
[ufw setExecuteHeader: &_mh_execute_header];
#endif
}

[ufw setDataBundleId: [bundle.bundleIdentifier cStringUsingEncoding:NSUTF8StringEncoding]];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azesmway/react-native-unity",
"version": "1.0.10",
"version": "1.0.11",
"description": "React Native Unity",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down