Tag: 预处理器

为什么我的cocoapods post_install挂钩不更新我的预处理器宏?

我已经四处转转了几天,试图找出为什么我的post_install挂钩没有产生我期待的输出。 这是我的Podfile: source ‘https://github.com/CocoaPods/Specs.git’ target “SCCommon” do platform :ios, “6.0” pod ‘AFNetworking’, ‘~> 1.2.1’ pod ‘Mantle’, ‘~> 1.3’ pod ‘PubNub’, ‘3.5.5’ end target “SCCommon-TestHarness” do platform :ios, “6.0” # inhibit_all_warnings! pod ‘SCCommon’, :path => ‘../SCCommon.podspec’ end target “SCCommon-UnitTests” do platform :ios, “6.0” # inhibit_all_warnings! pod ‘OCMock’, ‘2.2.3’ pod ‘SCCommon’, :path => ‘../SCCommon.podspec’ end post_install do […]