-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cycle in dependencies between targets 'CrashReporter macOS Framework' and 'CrashReporter macOS' #194
Comments
Hi @MoShenGuo, thanks for reaching out! I could reproduce the issue.
@MoShenGuo what Xcode version do you use? The current workaround is to clean cache: |
@russelarms It's most likely due to implicit dependencies finding on new Xcode versions (we faced with this Xcode bug before). Make sure that targets have unchecked "Find Implicit Dependencies" setting in build scheme. |
We haven’t heard from you in a while so I’m closing this issue but feel free to reopen this issue if you have additional questions. |
I'm seeing this problem with the latest code and all 'Find Implicit Dependencies' unchecked for every scheme. Using XCode 12.5.1. Same scenario as above: Do one successful build and the next one will fail with an error. Have to clean + full rebuild to work around, which isn't great.
|
Thanks for mention it. I will label this issue as a bug. |
Hi @MoShenGuo and @richardgroves Please, try to use this branch v-adorofeev/fix-cycle-in-dependencies and check if it works for you. |
@aleksandr-dorofeev Looks good to me - was able to build the iOS version a second time without any errors. |
Actually, this fix doesn't handle all cases and the error |
PR is merged. |
你好 运行报错
报错日志:Cycle in dependencies between targets 'CrashReporter macOS Framework' and 'CrashReporter macOS'; building could produce unreliable results.
Cycle path: CrashReporter macOS Framework → CrashReporter macOS → CrashReporter macOS Framework
Cycle details:
Target build order preserved because “Parallelize Build” is off
→ Target 'CrashReporter macOS Framework' has create directory command with output '/Users/bodadmin/Library/Developer/Xcode/DerivedData/CrashReporter-eksjldrdulnvktfokjsnyazxddza/Build/Products/Debug-macosx/CrashReporter.framework/Versions'
→ Target 'CrashReporter macOS': Libtool /Users/bodadmin/Library/Developer/Xcode/DerivedData/CrashReporter-eksjldrdulnvktfokjsnyazxddza/Build/Intermediates.noindex/CrashReporter.build/Debug-macosx/CrashReporter macOS.build/Objects-normal/arm64/Binary/libCrashReporter.a normal arm64
○ Target 'CrashReporter macOS' has compile command with input '/Users/bodadmin/Downloads/plcrashreporter-master/Source/PLCrashReporterNSError.m'
→ Target 'CrashReporter macOS Framework' has write command with output /Users/bodadmin/Library/Developer/Xcode/DerivedData/CrashReporter-eksjldrdulnvktfokjsnyazxddza/Build/Intermediates.noindex/CrashReporter.build/Debug-macosx/CrashReporter macOS Framework.build/module.modulemap
还望指教
The text was updated successfully, but these errors were encountered: