bytedance / Bytedance-UnionAD

MIT License
170 stars 54 forks source link

[BUG] Archive 报错 #200

Open AkaShark opened 11 months ago

AkaShark commented 11 months ago

Describe the bug | 问题描述

A clear and concise description of what the bug is. | 请简明清晰地描述你遇到的问题。 在Archive过程报错,可以正常build,在编译时遇到了如下问题 Selected xcframework slice ios-arm64_armv7 rsync -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/sharker/Desktop/Project/Work/ios/Pods/Ads-CN/SDK/CSJAdSDK.xcframework/ios-arm64_armv7/" "/Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/Ads-CN/BUAdSDK" building file list ... done CSJAdSDK.framework/ CSJAdSDK.framework/CSJAdSDK -> Versions/Current/CSJAdSDK CSJAdSDK.framework/Headers -> Versions/Current/Headers CSJAdSDK.framework/Resources -> Versions/Current/Resources CSJAdSDK.framework/Versions/ CSJAdSDK.framework/Versions/Current -> A CSJAdSDK.framework/Versions/A/ CSJAdSDK.framework/Versions/A/CSJAdSDK rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/rsync.c(244) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code

Environmental information | 环境信息

To Reproduce | 如何复现

Steps to reproduce the behavior. | 如果可以的话,请描述如何复现这个问题。

Screenshots | 截图

If applicable, add screenshots to help explain your problem. | 如果有必要,请在这里粘贴问题相关的截图。

Backtrace | 相关堆栈

Please paste the backtrace related to the Bug. | 如果可以的话,请在这里粘贴问题相关的堆栈信息(已符号化、可读)。 编译日志如下 Build target Ads-CN of project Pods with configuration Release

PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Ads-CN.build/Script-6398054B030940C11C425C30A22558F3.sh (in target 'Ads-CN' from project 'Pods') cd /Users/sharker/Desktop/Project/Work/ios/Pods /bin/sh -c /Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Ads-CN.build/Script-6398054B030940C11C425C30A22558F3.sh

Selected xcframework slice ios-arm64_armv7 rsync -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/sharker/Desktop/Project/Work/ios/Pods/Ads-CN/SDK/CSJAdSDK.xcframework/ios-arm64_armv7/" "/Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/Ads-CN/BUAdSDK" building file list ... done CSJAdSDK.framework/ CSJAdSDK.framework/CSJAdSDK -> Versions/Current/CSJAdSDK CSJAdSDK.framework/Headers -> Versions/Current/Headers CSJAdSDK.framework/Resources -> Versions/Current/Resources CSJAdSDK.framework/Versions/ CSJAdSDK.framework/Versions/Current -> A CSJAdSDK.framework/Versions/A/ CSJAdSDK.framework/Versions/A/CSJAdSDK rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/rsync.c(244) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code

Command PhaseScriptExecution failed with a nonzero exit code

Additional context | 附言

Add any other context about the problem here. | 请留下你认为可以帮助解决这个问题的任何信息。

AkaShark commented 11 months ago

Describe the bug | 问题描述

A clear and concise description of what the bug is. | 请简明清晰地描述你遇到的问题。 在Archive过程报错,可以正常build,在编译时遇到了如下问题 Selected xcframework slice ios-arm64armv7 rsync -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/sharker/Desktop/Project/Work/ios/Pods/Ads-CN/SDK/CSJAdSDK.xcframework/ios-arm64armv7/" "/Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/Ads-CN/BUAdSDK" building file list ... done CSJAdSDK.framework/ CSJAdSDK.framework/CSJAdSDK -> Versions/Current/CSJAdSDK CSJAdSDK.framework/Headers -> Versions/Current/Headers CSJAdSDK.framework/Resources -> Versions/Current/Resources CSJAdSDK.framework/Versions/ CSJAdSDK.framework/Versions/Current -> A CSJAdSDK.framework/Versions/A/ CSJAdSDK.framework/Versions/A/CSJAdSDK rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/rsync.c(244) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code

Environmental information | 环境信息

  • SDK name: | SDK 名称: Ads-CN
  • SDK version: | SDK 版本: 5.1.0.5
  • Date and time: | 日期与时间: 23.9.27
  • Device model: | 设备型号: 所有设备
  • iOS version: | iOS 版本: 16.4

To Reproduce | 如何复现

Steps to reproduce the behavior. | 如果可以的话,请描述如何复现这个问题。

Screenshots | 截图

If applicable, add screenshots to help explain your problem. | 如果有必要,请在这里粘贴问题相关的截图。

Backtrace | 相关堆栈

Please paste the backtrace related to the Bug. | 如果可以的话,请在这里粘贴问题相关的堆栈信息(已符号化、可读)。 编译日志如下 Build target Ads-CN of project Pods with configuration Release

PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Ads-CN.build/Script-6398054B030940C11C425C30A22558F3.sh (in target 'Ads-CN' from project 'Pods') cd /Users/sharker/Desktop/Project/Work/ios/Pods /bin/sh -c /Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Ads-CN.build/Script-6398054B030940C11C425C30A22558F3.sh

Selected xcframework slice ios-arm64armv7 rsync -av --filter P ..?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/sharker/Desktop/Project/Work/ios/Pods/Ads-CN/SDK/CSJAdSDK.xcframework/ios-arm64armv7/" "/Users/sharker/Library/Developer/Xcode/DerivedData/WoPay-ajwefhxeizjjgmbfvlovtkepbcnd/Build/Intermediates.noindex/ArchiveIntermediates/WoPay/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/Ads-CN/BUAdSDK" building file list ... done CSJAdSDK.framework/ CSJAdSDK.framework/CSJAdSDK -> Versions/Current/CSJAdSDK CSJAdSDK.framework/Headers -> Versions/Current/Headers CSJAdSDK.framework/Resources -> Versions/Current/Resources CSJAdSDK.framework/Versions/ CSJAdSDK.framework/Versions/Current -> A CSJAdSDK.framework/Versions/A/ CSJAdSDK.framework/Versions/A/CSJAdSDK rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/rsync.c(244) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code

Command PhaseScriptExecution failed with a nonzero exit code

Additional context | 附言

Add any other context about the problem here. | 请留下你认为可以帮助解决这个问题的任何信息。

看起来似乎是在copy XCFramework的时候产生的问题,但是根据编译日志,我得不到什么有用的线索,我的pod环境如下 CocoaPods : 1.11.3 Ruby : ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin22] RubyGems : 3.2.3 Host : macOS 13.4.1 ((c)) Xcode : 14.3.1 (14E300c) Git : git version 2.39.2 (Apple Git-143) Ruby lib dir : /Users/sharker/.rvm/rubies/ruby-3.0.0/lib Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ c8b326090cc1372d682bbebb17fe6df4b7e77d42

AkaShark commented 11 months ago

对于这个rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) 报错在google上找到了一些人在提出的解决方法是重启。。。但并没有解决我的问题,也没有讲清楚为啥https://stackoverflow.com/questions/68585383/xcode-build-fails-with-rsync-error-rsync-error-received-sigint-sigterm-or-s