CocoaPods本地库管理使用笔记

daiyelang 2016-09-05

 

  • 设置预编译头文件方式1:s.prefix_header_contents = '#import "Singleton.h"'
  • 设置预编译头文件方式2:

s.prefix_header_contents = <<-EOS

#ifdef __OBJC__

#import "ROConnect.h"

#endif /* __OBJC__*/

EOS

 

 

  • 设置framework查找路径:s.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(HOME)/Library/SDKs/ArcGIS/iOS/" }
  • 设置源代码存放位置: s.source       = { :svn => "https://192.168.1.xx/svn/xxx", :tag => "0.0.1" }

相关推荐