Hello,
I've recently upgraded my XCode to the latest version (15), and when I try to build my app I get the following error: Cycle inside knock; building could produce unreliable results.
In the previous version there was no error when building.
The app is written in ReactNative and not through XCode.
The full error is below:
Cycle details:
→ Target 'knock': ExtractAppIntentsMetadata
○ Target 'knock' has copy command from '/Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/ImageNotification.appex' to '/Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex'
○ That command depends on command in Target 'knock': script phase “[CP-User] [RNFB] Core Configuration”
○ Target 'knock' has process command with output '/Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/Info.plist'
○ Target 'knock' has copy command from '/Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/ImageNotification.appex' to '/Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex'
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Intermediates.noindex/knock.build/Debug-iphonesimulator/knock.build/Objects-normal/x86_64/ExtractedAppShortcutsMetadata.stringsdata ->
command: P0:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:ExtractAppIntentsMetadata ->
node: <target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase8-copy-files> ->
command: P0:::Gate target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase8-copy-files ->
node: <Copy /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex> ->
CYCLE POINT ->
command: P0:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/ImageNotification.appex ->
node: <target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7--cp-user---rnfb--crashlytics-configuration> ->
command: P0:::Gate target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7--cp-user---rnfb--crashlytics-configuration ->
node: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Intermediates.noindex/knock.build/Debug-iphonesimulator/knock.build/Script-C93854387AF33A2947FE4B88.sh ->
command: P2:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:WriteAuxiliaryFile /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Intermediates.noindex/knock.build/Debug-iphonesimulator/knock.build/Script-C93854387AF33A2947FE4B88.sh ->
node: <target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6--cp-user---rnfb--core-configuration> ->
command: P0:::Gate target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6--cp-user---rnfb--core-configuration ->
node: <execute-shell-script-d42b582e64da2f106a39e86e776a6fb418991f67c53042de37afade042ffa3c3-target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-> ->
command: P2:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:PhaseScriptExecution [CP-User] [RNFB] Core Configuration /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Intermediates.noindex/knock.build/Debug-iphonesimulator/knock.build/Script-272F9E519C61A9872EB1C77C.sh ->
node: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/Info.plist/ ->
directoryTreeSignature: � ->
directoryContents: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/Info.plist ->
node: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/Info.plist ->
command: P0:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:ProcessInfoPlistFile /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/Info.plist /Users/barezra/git/knock/ios/knock/Info.plist ->
node: /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex ->
command: P0:target-knock-d42b582e64da2f106a39e86e776a6fb47ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/knock.app/PlugIns/ImageNotification.appex /Users/barezra/Library/Developer/Xcode/DerivedData/knock-axrrezrueryqdcdkiaiyyvouykgv/Build/Products/Debug-iphonesimulator/ImageNotification.appex