【发布时间】:2017-03-31 16:20:35
【问题描述】:
Mac OS 10.12 xcode 8.1
我们正在尝试安装 pod 之类的
platform :ios, '8.0'
target 'ProjectName' do
pod 'ARSafariActivity', '~> 0.0'
pod 'FFBadgedBarButtonItem', '~> 1.0'
pod 'MMDrawerController', '~> 0.5'
pod 'MMProgressHUD', '~> 0.2'
pod 'MMSpreadsheetView', '~> 0.0'
pod 'Mantle', '~> 1.5'
pod 'Masonry', '~> 0.5'
pod 'NHAlignmentFlowLayout', '~> 0.1'
pod 'NMRangeSlider', '~> 1.1'
pod 'PBWebViewController', '~> 0.2'
pod 'SZTextView', '~> 1.1'
pod 'AAPLAdvancedCollectionView', :git => 'https://github.com/zwaldowski/AAPLAdvancedCollectionView.git', :tag => 'v1.0.11'
end
target 'ProjectNameTests' do
pod 'Kiwi', '~> 2.3'
pod 'OHHTTPStubs', '~> 4.0'
end
给出错误词法和预处理器问题。 未找到 Mantle.h 文件。
我们尝试了iOS - Build fails with CocoaPods cannot find header files,但仍然无法正常工作。
【问题讨论】:
-
你试过这个吗:
right click your project->Add Files to "prjectName" ...->Choose the Mantle dir in Pods dir?然后导入Mantle.h?
标签: ios iphone cocoapods-1.1.1