Cycle in dependancies building iOS on mac
See original GitHub issueDescription:
Hello I am getting the following error trying to build the source:
Cycle in dependencies between targets 'JitsiMeet' and 'JitsiMeetSDK'; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle path: JitsiMeet → JitsiMeetBroadcastExtension → JitsiMeetSDK → JitsiMeet
Cycle details:
→ Target 'JitsiMeet' has copy command from '/Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework' to '/Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/jitsi-meet.app/Frameworks/JitsiMeetSDK.framework'
○ Target 'JitsiMeet' has target dependency on Target 'JitsiMeetBroadcastExtension'
→ Target 'JitsiMeetBroadcastExtension' has compile command for Swift source files
→ Target 'JitsiMeetSDK' has copy command from '/Users/dentrix/StudioProjects/jitsi-meet/ios/sdk/src/JitsiMeetSDK.h' to '/Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework/Headers/JitsiMeetSDK.h'
○ Target 'JitsiMeetSDK' has compile command with input '/Users/dentrix/StudioProjects/jitsi-meet/ios/sdk/src/AppInfo.m'
○ Target 'JitsiMeetSDK' has compile command for Swift source files
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/jitsi-meet.app/Frameworks/JitsiMeetSDK.framework ->
command: target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/jitsi-meet.app/Frameworks/JitsiMeetSDK.framework /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase4-copy-bundle-resources> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase4-copy-bundle-resources ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase2-compile-sources> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase2-compile-sources ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase1-run-react-packager> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase1-run-react-packager ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase0--cp--check-pods-manifest-lock> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--phase0--cp--check-pods-manifest-lock ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--ModuleMapTaskProducer> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--ModuleMapTaskProducer ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--HeadermapTaskProducer> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--HeadermapTaskProducer ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--GeneratedFilesTaskProducer> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--GeneratedFilesTaskProducer ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--ProductStructureTaskProducer> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--ProductStructureTaskProducer ->
node: <target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--begin-compiling> ->
command: Gate target-JitsiMeet-c8ea3afa4348e6caf47cdc9505cc51d87ceb6b36bcfc2fb90f69ac96de4975d6--begin-compiling ->
node: <target-JitsiMeetBroadcastExtension-c8ea3afa4348e6caf47cdc9505cc51d8b9d99341a281b0af43d97f2937eaf5be--modules-ready> ->
command: Gate target-JitsiMeetBroadcastExtension-c8ea3afa4348e6caf47cdc9505cc51d8b9d99341a281b0af43d97f2937eaf5be--modules-ready ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/JitsiMeetBroadcastExtension.build/Objects-normal/x86_64/SocketConnection.o ->
command: target-JitsiMeetBroadcastExtension-c8ea3afa4348e6caf47cdc9505cc51d8b9d99341a281b0af43d97f2937eaf5be-:Debug:CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler ->
CYCLE POINT ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework/Headers/JitsiMeetSDK.h ->
command: target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271-:Debug:CpHeader /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework/Headers/JitsiMeetSDK.h /Users/dentrix/StudioProjects/jitsi-meet/ios/sdk/src/JitsiMeetSDK.h ->
node: <target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271--phase1-compile-sources> ->
command: Gate target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271--phase1-compile-sources ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Intermediates.noindex/sdk.build/Debug-iphonesimulator/JitsiMeetSDK.build/Objects-normal/x86_64/AppInfo.o ->
command: target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271-:Debug:CompileC /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Intermediates.noindex/sdk.build/Debug-iphonesimulator/JitsiMeetSDK.build/Objects-normal/x86_64/AppInfo.o /Users/dentrix/StudioProjects/jitsi-meet/ios/sdk/src/AppInfo.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler ->
node: <target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271--generated-headers> ->
command: Gate target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271--generated-headers ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Intermediates.noindex/sdk.build/Debug-iphonesimulator/JitsiMeetSDK.build/Objects-normal/x86_64/PiPViewCoordinator.o ->
command: target-JitsiMeetSDK-d0e7a4465ca36f262e1a200a58608cf0c369801a694dde860f9b791ec620a271-:Debug:CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler ->
node: /Users/dentrix/Library/Developer/Xcode/DerivedData/jitsi-meet-bnldgnanhjzegphbjlynzlousakx/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework/Headers/JitsiMeetSDK.h
Steps to reproduce:
git clone https://github.com/jitsi/jitsi-meet.git
cd jitsi-meet
npm ci
make
cd ios
pod install
- open in xCode
- try to build
Expected behavior:
the app builds
Actual behavior:
build failed
Client information:
- Browser / app version: 22.1
- Operating System: iOS/Mac
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Xcode 13.3 cycle in dependencies between targets
So my App has a AppCoreLibrary we compile and it complains about this library and the App itself stating a cycle dependency exists....
Read more >building could produce unreliable results: Xcode Error - Stack ...
Xcode 10's new build system detects dependency cycles in your build and provides diagnostics to help you resolve them. Fixing these ...
Read more >Xcode Version 13.3 (13E113) error - Cycle in dependencies
Cycle in dependencies between targets 'Unity-iPhone' and 'UnityFramework'; building could produce unreliable results.
Read more >Cycle in dependency when adding `module.modulemap`
I have a static library, C, with mix of obj-c and Swift code in it. My main app, target A references this library....
Read more >Fixing Our Recent Xcode 13.3.x Dependency Cycle Errors
Cycle in dependencies between targets 'Sparkle' and 'SparkleDownloader'; building could produce unreliable results. This usually can be resolved ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@saghul 13.3
I am updating to Xcode 13.3 and will merge the linked PR once I am able to validate it.