Skip to content

Commit 86f89a6

Browse files
authored
Merge pull request #137 from azesmway/jb-san/main
Xcode 16 build error fix + new version release
2 parents 40279d7 + 33fa182 commit 86f89a6

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

ios/RNUnityView.mm

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#import "RNUnityView.h"
2-
2+
#ifdef DEBUG
3+
#include <mach-o/ldsyms.h>
4+
#endif
35
#ifdef RCT_NEW_ARCH_ENABLED
46
using namespace facebook::react;
57
#endif
@@ -18,7 +20,11 @@
1820
UnityFramework* ufw = [bundle.principalClass getInstance];
1921
if (![ufw appController])
2022
{
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
2228
}
2329

2430
[ufw setDataBundleId: [bundle.bundleIdentifier cStringUsingEncoding:NSUTF8StringEncoding]];

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azesmway/react-native-unity",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "React Native Unity",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)