Skip to content
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

Xcode 16 build error fix + new version release #137

Merged
merged 3 commits into from
Nov 21, 2024
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
Loading