-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.
Description
Description
The following warning is shown on pod install:
[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
Steps to reproduce
npx @react-native-community/cli@latest init MasterSpecsRepoWarningApp- "Do you want to install CocoaPods now?" - answer N
cd MasterSpecsRepoWarningAppbundlecd iosbundle exec pod install- Observe the warning
Alternatively, use https://github.com/noway/master-specs-repo-warning-reproducer-react-native repo.
React Native Version
0.76.6
Affected Platforms
Build - MacOS
Output of npx react-native info
info Fetching system and libraries information...
(node:80180) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
OS: macOS 15.3
CPU: (8) arm64 Apple M1 Pro
Memory: 711.66 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.12.0
path: ~/.nvm/versions/node/v22.12.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v22.12.0/bin/yarn
npm:
version: 10.9.0
path: ~/.nvm/versions/node/v22.12.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.2
path: /Users/ilia/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2023.2 AI-232.10300.40.2321.11567975
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /usr/bin/javac
Ruby:
version: 3.4.1
path: /Users/ilia/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.6
wanted: 0.76.6
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
$ bundle exec pod install
link_native_modules! {ios_packages: [], ios_project_root_path: "/Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios", react_native_path: "../node_modules/react-native"}
Framework build type is static library
[Codegen] Adding script_phases to ReactCodegen.
[Codegen] Generating ./build/generated/ios/ReactCodegen.podspec.json
[Codegen] Analyzing /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/package.json
[Codegen] Searching for codegen-enabled libraries in the app.
[Codegen] The "codegenConfig" field is not defined in package.json. Assuming there is nothing to generate at the app level.
[Codegen] Searching for codegen-enabled libraries in the project dependencies.
[Codegen] Found react-native
[Codegen] >>>>> Searching for codegen-enabled libraries in react-native.config.js
[Codegen] Processing FBReactNativeSpec
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Processing rncore
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Generating Native Code for FBReactNativeSpec - ios
[Codegen] Generated artifacts: /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios/build/generated/ios
[Codegen - rncore] Skipping iOS code generation for rncore as it has been generated already.
[Codegen] Creating component provider.
[Codegen] Generated provider in: /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/node_modules/react-native/React/Fabric
[Codegen] Done.
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `fmt` from `../node_modules/react-native/third-party-podspecs/fmt.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.76.6/react-native-artifacts-0.76.6-hermes-ios-debug.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23.3M 100 23.3M 0 0 55.3M 0 --:--:-- --:--:-- --:--:-- 55.3M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16.3M 100 16.3M 0 0 52.5M 0 --:--:-- --:--:-- --:--:-- 52.6M
Downloading dependencies
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.76.6)
Installing RCT-Folly (2024.01.01.00)
Installing RCTDeprecation (0.76.6)
Installing RCTRequired (0.76.6)
Installing RCTTypeSafety (0.76.6)
Installing React (0.76.6)
Installing React-Core (0.76.6)
Installing React-CoreModules (0.76.6)
Installing React-Fabric (0.76.6)
Installing React-FabricComponents (0.76.6)
Installing React-FabricImage (0.76.6)
Installing React-ImageManager (0.76.6)
Installing React-Mapbuffer (0.76.6)
Installing React-NativeModulesApple (0.76.6)
Installing React-RCTActionSheet (0.76.6)
Installing React-RCTAnimation (0.76.6)
Installing React-RCTAppDelegate (0.76.6)
Installing React-RCTBlob (0.76.6)
Installing React-RCTFabric (0.76.6)
Installing React-RCTImage (0.76.6)
Installing React-RCTLinking (0.76.6)
Installing React-RCTNetwork (0.76.6)
Installing React-RCTSettings (0.76.6)
Installing React-RCTText (0.76.6)
Installing React-RCTVibration (0.76.6)
Installing React-RuntimeApple (0.76.6)
Installing React-RuntimeCore (0.76.6)
Installing React-RuntimeHermes (0.76.6)
Installing React-callinvoker (0.76.6)
Installing React-cxxreact (0.76.6)
Installing React-debug (0.76.6)
Installing React-defaultsnativemodule (0.76.6)
Installing React-domnativemodule (0.76.6)
Installing React-featureflags (0.76.6)
Installing React-featureflagsnativemodule (0.76.6)
Installing React-graphics (0.76.6)
Installing React-hermes (0.76.6)
Installing React-idlecallbacksnativemodule (0.76.6)
Installing React-jserrorhandler (0.76.6)
Installing React-jsi (0.76.6)
Installing React-jsiexecutor (0.76.6)
Installing React-jsinspector (0.76.6)
Installing React-jsitracing (0.76.6)
Installing React-logger (0.76.6)
Installing React-microtasksnativemodule (0.76.6)
Installing React-nativeconfig (0.76.6)
Installing React-perflogger (0.76.6)
Installing React-performancetimeline (0.76.6)
Installing React-rendererconsistency (0.76.6)
Installing React-rendererdebug (0.76.6)
Installing React-rncore (0.76.6)
Installing React-runtimeexecutor (0.76.6)
Installing React-runtimescheduler (0.76.6)
Installing React-timing (0.76.6)
Installing React-utils (0.76.6)
Installing ReactCodegen (0.76.6)
Installing ReactCommon (0.76.6)
Installing SocketRocket (0.7.1)
Installing Yoga (0.0.0)
Installing boost (1.84.0)
Installing fmt (9.1.0)
Installing glog (0.3.5)
Installing hermes-engine (0.76.6)
Generating Pods project
Setting USE_HERMES build settings
Setting REACT_NATIVE_PATH build settings
Setting SWIFT_ACTIVE_COMPILATION_CONDITIONS build settings
[Ccache]: Removing Ccache from CC, LD, CXX & LDPLUSPLUS build settings
[SPM] Cleaning old SPM dependencies from Pods project
[SPM] Adding SPM dependencies to Pods project
[Privacy Manifest Aggregation] Appending aggregated reasons to existing PrivacyInfo.xcprivacy file.
[Privacy Manifest Aggregation] Reading .xcprivacy files to aggregate all used Required Reason APIs.
Setting CLANG_CXX_LANGUAGE_STANDARD to c++20 on /Users/ilia/compiling/masterspecsrepowarningissue/MasterSpecsRepoWarningApp/ios/MasterSpecsRepoWarningApp.xcodeproj
Pod install took 8 [s] to run
Integrating client project
[!] Please close any current Xcode sessions and use `MasterSpecsRepoWarningApp.xcworkspace` for this project from now on.
Pod installation complete! There are 65 dependencies from the Podfile and 64 total pods installed.
[!] [Codegen] warn: using experimental new codegen integration
[!] hermes-engine has added 1 script phase. Please inspect before executing a build. See `https://guides.cocoapods.org/syntax/podspec.html#script_phases` for more information.
[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
Reproducer
https://github.com/noway/master-specs-repo-warning-reproducer-react-native
Screenshots and Videos

Metadata
Metadata
Assignees
Labels
Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.