اذهب إلى المحتوى
  • 0

There are multiple dependencies with different sources for `RNCheckNotificationPermission` in `Podfile`:

أحمد عبد الله2

السؤال

احاول ان اقوم بعمل pod install لكن يظهرلى هذا الخطا 

[!] There are multiple dependencies with different sources for `RNCheckNotificationPermission` in `Podfile`:

- RNCheckNotificationPermission (from `../node_modules/react-native-check-notification-permission/ios`)
- RNCheckNotificationPermission (from `../node_modules/react-native-check-notification-permission`)

 

هذا هو ملف podfile الخاص بى

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'

pod 'FBSDKLoginKit'


target 'MyApp' do

  pod 'TwitterKit', '~> 3.3' 

  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )

  pod 'react-native-twitter-signin', :path => '../node_modules/react-native-twitter-signin'



  pod 'RNCheckNotificationPermission', :path => '../node_modules/react-native-check-notification-permission'

  target 'MyAppTests' 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_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

حاول حذف السطر التالي من ملف podfile:

pod 'RNCheckNotificationPermission', :path => '../node_modules/react-native-check-notification-permission'

ومحاولة إجراء الربط بشكل آلي عبر تنفيذ الأمر التالي في المجلد الجذر للمشروع:

react-native link react-native-check-notification-permission

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...