facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
117.12k stars 24.07k forks source link

Requested but did not find extension point with identifier #34063

Open zekoliman opened 2 years ago

zekoliman commented 2 years ago

Description

Hello, I could not run the application running smoothly on android as ios.

Version

0.68.2

Output of npx react-native info

System: OS: macOS 12.4 CPU: (8) arm64 Apple M1 Memory: 96.45 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.4.0 - /opt/homebrew/bin/node Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 8.12.1 - /opt/homebrew/bin/npm Watchman: 2022.06.06.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.15 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: ^0.68.2 => 0.68.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

Ld /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/psikoyorumtv.app/psikoyorumtv normal (in target 'psikoyorumtv' from project 'psikoyorumtv')
    cd /Users/zekican/psikp/psikoyorum-mobile/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios11.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -L/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/usr/lib/swift -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/DoubleConversion -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/FirebaseInstallations -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/PromisesObjC -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RCT-Folly -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RCTTypeSafety -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNCMaskedView -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNFBAnalytics -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNFBApp -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNGestureHandler -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNReanimated -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNSVG -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNScreens -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/RNVectorIcons -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-Codegen -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-Core -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-CoreModules -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTAnimation -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTBlob -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTImage -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTLinking -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTNetwork -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTSettings -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTText -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-RCTVibration -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-cxxreact -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-jsi -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-jsiexecutor -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-jsinspector -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-logger -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/React-perflogger -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/ReactCommon -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/Yoga -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/fmt -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/glog -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/nanopb -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-maps -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-pager-view -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-safe-area-context -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-splash-screen -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-video -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/react-native-webview -F/Users/zekican/psikp/psikoyorum-mobile/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/zekican/psikp/psikoyorum-mobile/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F/Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -filelist /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Intermediates.noindex/psikoyorumtv.build/Debug-iphonesimulator/psikoyorumtv.build/Objects-normal/x86_64/psikoyorumtv.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Intermediates.noindex/psikoyorumtv.build/Debug-iphonesimulator/psikoyorumtv.build/Objects-normal/x86_64/psikoyorumtv_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -lc++abi -lsqlite3 -lz -framework AudioToolbox -framework CoreModules -framework CoreTelephony -framework DoubleConversion -framework FBLPromises -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework Foundation -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleDataTransport -framework GoogleUtilities -framework JavaScriptCore -framework MobileCoreServices -framework RCTAnimation -framework RCTBlob -framework RCTImage -framework RCTLinking -framework RCTNetwork -framework RCTSettings -framework RCTText -framework RCTTypeSafety -framework RCTVibration -framework RNCMaskedView -framework RNFBAnalytics -framework RNFBApp -framework RNGestureHandler -framework RNReanimated -framework RNSVG -framework RNScreens -framework RNVectorIcons -framework React -framework ReactCommon -framework React_Codegen -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework cxxreact -framework fmt -framework folly -framework glog -framework jsi -framework jsinspector -framework jsireact -framework logger -framework nanopb -framework react_native_maps -framework react_native_pager_view -framework react_native_safe_area_context -framework react_native_splash_screen -framework react_native_video -framework react_native_webview -framework reactperflogger -framework yoga -ObjC -lc++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Intermediates.noindex/psikoyorumtv.build/Debug-iphonesimulator/psikoyorumtv.build/psikoyorumtv.app-Simulated.xcent -framework Pods_psikoyorumtv -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Intermediates.noindex/psikoyorumtv.build/Debug-iphonesimulator/psikoyorumtv.build/Objects-normal/x86_64/psikoyorumtv_dependency_info.dat -o /Users/zekican/Library/Developer/Xcode/DerivedData/psikoyorumtv-chzjwnftlnsywvbidppzbqmvundm/Build/Products/Debug-iphonesimulator/psikoyorumtv.app/psikoyorumtv
ld: framework not found CoreModules
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2022-06-24 10:16:02.597 xcodebuild[22842:305574] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-24 10:16:02.598 xcodebuild[22842:305574] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

Snack, code example, screenshot, or link to a repository

My Podfile;

$FirebaseSDKVersion = '8.15.0'
$RNFirebaseAsStaticFramework = true

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
install! 'cocoapods', :deterministic_uuids => false

target 'psikoyorumtv' do
  config = use_native_modules!

  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'psikoyorumtvTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
    use_frameworks!

  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end
kritsananac commented 2 years ago

Me too

2022-06-27 10:56:42.145 xcodebuild[88500:6833771] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-27 10:56:42.146 xcodebuild[88500:6833771] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
System:
    OS: macOS 12.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 24.56 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.19.0/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6392135
    Xcode: 13.4/13F17a - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.1.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.68.2 => 0.68.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
daniimd commented 2 years ago

Me too, you use mac m1?

mikehardy commented 2 years ago

Looks like it may be related to command line tools, have you all tried these? https://apple.stackexchange.com/questions/438785/xcode-error-when-launching-terminal

ardhendu12345 commented 2 years ago

Remove the old tool in your terminal

sudo rm -rf /Library/Developer/CommandLineTools

Install it again

xcode-select --install so you mean that to do @mikehardy

rvenky125 commented 1 year ago

Remove the old tool in your terminal

sudo rm -rf /Library/Developer/CommandLineTools

Install it again

xcode-select --install so you mean that to do @mikehardy

Unfortunately not worked for me, is there any solution?

benkissi commented 1 year ago

I had the same issue and solved by installing this gem sudo arch -x86_64 gem install ffi

and then running this in my ios folder arch -x86_64 pod install

After this you can run pod install with no issues. Now restart the app.

Found this on the react-native environment setup page for mac Under Note for Mac M1 users for installing cocoa pods

facuescobar commented 1 year ago

I just upgraded RN from "react-native": "0.66.0" to "react-native": "0.70.3".

None of the workarounds in previous comments have worked for me

renishdeveloper commented 6 months ago

+1