Skip to content

[Bug]: Onesignal SDK is not supported with iOS Xcode 15 Beta #1274

Closed
@kmrinmoy07

Description

What happened?

The OneSignal SDK is not supported with latest Xcode 15 Beta versions. It gives error - Cycle inside MYAPPTARGET; building could produce unreliable results. I have checked with 5.0.0 beta version and 3.12.5 versions of the library but same result in both, I have tested including the library both using CocoaPods and Swift Package Manager but still the same.

Totally removing the library from framework, libraries and embedded content and also removing the OneSignalNotificationServiceExtension.appex from my embedded app extension of my main app's target, is the only way to run my project currently.

It didn't work even deleting the DerivedData folder or cleaning the project.

Steps to reproduce?

1. Install Xcode 15 Beta
2. Add OneSignal library to the app

What did you expect to happen?

I expected the project to get build, but it fails building

OneSignal iOS SDK version

3.12.5

iOS version

15

Specific iOS version

No response

Relevant log output

Cycle inside ExampleApp; building could produce unreliable results.
Cycle details:
→ Target 'ExampleApp': ExtractAppIntentsMetadata
○ Target 'ExampleApp': CodeSign /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework
○ Target 'ExampleApp' has copy command from '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/SourcePackages/artifacts/onesignal-ios-sdk/OneSignal/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework' to '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework'
○ Target 'ExampleApp' has copy command from '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/OneSignalNotificationServiceExtension.appex' to '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ That command depends on command in Target 'ExampleApp': script phase “Run Script”
○ Target 'ExampleApp' has a command with output '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app.dSYM'
○ Target 'ExampleApp' has process command with output '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Info.plist'
○ Target 'ExampleApp' has copy command from '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/SourcePackages/artifacts/onesignal-ios-sdk/OneSignal/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework' to '/Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework'


Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node: /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Intermediates.noindex/ExampleApp.build/Debug-iphoneos/ExampleApp.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:ExtractAppIntentsMetadata ->

node: <target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--package-copy-files-phase> ->

command: P0:::Gate target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--package-copy-files-phase ->

node: <CodeSign /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework> ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:CodeSign /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework ->

node: <Copy /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework> ->

CYCLE POINT ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:Copy /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/SourcePackages/artifacts/onesignal-ios-sdk/OneSignal/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework ->

node: <target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--fused-phase2-copy-files> ->

command: P0:::Gate target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--fused-phase2-copy-files ->

node: <Copy /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/PlugIns/OneSignalNotificationServiceExtension.appex> ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:Copy /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/OneSignalNotificationServiceExtension.appex ->

node: <target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--fused-phase1-run-script> ->

command: P0:::Gate target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21--fused-phase1-run-script ->

node: <execute-shell-script-fff2a53f817d059d7da07b091d27c1a1837b12cd0a7cba13ddb447ddd87e664d-target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-> ->

command: P2:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:PhaseScriptExecution Run Script /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Intermediates.noindex/ExampleApp.build/Debug-iphoneos/ExampleApp.build/Script-1F8C3231272F1CF3009BA034.sh ->

node: /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app.dSYM/Contents/Resources/DWARF/ExampleApp ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:GenerateDSYMFile /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app.dSYM /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/ExampleApp ->

node: /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Info.plist ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:ProcessInfoPlistFile /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Info.plist /Users/Mrinmoy/Xomoy/ExampleApp-iOS/ExampleApp/Info.plist ->

node: /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework ->

command: P0:target-ExampleApp-fff2a53f817d059d7da07b091d27c1a13981dcfaf6cdc7002a0add411cf98f21-:Debug:Copy /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/Build/Products/Debug-iphoneos/ExampleApp.app/Frameworks/OneSignal.framework /Users/Mrinmoy/Library/Developer/Xcode/DerivedData/ExampleApp-bdiaqckycwedsncavllhgdoqyjjt/SourcePackages/artifacts/onesignal-ios-sdk/OneSignal/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions