我一直在安装吊舱,并且吊舱安装正确。但是,在 Project navigator 中,.xcconfig 文件是红色的,我无法在 project-> info -> 配置中设置相同的文件,因为它们没有被列出并且只列出了一个。调试时,我发现 xcode 正在以下路径中访问 .xcconfig 文件
/Volumes/Macintosh HD/Users/xxxxxxxxxx/Documents/xxxxxxxx/app/Pods/Pods/Target Support Files/Pods-broadcastuploadSetupUI/Pods-broadcastuploadSetupUI.release.xcconfig
/Pods 有两次,因此我收到以下错误:
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 beta 。任何人都可以帮忙吗?
PS,我已经尝试过 sudo gem install 、 pod update 、 disintegrate 、 install 以及互联网上所有可用的解决方案。如果有人可以提供帮助,我会很高兴
这是我的播客文件:
#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)