Skip to content

Fix ios build on old xcode #374

Fix ios build on old xcode

Fix ios build on old xcode #374

Re-run triggered November 13, 2024 08:19
Status Success
Total duration 2m 3s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 37 warnings
build-ios
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3UAURZXSV7IJ8/RCTDeprecation-FA4CDKU9EFLS.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ReactNativeBottomTabsExample-gpermdiojumotfanieuoetwkxvbl/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_1UW7H0B4L71UD-clang_3UAURZXSV7IJ8.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/react-native-bottom-tabs/react-native-bottom-tabs/example/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
build-ios
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2VET1BCI500YL/RCTDeprecation-FA4CDKU9EFLS.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ReactNativeBottomTabsExample-gpermdiojumotfanieuoetwkxvbl/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_1XFSKFN2DWEYO-clang_2VET1BCI500YL.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/react-native-bottom-tabs/react-native-bottom-tabs/example/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
build-ios-newarch
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1QXUT4CZ6FMJ1/RCTDeprecation-FA4CDKU9EFLS.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ReactNativeBottomTabsExample-gpermdiojumotfanieuoetwkxvbl/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_1BVWRD6W17EL7-clang_1QXUT4CZ6FMJ1.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/react-native-bottom-tabs/react-native-bottom-tabs/example/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
build-ios-newarch
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2V3WTKWAM9JA8/RCTDeprecation-FA4CDKU9EFLS.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ReactNativeBottomTabsExample-gpermdiojumotfanieuoetwkxvbl/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_CTFEQ300MR4B-clang_2V3WTKWAM9JA8.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/react-native-bottom-tabs/react-native-bottom-tabs/example/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: example/src/App.tsx#L193
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “Navigation” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Examples/MaterialBottomTabs.tsx#L11
Inline style: { width: 20, height: 23 }
lint: example/src/Examples/MaterialBottomTabs.tsx#L21
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MaterialBottomTabs” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Examples/MaterialBottomTabs.tsx#L32
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MaterialBottomTabs” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Examples/MaterialBottomTabs.tsx#L41
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MaterialBottomTabs” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Examples/MaterialBottomTabs.tsx#L52
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “MaterialBottomTabs” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Examples/NativeBottomTabs.tsx#L21
Inline style: { fontFamily: 'Avenir', fontSize: 15 }
lint: example/src/Screens/Article.tsx#L27
Inline style: { color: '#000' }
lint: example/src/Screens/Article.tsx#L35
Inline style: { color: '#000' }
lint: example/src/Screens/Article.tsx#L57
Inline style: { backgroundColor: '#fff' }
build-library
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-android
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-android-newarch
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-ios
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-ios: example/ios/Pods/SDWebImage/SDWebImage/Core/SDWebImageDefine.m#L16
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios: example/ios/Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.m#L12
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios: example/ios/Pods/SDWebImage/SDWebImage/Core/SDWebImageDefine.m#L16
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios: example/ios/Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.m#L12
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios: ios/RCTTabViewViewManager.mm#L54
incompatible pointer types sending 'TabLongPressEvent *' to parameter of type 'id<RCTEvent>' [-Wincompatible-pointer-types]
build-ios: ios/RCTTabViewViewManager.mm#L59
incompatible pointer types sending 'PageSelectedEvent *' to parameter of type 'id<RCTEvent>' [-Wincompatible-pointer-types]
build-ios: ios/RCTTabViewViewManager.mm#L54
incompatible pointer types sending 'TabLongPressEvent *' to parameter of type 'id<RCTEvent>' [-Wincompatible-pointer-types]
build-ios: ios/RCTTabViewViewManager.mm#L59
incompatible pointer types sending 'PageSelectedEvent *' to parameter of type 'id<RCTEvent>' [-Wincompatible-pointer-types]
build-ios: example/node_modules/react-native-screens/ios/utils/UIView+RNSUtility.mm#L41
undeclared selector 'touchHandler' [-Wundeclared-selector]
build-ios: example/node_modules/react-native-screens/ios/utils/UIView+RNSUtility.mm#L46
undeclared selector 'touchHandler' [-Wundeclared-selector]
build-ios-newarch
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-ios-newarch: example/ios/Pods/SDWebImage/SDWebImage/Core/SDWebImageDefine.m#L16
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios-newarch: example/ios/Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.m#L12
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios-newarch: example/ios/Pods/SDWebImage/SDWebImage/Core/SDWebImageDefine.m#L16
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios-newarch: example/ios/Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.m#L12
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
build-ios-newarch: example/ios/Pods/Headers/Public/React-graphics/react/renderer/graphics/Transform.h#L148
parameter 'progress' not found in the function declaration [-Wdocumentation]