将Mongodb添加到ios项目

时间:2018-09-28 04:33:23

标签: cocoapods mongodb-stitch

我当前正在将monogodb添加到我的ios项目中。在遵循mongodb提供的说明针脚之后,我在pod安装StitchCoreSDK时被困在了那里。它应该创建一个xcworkspace文件,但是没有。相反,我收到以下消息。 enter image description here

我创建的Podfile如下

# Uncomment the next line to define a global platform for your project
platform :ios, '11.4'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'paotuaniOS' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks

  # Pods for paotuaniOS
  pod 'Nexmo-Stitch'
  pod 'StitchSDK', '~> 4.0.5'
  target 'paotuaniOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'paotuaniOSUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

有人可以帮助我解决这个问题吗? 谢谢!!!

1 个答案:

答案 0 :(得分:0)

我以前有这个问题。回购出现问题。仓库已更新。请使用

pod 'StitchSDK', '~> 4.1.1'