2017-08-24 45 views
0

在我的項目中,由其他創建的項目中,我使用cocoapod將某些庫「podding」在我的pod文件中。 這是我莢文件Swift 3 xcode 8無法將Lock和RxSwift導入到我的項目中

# Uncomment this line to define a global platform for your project 
platform :ios, "9.3" 

target 'classme' do 
    use_frameworks! 
    inhibit_all_warnings! 
    pod 'Firebase/Core' 
    pod 'Firebase/Database' 
    pod 'Firebase/Storage' 
    pod 'Firebase/DynamicLinks' 
    pod 'Firebase/Auth' 
    pod 'Firebase/Messaging' 
    pod 'Lock' 
    pod 'RxSwift' 
    pod 'RxCocoa' 
    pod 'RxDataSources' 
    pod 'Auth0' 
    pod 'HockeySDK' 
    pod 'MaterialControls' 
    pod 'libPhoneNumber-iOS' 
    pod 'SwiftLint' 
    pod 'Mixpanel-swift' 
    pod ‘AppsFlyerFramework’ 
end 

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
    target.build_configurations.each do |config| 
     config.build_settings['SWIFT_VERSION'] = '3.0' 
    end 
    end 
end 

當試圖導入鎖我得到以下信息

沒有這樣的模塊「鎖定」

還在爲RxSwift

如何將其解決了?

回答

0

我已經使用myApp.xcworkspace而不是myApp.xcodeproj並修復了該問題。

相關問題