[Bug]: Cycle inside SampleProject; building could produce unreliable results
PmJesil opened this issue · 4 comments
PmJesil commented
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
jennantilla commented
cdiddy77 commented
I used the above link.
I had this issue. I fixed it by moving "Embed Foundation Extensions" build phase above the "[CP] Embed Pods Frameworks" per the comment thread above
PmJesil commented
I used the above link.
I had this issue. I fixed it by moving "Embed Foundation Extensions" build phase above the "[CP] Embed Pods Frameworks" per the comment thread above
It working. solve the issue