我一直在安裝豆莢,豆莢已正確安裝。但是,在項目導航器中,.xcconfig文件呈紅色,我無法在項目 - >信息 - >配置中設置相同,因爲它們未列出,只列出任何項目。調試時,我能找到的.xcconfig文件由Xcode的以下路徑豆莢安裝不正確
/Volumes/Macintosh HD/Users/xxxxxxxxxx/Documents/xxxxxxxx/app/Pods/Pods/Target Support Files/Pods-broadcastuploadSetupUI/Pods-broadcastuploadSetupUI.release.xcconfig
/莢得到訪問的有兩次,因爲其中我收到以下錯誤:
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
我正在使用Xcode 9測試版。任何人都可以提供幫助嗎?
P.S,我嘗試了sudo gem install,pod更新,解體,安裝以及互聯網上提供的一切解決方案。我會很高興,如果有人可以幫助
這是我podfile:
#platform :ios, ‘11.0’
source 'https://URL_TO_ACCESS_PODSPEC_FOR_POD'
source 'https://github.com/CocoaPods/Specs.git'
target 'app' do
pod 'objective-zip', '~> 1.0'
pod 'AssistScreenShareKit'
use_frameworks!
end
target ‘broadcastupload’ do
pod 'AssistScreenShareKit'
use_frameworks!
end
target ‘broadcastuploadSetupUI' do
pod 'AssistScreenShareKit'
use_frameworks!
end
錯誤:
The file 「Pods-app.release.xcconfig」 couldn’t be opened because there is no such file. (/Volumes/Macintosh HD/Users/xxxxxxxx/Documents/xxxxx/app/Pods/Pods/Target Support Files/Pods-app/Pods-app.release.xcconfig)
刪除您的工作區,pod鎖定,pod文件,pod文件夾,派生數據,然後再次初始化pod文件並重新安裝 - 清理,編譯並運行。 – Rivendell
讓我試試這個 –
我試過了,但不幸的是,沒有成功! :/ –