Skip to content
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

[Bug]: Cycle inside SampleProject; building could produce unreliable results #1694

Open
2 of 3 tasks
PmJesil opened this issue Apr 17, 2024 · 1 comment
Open
2 of 3 tasks

Comments

@PmJesil
Copy link

PmJesil commented Apr 17, 2024

What happened?

We face an issue related to the OneSignal package in my React Native project after updating my Xcode 15.0. the error showing - Cycle inside SampleProject; building could produce unreliable results

Steps to reproduce?

Update Xcode 14.0 to Xcode 15.0

What did you expect to happen?

Need to solve the issue

React Native OneSignal SDK version

version 5.1.2

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Cycle inside SampleProject; building could produce unreliable results.
Cycle details:
→ Target 'SampleProject' has copy command from '/Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ That command depends on command in Target 'SampleProject': script phase “[CP-User] [RNFB] Core Configuration”
○ Target 'SampleProject' has process command with output '/Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/Info.plist'
○ Target 'SampleProject' has copy command from '/Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex'


Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Intermediates.noindex/SampleProject.build/Debug-iphonesimulator/SampleProject.build/Objects-normal/x86_64/ExtractedAppShortcutsMetadata.stringsdata ->

command: P0:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:ExtractAppIntentsMetadata ->

node: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Intermediates.noindex/SampleProject.build/Debug-iphonesimulator/SampleProject.build/Objects-normal/x86_64/SampleProject.SwiftConstValuesFileList ->

command: P0:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:WriteAuxiliaryFile /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Intermediates.noindex/SampleProject.build/Debug-iphonesimulator/SampleProject.build/Objects-normal/x86_64/SampleProject.SwiftConstValuesFileList ->

node: <target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6--fused-phase7-copy-files> ->

command: P0:::Gate target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6--fused-phase7-copy-files ->

node: <Copy /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex> ->

CYCLE POINT ->

command: P0:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:Copy /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex ->

node: <target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6--fused-phase6--cp-user---rnfb--core-configuration> ->

command: P0:::Gate target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6--fused-phase6--cp-user---rnfb--core-configuration ->

node: <execute-shell-script-ef1bc9c35e5d893b8141fb118b9c2f65b8ba4fcfe48651d924012268c95f5938-target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-> ->

command: P2:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:PhaseScriptExecution [CP-User] [RNFB] Core Configuration /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Intermediates.noindex/SampleProject.build/Debug-iphonesimulator/SampleProject.build/Script-CCBCF26F44071D1832C79985.sh ->

node: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/Info.plist/ ->

directoryTreeSignature: � ->

directoryContents: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/Info.plist ->

node: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/Info.plist ->

command: P0:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:ProcessInfoPlistFile /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/Info.plist /Users/xuser/Documents/Mariya/Project/securysat-mobile/ios/SampleProject/Info.plist ->

node: /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex ->

command: P0:target-SampleProject-ef1bc9c35e5d893xxxxfb118b9c2f6xxxxxxxxxxxxxxx6de4975d6-:Debug:Copy /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/SampleProject.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/xuser/Library/Developer/Xcode/DerivedData/SampleProject-gsjvxxxxxxxxxxxxxxxxxxxxxxxkvn/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex

Code of Conduct

  • I agree to follow this project's Code of Conduct
@PmJesil PmJesil changed the title [Bug]: Cycle inside SecurysatConnect; building could produce unreliable results [Bug]: Cycle inside SampleProject; building could produce unreliable results Apr 17, 2024
@jennantilla
Copy link
Contributor

Hello @PmJesil thanks for reaching out! It does indeed seem as though this is related to upgrading Xcode to version 15.

I found an Apple Developer forum on this error, can you please try the solutions suggested here and let us know if it helps?

Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants