0
我正在使用Cocoapods在Xcode中的全新iOS項目中安裝以下軟件包。iOS的Cocoapods - 無法加載庫
https://github.com/jpsim/JPSVolumeButtonHandler
加入pod 'JPSVolumeButtonHandler'
我Podfile
和運行pod install
後,我關閉現有的Xcode項目,並打開新的xcworkspace文件
如果我再嘗試#import 'JPSVolumeButtonHandler.h'
在my ViewController.h
文件,我得到一個錯誤:
JPSVolumeButtonHandler file not found
我知道這有時可以通過構建項目來解決,但即使這樣做後,我仍然得到相同的錯誤。我錯過了什麼?