美文网首页
ios开发使用pod命令

ios开发使用pod命令

作者: 诗昭 | 来源:发表于2018-05-27 18:44 被阅读0次

1、终端,通过cd指令进入到项目的文件的目录中

如从我的个人目录进入到Xcode-project目录:

cd  Xcode-project

cd tryPod

2、在目录下生成profile文件,并复制如下内容

# Uncomment this line to define a global platform for your project

# platform :ios, '9.0'

target '项目名称' do

# Uncomment this line if you're using Swift or would like to use dynamic frameworks

# use_frameworks!

pod "库名称"

# Pods for IOS_SqlLite

target '项目名称Tests' do

inherit! :search_paths

# Pods for testing

end

target '项目名称UITests' do

inherit! :search_paths

# Pods for testing

end

end

相关文章

网友评论

      本文标题:ios开发使用pod命令

      本文链接:https://www.haomeiwen.com/subject/uwqijftx.html