Skip to content

Commit 14ea58d

Browse files
committed
fix: build issues for iOS example app
1 parent ff25bff commit 14ea58d

File tree

5 files changed

+546
-489
lines changed

5 files changed

+546
-489
lines changed

example/Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.5)
4+
CFPropertyList (3.0.6)
55
rexml
6-
activesupport (6.1.6.1)
6+
activesupport (6.1.7.2)
77
concurrent-ruby (~> 1.0, >= 1.0.2)
88
i18n (>= 1.6, < 2)
99
minitest (>= 5.1)
1010
tzinfo (~> 2.0)
1111
zeitwerk (~> 2.3)
12-
addressable (2.8.0)
13-
public_suffix (>= 2.0.2, < 5.0)
12+
addressable (2.8.1)
13+
public_suffix (>= 2.0.2, < 6.0)
1414
algoliasearch (1.27.5)
1515
httpclient (~> 2.8, >= 2.8.3)
1616
json (>= 1.5.1)
@@ -54,9 +54,9 @@ GEM
5454
netrc (~> 0.11)
5555
cocoapods-try (1.2.0)
5656
colored2 (3.1.2)
57-
concurrent-ruby (1.1.10)
57+
concurrent-ruby (1.2.0)
5858
escape (0.0.4)
59-
ethon (0.15.0)
59+
ethon (0.16.0)
6060
ffi (>= 1.15.0)
6161
ffi (1.15.5)
6262
fourflusher (2.3.1)
@@ -65,8 +65,8 @@ GEM
6565
httpclient (2.8.3)
6666
i18n (1.12.0)
6767
concurrent-ruby (~> 1.0)
68-
json (2.6.2)
69-
minitest (5.16.2)
68+
json (2.6.3)
69+
minitest (5.17.0)
7070
molinillo (0.8.0)
7171
nanaimo (0.3.0)
7272
nap (1.1.0)
@@ -76,7 +76,7 @@ GEM
7676
ruby-macho (2.5.1)
7777
typhoeus (1.4.0)
7878
ethon (>= 0.9.0)
79-
tzinfo (2.0.5)
79+
tzinfo (2.0.6)
8080
concurrent-ruby (~> 1.0)
8181
xcodeproj (1.22.0)
8282
CFPropertyList (>= 2.3.3, < 4.0)
@@ -85,16 +85,16 @@ GEM
8585
colored2 (~> 3.1)
8686
nanaimo (~> 0.3.0)
8787
rexml (~> 3.2.4)
88-
zeitwerk (2.6.0)
88+
zeitwerk (2.6.7)
8989

9090
PLATFORMS
9191
ruby
9292

9393
DEPENDENCIES
94-
cocoapods (~> 1.11, >= 1.11.2)
94+
cocoapods (~> 1.11, >= 1.11.3)
9595

9696
RUBY VERSION
97-
ruby 2.7.5p203
97+
ruby 2.7.6p219
9898

9999
BUNDLED WITH
100100
2.1.4

example/ios/BlobCourierExample.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@
444444
"$(SDKROOT)/usr/lib/swift",
445445
"$(inherited)",
446446
);
447+
MARKETING_VERSION = 1.0;
447448
OTHER_LDFLAGS = (
448449
"-ObjC",
449450
"-lc++",
@@ -472,6 +473,7 @@
472473
"$(SDKROOT)/usr/lib/swift",
473474
"$(inherited)",
474475
);
476+
MARKETING_VERSION = 1.0;
475477
OTHER_LDFLAGS = (
476478
"-ObjC",
477479
"-lc++",
@@ -500,6 +502,7 @@
500502
"$(SDKROOT)/usr/lib/swift",
501503
"$(inherited)",
502504
);
505+
MARKETING_VERSION = 1.0;
503506
OTHER_LDFLAGS = (
504507
"$(inherited)",
505508
"-ObjC",
@@ -529,6 +532,7 @@
529532
"$(SDKROOT)/usr/lib/swift",
530533
"$(inherited)",
531534
);
535+
MARKETING_VERSION = 1.0;
532536
OTHER_LDFLAGS = (
533537
"$(inherited)",
534538
"-ObjC",
@@ -546,7 +550,7 @@
546550
buildSettings = {
547551
ALWAYS_SEARCH_USER_PATHS = NO;
548552
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
549-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
553+
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
550554
CLANG_CXX_LIBRARY = "libc++";
551555
CLANG_ENABLE_MODULES = YES;
552556
CLANG_ENABLE_OBJC_ARC = YES;
@@ -602,6 +606,7 @@
602606
);
603607
MTL_ENABLE_DEBUG_INFO = YES;
604608
ONLY_ACTIVE_ARCH = YES;
609+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
605610
SDKROOT = iphoneos;
606611
};
607612
name = Debug;
@@ -611,7 +616,7 @@
611616
buildSettings = {
612617
ALWAYS_SEARCH_USER_PATHS = NO;
613618
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
614-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
619+
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
615620
CLANG_CXX_LIBRARY = "libc++";
616621
CLANG_ENABLE_MODULES = YES;
617622
CLANG_ENABLE_OBJC_ARC = YES;
@@ -659,6 +664,7 @@
659664
"\"$(inherited)\"",
660665
);
661666
MTL_ENABLE_DEBUG_INFO = NO;
667+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
662668
SDKROOT = iphoneos;
663669
VALIDATE_PRODUCT = YES;
664670
};

example/ios/BlobCourierExample/AppDelegate.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ @implementation AppDelegate
66

77
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
88
{
9-
self.moduleName = @"RnDiffApp";
9+
self.moduleName = @"BlobCourierExample";
1010
// You can add your custom initial props in the dictionary below.
1111
// They will be passed down to the ViewController used by React Native.
1212
self.initialProps = @{};

0 commit comments

Comments
 (0)