引入 - react-native-image-crop-picker Pod install报错跟原来冲突

尉迟墨竹
2023-12-01

如果已存在就注释掉

#  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
#  pod 'React', path: rn_path, subspecs: [
#    'Core',
#    'RCTActionSheet',
#    'RCTAnimation',
#    'RCTGeolocation',
#    'RCTImage',
#    'RCTLinkingIOS',
#    'RCTNetwork',
#    'RCTSettings',
#    'RCTText',
#    'RCTVibration',
#    'RCTWebSocket'
#  ]
# Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'
    
    target 'ch04' do
      rn_path = '../node_modules/react-native'
    #  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
    #  pod 'React', path: rn_path, subspecs: [
    #    'Core',
    #    'RCTActionSheet',
    #    'RCTAnimation',
    #    'RCTGeolocation',
    #    'RCTImage',
    #    'RCTLinkingIOS',
    #    'RCTNetwork',
    #    'RCTSettings',
    #    'RCTText',
    #    'RCTVibration',
    #    'RCTWebSocket'
    #  ]
    #
    #  pod 'RNImageCropPicker', :path =>  '../node_modules/react-native-image-crop-picker'
    end
    
    # very important to have, unless you removed React dependencies for Libraries 
    # and you rely on Cocoapods to manage it
    post_install do |installer|
      installer.pods_project.targets.each do |target|
        if target.name == "React"
          target.remove_from_project
        end
      end
    end

离线视频课 jzce2b836876514c10a1bbc7448087252c jzf7g37cu9
离线音频课 jzda56ab9bff6f4b6399bff04de38e73d0 jzwbf3evy9
学生老师上视频课 jz6e0a21fc157d4a2d8664ced06935b64c
老师音频学生音频: jzda56ab9bff6f4b6399bff04de38e73d0

 类似资料: