总所周知Podfile指定版本号通常的写法如下
pod 'LumberjackConsole', ‘1.1.2’
指定configurations模式的写法如下
pod 'LumberjackConsole', :configurations => ['Release', 'App Store']
pod 'LumberjackConsole', :configurations => ['Debug']
指定git远程地址的写法如下
pod 'LumberjackConsole', :git => "https://github.com/sushushu/LumberjackConsole"
问题来了,那么想同时使用上面三种模式的话语法该怎么写
答案:用 ,
号分割
pod 'LumberjackConsole', :configurations => ['Debug'] , :git => "https://github.com/sushushu/LumberjackConsole"
网友评论