【发布时间】:2019-03-26 18:55:34
【问题描述】:
我正在尝试构建我的 iOS 项目,但 travis-ci 正在打印以下错误消息:
/Users/travis/build/BilalReffas/Analyzer/Pods/Pods/目标支持 文件/Pods-Analyzer/Pods-Analyzer.debug.xcconfig:无法打开文件 (在项目“分析器”中的目标“分析器”中)(在目标“分析器”中)
当然,我选择了共享方案。我可以在本地构建项目。我不明白为什么 travis 找不到 debug.xcconfig 文件。
My Podfile:
platform :ios, '10.0'
target 'Analyzer' do
use_frameworks!
pod 'Charts'
end
我的 travis.yml:
language: objective-c
osx_image: xcode10
xcode_workspace: Analyzer.xcworkspace
xcode_scheme: Analyzer
xcode_destination: platform=iOS Simulator,OS=12.0,name=iPad Pro (9.7-inch)
podfile: Podfile
before_install:
- gem install cocoapods
- pod install --repo-update
调试后我使用ssh检查文件权限。
-rw-r--r-- 1 travis staff 662 Nov 3 14:41 Pods-Analyzer.debug.xcconfig
如您所见,打开文件应该完全没问题。
【问题讨论】:
标签: ios objective-c swift continuous-integration travis-ci