renative icon indicating copy to clipboard operation
renative copied to clipboard

tvos run fails on app-harness

Open GabrieleKaceviciute opened this issue 1 year ago • 1 comments

Describe the bug Tvos run fails on app-harness, tested on release/1.0 branch

To Reproduce

  1. go to app-harness
  2. do npx rnv run -p tvos

Expected behavior harness runs on tvos

Screenshots or copy&paste

➜  ~/Desktop/tests/renative/packages/app-harness git:(release/1.0) npx rnv run -p tvos

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.9                                                   │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p tvos                                                 │
│        Start Time: 1/26/2024, 12:30:56 PM                                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-tvos[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn-tvos path: /Users/gabriele/Desktop/tests/renative/packages/engine-rn-tvos
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:undefined hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:harness
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] _applyTemplate[1] current:@rnv/template-starter selected:undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:harness
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:201.05 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:201.05 KB
[ task ] [app configure] generateBuildConfig[3] size:201.05 KB
[ task ] [app configure] generateBuildConfig[4] size:201.05 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:216.71 KB
[ task ] [app configure] generateBuildConfig[6] size:216.71 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:216.71 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:216.71 KB
[ info ] [app configure] Current App Config: harness
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.9,rnvProject:1.0.0-rc.9[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:harness
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ success ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
[ success ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:harness
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] configureXcodeProject[1]
[ task ] [configure] parseFonts[2]
[ task ] [configure] parsePlugins[3]
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/gabriele/Desktop/tests/renative/node_modules/@flexn/assets-renative-outline/assets/tvos. Will be used to generate assets.
[ task ] [configure] copyAppleAssets[1]
[ task ] [configure] parseAppDelegateSync[1]
[ task ] [configure] parsePlugins[4]
[ task ] [configure] parseXcscheme[1]
[ task ] [configure] parsePodFile[1]
[ task ] [configure] parsePlugins[5]
[ success ] [configure] /react-native-gesture-handler/RNGestureHandler.podspec requires override by: REACT_CORE_OVERRIDES. FIXING...DONE
✔ Executing: pod --version
[ task ] [configure] parseEntitlementsPlist[1]
[ task ] [configure] parseInfoPlist[1]
[ task ] [configure] parsePlugins[6]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/harness_tvos)
[ task ] [configure] parsePlugins[7]
[ task ] [configure] runCocoaPods[1] forceUpdate:false
✔ Executing: bundle install
✖ FAILED: bundle exec pod install
[ warn ] [configure] pod install is not enough! Let's try pod update! Error:
 COMMAND:

bundle exec pod install

FAILED with ERROR:

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Command failed with exit code 1: bundle exec pod install
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here

Error: Command failed with exit code 1: bundle exec pod install
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.
    at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


✔ Executing: bundle update
✖ FAILED: bundle exec pod update
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 1/26/2024, 12:31:23 PM                                        │
│  $ npx rnv run -p tvos                                                       │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.9                                                │
│  Project Name ($package.name): @rnv/app-harness                              │
│  Project Version ($package.version): 1.0.0-rc.9                              │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tvos                                                         │
│  Engine ($.platforms.tvos.engine): engine-rn-tvos                            │
│  Template: @rnv/[email protected]                                  │
│  App Config (-c): harness                                                    │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): Apple TV                                                       │
│  Supported Platforms: tvos                                                   │
│  Env Info: darwin | x64 | node v18.19.0                                      │
│  Executed Time: 0h:0m:27s:357ms                                              │
│                                                                              │
│ [ success ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
│ [ success ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js requires override by: /Users/gabriele/Desktop/tests/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
│ [ success ] [configure] /react-native-gesture-handler/RNGestureHandler.podspec requires override by: REACT_CORE_OVERRIDES. FIXING...DONE
│ [ warn ] [configure] pod install is not enough! Let's try pod update! Error:
 COMMAND:

bundle exec pod install

FAILED with ERROR:

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Command failed with exit code 1: bundle exec pod install
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here

Error: Command failed with exit code 1: bundle exec pod install
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.
    at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


│ [ error ] [configure] COMMAND:

bundle exec pod update

FAILED with ERROR:

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Command failed with exit code 1: bundle exec pod update
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Update all pods
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.

Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here

Error: Command failed with exit code 1: bundle exec pod update
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: already initialized constant Pod::HermesHelper::BUILD_TYPE
/Users/gabriele/Desktop/tests/renative/node_modules/react-native-tvos/third-party-podspecs/hermes-engine.podspec:8: warning: previous definition of BUILD_TYPE was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: already initialized constant Pod::CONFIG_WITHOUT_OPENSSL
/Users/gabriele/.cocoapods/repos/react-native-tvos-react-native-tvos-podspecs/libevent/2.1.12.1/libevent.podspec:17: warning: previous definition of CONFIG_WITHOUT_OPENSSL was here
Auto-linking React Native modules for target `RNVApp`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native modules for target `RNVApp-tvOS`: RNGestureHandler, RNPermissions, and react-native-carplay
Framework build type is static library
[Codegen] Skipping React-Codegen podspec generation.
Update all pods
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../../node_modules/react-native-tvos/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../../../../node_modules/react-native-tvos/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../../../../node_modules/react-native-tvos/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../../../../node_modules/react-native-tvos/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../../../../node_modules/react-native-tvos/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../../../../node_modules/react-native-tvos/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the release tarball from Maven Central
[!] The platform of the target `RNVApp-tvOS` (tvOS 14.0) is not compatible with `react-native-carplay (2.3.0)`, which does not support `tvOS`.
    at makeError (/Users/gabriele/Desktop/tests/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/tests/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/harness_tvos/RNVApp.xcworkspace                            │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/tests/renative/packages/app-harness git:(release/1.0)

Desktop (please complete the following information):

  • OS: macOS Ventura
  • Node Version 18.19.0
  • RNV Version 1.0.0-rc.9
  • @rnv/app-harness 1.0.0-rc.9

GabrieleKaceviciute avatar Jan 26 '24 10:01 GabrieleKaceviciute

fixed in https://github.com/flexn-io/renative/pull/1364

pauliusguzas avatar Jan 29 '24 11:01 pauliusguzas