Программируем под IOS
Anonymous
Циклическое изменение зависимостей между целевыми объектами «WatchApp» и «App»; строительство может дать ненадежные резу
Сообщение
Anonymous » 09 ноя 2024, 22:38
Я пытаюсь создать приложение для просмотра для моего текущего приложения iOS, но, хотя я не импортирую какие-либо платформы или зависимости в цель просмотра, выдает следующую ошибку:
Код: Выделить всё
Cycle in dependencies between targets 'Insightfull' and 'Insightfull WatchKit Watch App'; building could produce unreliable results.
Cycle path: Insightfull → Insightfull WatchKit Watch App → Insightfull
Cycle details:
→ Target 'Insightfull' has copy command from '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app' to '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app'
→ Target 'Insightfull WatchKit Watch App': CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app
○ Target 'Insightfull WatchKit Watch App': CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app
→ Target 'Insightfull' has process command with output '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist'
Raw dependency cycle trace:
target: ->
node: ->
command: ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Intermediates.noindex/Insightfull.build/Debug-iphonesimulator/Insightfull.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->
command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:ExtractAppIntentsMetadata ->
node: ->
command: P0:::Gate target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a--fused-phase2-copy-files ->
node: ->
command: P0:::Gate target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a--fused-phase1-copy-files ->
node: ->
CYCLE POINT ->
command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:Copy /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app/ ->
directoryTreeSignature: � ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app/_CodeSignature ->
command: P0:target-Insightfull WatchKit Watch App-d9c2816c65a02dfabbbe7a71547e5f048c10c4a4d72020b16b4193f3d32cfebb-:Debug:CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/ ->
directoryTreeSignature: � ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist ->
command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:ProcessInfoPlistFile /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist /Users/rohanrocks/Xcode/Insightfull/Insightfull/Info.plist ->
node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app ->
command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:Copy /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app
Дайте мне знать, если мне нужно предоставить какую-либо другую информацию
Xcode версии 16.1 (16B40)
macOS Sequoia 15.2 Beta 1
M3 Macbook Pro (ноябрь 2023 г.)
Подробнее здесь:
https://stackoverflow.com/questions/791 ... ould-produ
1731181100
Anonymous
Я пытаюсь создать приложение для просмотра для моего текущего приложения iOS, но, хотя я не импортирую какие-либо платформы или зависимости в цель просмотра, выдает следующую ошибку: [code]Cycle in dependencies between targets 'Insightfull' and 'Insightfull WatchKit Watch App'; building could produce unreliable results. Cycle path: Insightfull → Insightfull WatchKit Watch App → Insightfull Cycle details: → Target 'Insightfull' has copy command from '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app' to '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app' → Target 'Insightfull WatchKit Watch App': CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app ○ Target 'Insightfull WatchKit Watch App': CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app → Target 'Insightfull' has process command with output '/Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist' Raw dependency cycle trace: target: -> node: -> command: -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Intermediates.noindex/Insightfull.build/Debug-iphonesimulator/Insightfull.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata -> command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:ExtractAppIntentsMetadata -> node: -> command: P0:::Gate target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a--fused-phase2-copy-files -> node: -> command: P0:::Gate target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a--fused-phase1-copy-files -> node: -> CYCLE POINT -> command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:Copy /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app/ -> directoryTreeSignature: � -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app/_CodeSignature -> command: P0:target-Insightfull WatchKit Watch App-d9c2816c65a02dfabbbe7a71547e5f048c10c4a4d72020b16b4193f3d32cfebb-:Debug:CodeSign /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/ -> directoryTreeSignature: � -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist -> command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:ProcessInfoPlistFile /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Info.plist /Users/rohanrocks/Xcode/Insightfull/Insightfull/Info.plist -> node: /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app -> command: P0:target-Insightfull-d9c2816c65a02dfabbbe7a71547e5f047f09f7f4df4f256fc32431abdfd4c27a-:Debug:Copy /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-iphonesimulator/Insightfull.app/Watch/Insightfull WatchKit Watch App.app /Users/rohanrocks/Library/Developer/Xcode/DerivedData/Insightfull-fdmnpootxbwpoaeqfjfhyzrrrstx/Build/Products/Debug-watchsimulator/Insightfull WatchKit Watch App.app [/code] Дайте мне знать, если мне нужно предоставить какую-либо другую информацию Xcode версии 16.1 (16B40) macOS Sequoia 15.2 Beta 1 M3 Macbook Pro (ноябрь 2023 г.) Подробнее здесь: [url]https://stackoverflow.com/questions/79173559/cycle-in-dependencies-between-targets-watchapp-and-app-building-could-produ[/url]