Skip to content

Commit ae29856

Browse files
authored
Bring CI back to life (#477)
* Trigger CI * Bump `cimg/android` image * Update `Podfile.lock` files * Bump `android/android-machine` * Bump `xcode-version` * Use latest tag for `android/android-machine` * Downgrade Android images * Upgrade 0.72 project * Bump 0.72 project to 0.72.17 * Downgrade yarn * Disable `test-expo-web` * Revert "Downgrade yarn" This reverts commit f024ada. * Revert "Bump 0.72 project to 0.72.17" This reverts commit 523815a. * Update to `0.72.13` * Fix `hermes-engine` pod * Remove iOS test on 0.68 * Disable `test-hermes-ios` * Update `PrivacyInfo.xcprivacy` path
1 parent 1272c4d commit ae29856

File tree

8 files changed

+562
-528
lines changed

8 files changed

+562
-528
lines changed

.circleci/config.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: 2.1
22

33
aliases:
4-
- &xcode-version 15.1.0
4+
- &xcode-version 15.4.0
55
- &node-version '20.10.0'
66
- &yarn-version '1.22.19'
77

88
orbs:
99
node: circleci/[email protected]
1010
browser-tools: circleci/[email protected]
11-
android: circleci/android@2.3.0
11+
android: circleci/android@2.5.0
1212

1313
executors:
1414
node:
@@ -225,7 +225,7 @@ jobs:
225225
executor:
226226
name: android/android-machine
227227
resource-class: large
228-
tag: 2023.11.1
228+
tag: 2023.08.1
229229
working_directory: ~/react-native-url-polyfill/platforms/react-native/<< parameters.react-native-version >>
230230
steps:
231231
- attach-workspace
@@ -332,7 +332,7 @@ workflows:
332332
- test-ios:
333333
matrix:
334334
parameters:
335-
react-native-version: ['0.68', '0.72']
335+
react-native-version: ['0.72']
336336
requires:
337337
- lint
338338
- test-js
@@ -343,22 +343,22 @@ workflows:
343343
requires:
344344
- lint
345345
- test-js
346-
- test-hermes-ios:
347-
matrix:
348-
parameters:
349-
react-native-version: ['0.68']
350-
requires:
351-
- test-ios-<< matrix.react-native-version >>
346+
# - test-hermes-ios:
347+
# matrix:
348+
# parameters:
349+
# react-native-version: ['0.68']
350+
# requires:
351+
# - test-ios-<< matrix.react-native-version >>
352352
- test-hermes-android:
353353
matrix:
354354
parameters:
355355
react-native-version: ['0.68']
356356
requires:
357357
- test-android-<< matrix.react-native-version >>
358-
- test-expo-web:
359-
matrix:
360-
parameters:
361-
expo-version: ['48']
362-
requires:
363-
- lint
364-
- test-js
358+
# - test-expo-web:
359+
# matrix:
360+
# parameters:
361+
# expo-version: ['48']
362+
# requires:
363+
# - lint
364+
# - test-js

platforms/react-native/0.68/ios/Podfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -516,13 +516,13 @@ SPEC CHECKSUMS:
516516
React: 176dd882de001854ced260fad41bb68a31aa4bd0
517517
React-callinvoker: c2864d1818d6e64928d2faf774a3800dfc38fe1f
518518
React-Codegen: 98b6f97f0a7abf7d67e4ce435c77c05b7a95cf05
519-
React-Core: fdaa2916b1c893f39f02cff0476d1fb0cab1e352
519+
React-Core: a201852f4b982eb7f12c1ca08f2af5670ce53610
520520
React-CoreModules: fd8705b80699ec36c2cdd635c2ce9d874b9cfdfc
521-
React-cxxreact: 1832d971f7b0cb2c7b943dc0ec962762c90c906e
522-
React-jsi: 72af715135abe8c3f0dcf3b2548b71d048b69a7e
523-
React-jsiexecutor: b7b553412f2ec768fe6c8f27cd6bafdb9d8719e6
521+
React-cxxreact: c15b2a342ba579181e923a59f568ec84f38811d5
522+
React-jsi: 2fbfe2d30d73966ce125fe4e11b0eb2f1c2e84a2
523+
React-jsiexecutor: fc9cea49a9b3e55071b32e97353c17e8dcef2725
524524
React-jsinspector: c5989c77cb89ae6a69561095a61cce56a44ae8e8
525-
React-logger: a0833912d93b36b791b7a521672d8ee89107aff1
525+
React-logger: 4d02c5a38d4ea66888bfa19448201520f1024260
526526
React-perflogger: a18b4f0bd933b8b24ecf9f3c54f9bf65180f3fe6
527527
React-RCTActionSheet: 547fe42fdb4b6089598d79f8e1d855d7c23e2162
528528
React-RCTAnimation: bc9440a1c37b06ae9ebbb532d244f607805c6034
@@ -534,11 +534,11 @@ SPEC CHECKSUMS:
534534
React-RCTText: f3fb464cc41a50fc7a1aba4deeb76a9ad8282cb9
535535
React-RCTVibration: 79040b92bfa9c3c2d2cb4f57e981164ec7ab9374
536536
React-runtimeexecutor: b960b687d2dfef0d3761fbb187e01812ebab8b23
537-
ReactCommon: 095366164a276d91ea704ce53cb03825c487a3f2
537+
ReactCommon: 6e27065b582af0ef4d4ca9f9b09acafbd429913b
538538
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
539539
Yoga: 99652481fcd320aefa4a7ef90095b95acd181952
540540
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
541541

542542
PODFILE CHECKSUM: 63addf81c85c09d5bc767c5b5a458bb4293a0823
543543

544-
COCOAPODS: 1.14.3
544+
COCOAPODS: 1.16.2

platforms/react-native/0.72/Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ source 'https://rubygems.org'
33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
44
ruby ">= 2.6.10"
55

6-
gem 'cocoapods', '~> 1.12'
6+
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7+
# bound in the template on Cocoapods with next React Native release.
8+
gem 'cocoapods', '>= 1.13', '< 1.15'
9+
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'

platforms/react-native/0.72/ios/Detox.xcodeproj/project.pbxproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
1313
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1414
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15+
6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */; };
1516
7699B88040F8A987B510C191 /* libPods-Detox-DetoxTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-Detox-DetoxTests.a */; };
1617
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1718
/* End PBXBuildFile section */
@@ -41,6 +42,7 @@
4142
5709B34CF0A7D63546082F79 /* Pods-Detox.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Detox.release.xcconfig"; path = "Target Support Files/Pods-Detox/Pods-Detox.release.xcconfig"; sourceTree = "<group>"; };
4243
5B7EB9410499542E8C5724F5 /* Pods-Detox-DetoxTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Detox-DetoxTests.debug.xcconfig"; path = "Target Support Files/Pods-Detox-DetoxTests/Pods-Detox-DetoxTests.debug.xcconfig"; sourceTree = "<group>"; };
4344
5DCACB8F33CDC322A6C60F78 /* libPods-Detox.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Detox.a"; sourceTree = BUILT_PRODUCTS_DIR; };
45+
6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
4446
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Detox/LaunchScreen.storyboard; sourceTree = "<group>"; };
4547
89C6BE57DB24E9ADA2F236DE /* Pods-Detox-DetoxTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Detox-DetoxTests.release.xcconfig"; path = "Target Support Files/Pods-Detox-DetoxTests/Pods-Detox-DetoxTests.release.xcconfig"; sourceTree = "<group>"; };
4648
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -116,6 +118,7 @@
116118
83CBB9F61A601CBA00E9B192 = {
117119
isa = PBXGroup;
118120
children = (
121+
6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */,
119122
13B07FAE1A68108700A75B9A /* Detox */,
120123
832341AE1AAA6A7D00B99B32 /* Libraries */,
121124
00E356EF1AD99517003FC87E /* DetoxTests */,
@@ -242,6 +245,7 @@
242245
isa = PBXResourcesBuildPhase;
243246
buildActionMask = 2147483647;
244247
files = (
248+
6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */,
245249
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
246250
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
247251
);
@@ -572,6 +576,7 @@
572576
GCC_PREPROCESSOR_DEFINITIONS = (
573577
"DEBUG=1",
574578
"$(inherited)",
579+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
575580
);
576581
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
577582
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -599,6 +604,7 @@
599604
"-DFOLLY_MOBILE=1",
600605
"-DFOLLY_USE_LIBCPP=1",
601606
);
607+
OTHER_LDFLAGS = "$(inherited)";
602608
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
603609
SDKROOT = iphoneos;
604610
};
@@ -640,6 +646,10 @@
640646
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
641647
GCC_C_LANGUAGE_STANDARD = gnu99;
642648
GCC_NO_COMMON_BLOCKS = YES;
649+
GCC_PREPROCESSOR_DEFINITIONS = (
650+
"$(inherited)",
651+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
652+
);
643653
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
644654
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
645655
GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -664,6 +674,7 @@
664674
"-DFOLLY_MOBILE=1",
665675
"-DFOLLY_USE_LIBCPP=1",
666676
);
677+
OTHER_LDFLAGS = "$(inherited)";
667678
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
668679
SDKROOT = iphoneos;
669680
VALIDATE_PRODUCT = YES;

0 commit comments

Comments
 (0)