我从xcode 10.1升级到了xcode 10.2.1。我需要更改zendesk pod才能满足swift 5的要求。这在本地构建良好,但是当travis CI尝试从travis.yml文件运行以下命令时:
set -e
./.travis/scripts/setup_profiles.sh
./.travis/scripts/deploy_beta.sh "${WORKSPACE}" "${SCHEME}" "${TRAVIS_BUILD_NUMBER}"
set +e
我收到一个错误,这是从原始日志中获取的:
⌠error: Multiple commands produce '/Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework':
⌠error: Multiple commands produce '/Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
unexpected mutating task ('SetOwnerAndGroup travis:staff /Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework') with no relation to prior mutator ('SetOwnerAndGroup travis:staff /Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework') (in target 'nanopb-iOS11.0')
unexpected mutating task ('SetMode u+w,go-w,a+rX /Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework') with no relation to prior mutator ('SetMode u+w,go-w,a+rX /Users/travis/build/xxx/mobile-ios/.build/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework') (in target 'nanopb-iOS11.0')
答案 0 :(得分:0)
问题是我有重复的框架。删除重复项后,配置项运行良好。