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

No podspec found for `react-native-image-picker` in `../node_modules/react-native-image-picker`

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

السؤال

 انا اقوم بعمل كلون لريبو .. وقمت بتنصيب النود موديولز بنجاح ولكن عن عمل pod install تظهر هده المشكلة فى الكوونسول 

Ignoring unf_ext-0.0.7.6 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.6
Auto-linking React Native modules for target `maltevinder`: RNCAsyncStorage, RNCMaskedView, RNDateTimePicker, RNFastImage, RNGestureHandler, RNReanimated, RNScreens, RNVectorIcons, lottie-ios, lottie-react-native, react-native-cookies, react-native-document-picker, react-native-restart, and react-native-safe-area-context
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] No podspec found for `react-native-image-picker` in `../node_modules/react-native-image-picker`

 

هدا هو ملف ال 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, '10.0'

target 'maltevinder' do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'

  target 'maltevinderTests' 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 these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'maltevinder-tvOS' do
  # Pods for maltevinder-tvOS

  target 'maltevinder-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end
end

 

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

Recommended Posts

  • 1
  • تأكد من وجود الملف "react-native-image-picker.podspec" داخل المسار "node_modules/react-native-image-picker"
  • اذا لم يكن موجودا جرب حذف ملف node_modules مع ملف package-lock.json وأعد التنصيب بالأمر "npm install" ,ثم تأكد من وجود الملف مرة أخرى
رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 1
بتاريخ 4 دقائق مضت قال أحمد ابراهيم عبد الله:

لا هدا ليس الحل .. عندما حملت الريبو كان صاحبها لم يقم ستطيب هده المكتبة .. وكلن وضع ربطها فى podfile لدا كل مافعلته هو تسطيب هده المكتبة 

حاول إضافة ios/ في نهاية مسار المكتبة..

 node_modules/react-native-image-picker/ios

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

  • 0
بتاريخ منذ ساعة مضت قال Hassan Hedr:
  • تأكد من وجود الملف "react-native-image-picker.podspec" داخل المسار "node_modules/react-native-image-picker"
  • اذا لم يكن موجودا جرب حذف ملف node_modules مع ملف package-lock.json وأعد التنصيب بالأمر "npm install" ,ثم تأكد من وجود الملف مرة أخرى

لا هدا ليس الحل .. عندما حملت الريبو كان صاحبها لم يقم ستطيب هده المكتبة .. وكلن وضع ربطها فى podfile لدا كل مافعلته هو تسطيب هده المكتبة 

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

  • 0
بتاريخ الآن قال Wael Aljamal:

حاول إضافة ios/ في نهاية مسار المكتبة..

 node_modules/react-native-image-picker/ios

انا قمت بحل المشكلة عن طريق تسطيب المكتبة لانها لم تكن فى package.json واشتغل المشروع بنجاح الحمد لله

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

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

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

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

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   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.

  • إعلانات

  • تابعنا على



×
×
  • أضف...