From 04ffb9a5a68752baca54e71be27d4a6f0d9e54e5 Mon Sep 17 00:00:00 2001 From: Michal Sek Date: Fri, 5 Jul 2024 12:50:42 +0200 Subject: [PATCH] feat: fix ios setup --- example/ios/.xcode.env.local | 3 +-- .../AudioContextExample.xcodeproj/project.pbxproj | 14 +++++--------- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ 3 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 example/ios/AudioContextExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/example/ios/.xcode.env.local b/example/ios/.xcode.env.local index ed3bd87c..e728c10d 100644 --- a/example/ios/.xcode.env.local +++ b/example/ios/.xcode.env.local @@ -1,2 +1 @@ -export NODE_BINARY=/private/var/folders/n7/nsry50kx6lv1yk4h6zjjp1y40000gn/T/xfs-0d339e5b/node - +export NODE_BINARY=$(which node) diff --git a/example/ios/AudioContextExample.xcodeproj/project.pbxproj b/example/ios/AudioContextExample.xcodeproj/project.pbxproj index 26acf6a7..ed428ae8 100644 --- a/example/ios/AudioContextExample.xcodeproj/project.pbxproj +++ b/example/ios/AudioContextExample.xcodeproj/project.pbxproj @@ -45,7 +45,7 @@ 5DCACB8F33CDC322A6C60F78 /* libPods-AudioContextExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AudioContextExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AudioContextExample/LaunchScreen.storyboard; sourceTree = ""; }; 89C6BE57DB24E9ADA2F236DE /* Pods-AudioContextExample-AudioContextExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AudioContextExample-AudioContextExampleTests.release.xcconfig"; path = "Target Support Files/Pods-AudioContextExample-AudioContextExampleTests/Pods-AudioContextExample-AudioContextExampleTests.release.xcconfig"; sourceTree = ""; }; - A1DED26BD7068CAB697B6E9D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = AudioContextExample/PrivacyInfo.xcprivacy; sourceTree = ""; }; + A1DED26BD7068CAB697B6E9D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = AudioContextExample/PrivacyInfo.xcprivacy; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -472,6 +472,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = WC59N2X3FV; ENABLE_BITCODE = NO; INFOPLIST_FILE = AudioContextExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -499,6 +500,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = WC59N2X3FV; INFOPLIST_FILE = AudioContextExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -590,10 +592,7 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); - OTHER_LDFLAGS = ( - "$(inherited)", - " ", - ); + OTHER_LDFLAGS = "$(inherited) "; REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; USE_HERMES = true; @@ -665,10 +664,7 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); - OTHER_LDFLAGS = ( - "$(inherited)", - " ", - ); + OTHER_LDFLAGS = "$(inherited) "; REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; USE_HERMES = true; diff --git a/example/ios/AudioContextExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/AudioContextExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/example/ios/AudioContextExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +