youngshook
10/5/2014 - 1:58 PM

Podfile template

Podfile template

workspace 'XXX.xcworkspace'
xcodeproj 'XXX.xcodeproj'
platform :ios, '7.0'
# 非UI第三方依赖
target 'XXXModel' do
    xcodeproj 'iMealModel/iMealModel.xcodeproj'
    pod 'AVOSCloud', '~> 2.5.8.1'
    pod 'ReactiveCocoa', '~> 2.3.1'
    pod 'FLEX', '~> 1.0.0'
end

# UI第三方依赖
target 'XXX' do
    xcodeproj 'iMeal.xcodeproj'
    pod 'AVOSCloud', '~> 2.5.8.1'
    pod 'UIImageView-PlayGIF', '~> 1.0.1'
    pod 'pop', '~> 1.0.6'
    pod 'TAPKeyboardPop', '~> 0.1.2'
end

# Remove 64-bit build architecture from Pods targets
post_install do |installer|
  installer.project.targets.each do |target|
    target.build_configurations.each do |configuration|
      target.build_settings(configuration.name)['ARCHS'] = '$(ARCHS_STANDARD_32_BIT)'
    end
  end
end