在jenkins中运行fastlane时遇到问题。
仅当在jenkins下运行时,在Pods-XXXX-frameworks.sh脚本中框架的代码签名失败。
在PODS脚本中:
rsync --delete -av --filter P。*。?????? --filter“-CVS /” --filter“-.svn /” --filter“-.git /” --filter“-.hg /” --filter“-Headers” --filter“-PrivateHeaders”- -filter“-模块”“ /用户/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/IntermediateBuildFilesPath/UninstalledAlamos/iphoneos。框架“” /Users/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/InstallationBuildProductsLocation/Applications//VDABVindEWorks“。 / usr / bin / codesign --force --verbose --sign 4FD1765CE3BF91BDAEF471622F47BD8E7AE35B1D --preserve-metadata = identifier,entitlements'/ Users / lucjusgen / Desktop / Jenkins / workdir / workspace / vindeenjob-ios / vindeenjob-ios-build / derivedData /Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/InstallationBuildProductsLocation/Applications//VDABVindEenJob.app/Frameworks/Alamofire.framework'
/Users/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/InstallationBuildProductsLocation/Applications//VDABVindEWorksJob。 .framework: errSecInternalComponent
手动运行命令时:
rsync --delete -av --filter“ P。*。??????” --filter“-CVS /” --filter“-.svn /” --filter“-.git /” --filter“-.hg /” --filter“-Headers” --filter“-PrivateHeaders”- -filter“-模块”“ /用户/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/IntermediateBuildFilesPath/UninstalledAlamos/iphoneos。框架“” /Users/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/InstallationBuildProductsLocation/Applications//VDABVindEWorks“。 / p>
/ usr / bin / codesign --force --verbose --sign 4FD1765CE3BF91BDAEF471622F47BD8E7AE35B1D --preserve-metadata = identifiers,entitlements'/ Users / lucjusgen / Desktop / Jenkins / workdir / workspace / vindeenjob-ios / vindeenjob-ios- build / derivedData / Build / Intermediates.noindex / ArchiveIntermediates / VindEenJobAppRelease / InstallationBuildProductsLocation / Applications // VDABVindEenJob.app / Frameworks / Alamofire.framework'
/Users/lucjusgen/Desktop/Jenkins/workdir/workspace/vindeenjob-ios/vindeenjob-ios-build/derivedData/Build/Intermediates.noindex/ArchiveIntermediates/VindEenJobAppRelease/InstallationBuildProductsLocation/Applications//VDABVindEen Frameworks / Alamofire.framework:与Mach-O通用(armv7 arm64)[org.cocoapods.Alamofire]
有人知道为什么詹金斯下的情况会有所不同吗? 我会错过一些环境设置吗? Fastlane健身房的其余部分运行良好。