Skip to content

Commit 2d69cc1

Browse files
authored
feature: replacing redux with sovran (#422)
* fix: support m1 macs in the example project * feat: replacing redux with sovran
1 parent 01f71d6 commit 2d69cc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1644
-1616
lines changed

example/ios/AnalyticsReactNativeExample.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@
311311
CLANG_ENABLE_MODULES = YES;
312312
CURRENT_PROJECT_VERSION = 1;
313313
ENABLE_BITCODE = NO;
314+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
314315
INFOPLIST_FILE = AnalyticsReactNativeExample/Info.plist;
315316
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
316317
OTHER_CFLAGS = (
@@ -362,6 +363,7 @@
362363
COPY_PHASE_STRIP = NO;
363364
ENABLE_STRICT_OBJC_MSGSEND = YES;
364365
ENABLE_TESTABILITY = YES;
366+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
365367
GCC_C_LANGUAGE_STANDARD = gnu99;
366368
GCC_DYNAMIC_NO_PIC = NO;
367369
GCC_NO_COMMON_BLOCKS = YES;
@@ -415,6 +417,7 @@
415417
COPY_PHASE_STRIP = YES;
416418
ENABLE_NS_ASSERTIONS = NO;
417419
ENABLE_STRICT_OBJC_MSGSEND = YES;
420+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
418421
GCC_C_LANGUAGE_STANDARD = gnu99;
419422
GCC_NO_COMMON_BLOCKS = YES;
420423
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;

example/ios/Podfile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,20 @@ target 'AnalyticsReactNativeExample' do
1919
# to enable hermes on iOS, change `false` to `true` and then install pods
2020
:hermes_enabled => false
2121
)
22+
23+
# Pods for AnalyticsReactNativeExample
24+
pod 'segment-analytics-react-native', :path => '../../packages/core'
25+
# Pods for Plugins
26+
pod 'segment-analytics-react-native-plugin-idfa', :path => '../../packages/plugins/plugin-idfa'
27+
28+
# use_flipper!({ 'Flipper' => '0.125.0', 'Flipper-Folly' => '~> 2.6', 'Flipper-RSocket' => '~> 1.4', "Flipper-DoubleConversion" => "1.1.7" })
29+
post_install do |installer|
30+
installer.pods_project.targets.each do |target|
31+
target.build_configurations.each do |config|
32+
config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
33+
end
34+
end
35+
# flipper_post_install(installer)
36+
end
2237

23-
# Pods for AnalyticsReactNativeExample
24-
pod 'segment-analytics-react-native', :path => '../../packages/core'
25-
# Pods for Plugins
26-
pod 'segment-analytics-react-native-plugin-idfa', :path => '../../packages/plugins/plugin-idfa'
2738
end

0 commit comments

Comments
 (0)