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]: Onesignal SDK is not supported with iOS Xcode 15 Beta #1274

Closed
1 task done
kmrinmoy07 opened this issue Jul 1, 2023 · 17 comments
Closed
1 task done

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

kmrinmoy07 opened this issue Jul 1, 2023 · 17 comments

Comments

@kmrinmoy07
Copy link

kmrinmoy07 commented Jul 1, 2023

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
@TobiasEdqvist
Copy link

I tested Xcode 15 Beta 5 today and seems like the issue is no longer occurring? We had the described issue during beta 1, 2, 3 and 4 of Xcode 15, but without any change in our app it now builds using beta 5. Maybe Apple changed something?

@pawellazarew
Copy link

Hello!
I get an error on Xcode 15 beta 5
Failed to build module 'OneSignalFramework'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.9 (swiftlang-5.9.0.124.4 clang-1500.0.38.1)'). Please select a toolchain which matches the SDK.

Please help :)

@emawby
Copy link
Contributor

emawby commented Aug 15, 2023

@pawellazarew Hello what package manager are you using to integrate OneSignal and which version are you using?

@emawby
Copy link
Contributor

emawby commented Sep 6, 2023

closing due to inactivity

@emawby emawby closed this as completed Sep 6, 2023
@kmrinmoy07
Copy link
Author

@emawby I don't think this issue must be closed as it is not fixed or resolved. OneSignal team has not asked any question related to the original question, rather only commented for a different issue to @pawellazarew. You must at least give some effort to fix the original bug, rather closing it due to inactivity of other members who only had commented some different issues faced

@bertidesign
Copy link

I got the same issue when compiling.

XCode 15 beta 8.

ReactNative 0.68.2
react-native-onesignal 5.0.0

Please reopen the issue cause this bug makes the app unbuildable --- We have a deadline and we should publish it without OneSignal support.

The only way to get the app build is to remove OneSignal from the bundle.

Cycle inside MyApp; building could produce unreliable results.
Cycle details:
→ Target 'AssisiEventi': ExtractAppIntentsMetadata
○ Target 'AssisiEventi' has copy command from '/Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ That command depends on command in Target 'MyApp': script phase “[CP-User] [RNFB] Core Configuration”
○ Target 'AssisiEventi' has process command with output '/Users/bertidesign/ReactNativeProjects/eventiassisi/ios/build/Debug-iphonesimulator/MyApp.app/Info.plist'
○ Target 'AssisiEventi' has copy command from '/Users/bertidesign/ReactNativeProjects/eventiassisi/ios/build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/bertidesign/ReactNativeProjects/eventiassisi/ios/build/Debug-iphonesimulator/MyApp.app/PlugIns/OneSignalNotificationServiceExtension.appex'


Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->

command: P0:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:ExtractAppIntentsMetadata ->

node: <target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7-copy-files> ->

command: P0:::Gate target-AssisiEventi-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7-copy-files ->

node: <Copy /Users/bertidesign/ReactNativeProjects/eventiassisi/ios/build/Debug-iphonesimulator/AssisiEventi.app/PlugIns/OneSignalNotificationServiceExtension.appex> ->

CYCLE POINT ->

command: P0:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex ->

node: <target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6--cp--embed-pods-frameworks> ->

command: P0:::Gate target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6--cp--embed-pods-frameworks ->

node: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/MyApp.build/Debug-iphonesimulator/AssisiEventi.build/Script-0A47482E93F79F0C0F74CFED.sh ->

command: P2:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:WriteAuxiliaryFile /Users/bertidesign/ReactNativeProjects/myapp/ios/build/MyApp.build/Debug-iphonesimulator/AssisiEventi.build/Script-0A47482E93F79F0C0F74CFED.sh ->

node: <target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase5--cp-user---rnfb--core-configuration> ->

command: P0:::Gate target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase5--cp-user---rnfb--core-configuration ->

node: <execute-shell-script-263ad1e1758b5d64964a7a4386b80ecc0722aafc4b5df2ed7f5b7da2de36f862-target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-> ->

command: P2:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:PhaseScriptExecution [CP-User] [RNFB] Core Configuration /Users/bertidesign/ReactNativeProjects/myapp/ios/build/MyApp.build/Debug-iphonesimulator/MyApp.build/Script-1AEDF60AA9514184FF29226C.sh ->

node: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/Info.plist/ ->

directoryTreeSignature: o ->

directoryContents: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/Info.plist ->

node: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/Info.plist ->

command: P0:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:ProcessInfoPlistFile /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/Info.plist /Users/bertidesign/ReactNativeProjects/myapp/ios/MyApp/Info.plist ->

node: /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/PlugIns/OneSignalNotificationServiceExtension.appex ->

command: P0:target-MyApp-263ad1e1758b5d64964a7a4386b80ecc7ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/MyApp.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/bertidesign/ReactNativeProjects/myapp/ios/build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex

@emawby emawby reopened this Sep 7, 2023
@emawby
Copy link
Contributor

emawby commented Sep 7, 2023

I would try the following:
Remove OneSignal from your NotificationServiceExtension section of your podfile completely (keep it in your main target if you are on iOS native. If you are on another platform it will be included by that platform's onesignal dependency). Then in Xcode navigate to the Notification Service Extension project settings and add the following XCFrameworks as dependencies:
OneSignalCore.xcframework
OneSignalOutcomes.xcframework
OneSignalExtension.xcframework

image

It should now look like this
image

@kmrinmoy07
Copy link
Author

@emawby i am able to fix the issue by removing OneSignalNotificationServiceExtension from my app's main target, and still having OneSignal framework in both my app's main target and in OneSignalNotificationServiceExtension target. notification's are working fine without including OneSignalNotificationServiceExtension in my app's main target

@emawby
Copy link
Contributor

emawby commented Sep 7, 2023

@kmrinmoy07 If you do not include the NotificationServiceExtension you are able to receive push, but you will be missing many features such as images, custom buttons, confirmed deliveries, etc.
By removing the NSE from the main target you are just not using the NSE at all so it would not find a circular dependency.

@kmrinmoy07
Copy link
Author

@emawby i am still able to find images in my notifications. as you have suggested this is not a preferred solution, so what should i do to fix this issue, when i have added onesignal framework into both my app's main target and also to NSE's target, and also have added NSE into my app's main target

@emawby
Copy link
Contributor

emawby commented Sep 7, 2023

@kmrinmoy07 It looks like there are similar issues reported on other frameworks. Could you try this workaround from the firebase version of this issue?
firebase/firebase-ios-sdk#11471 (comment)

@bertidesign
Copy link

I would try the following: Remove OneSignal from your NotificationServiceExtension section of your podfile completely (keep it in your main target if you are on iOS native. If you are on another platform it will be included by that platform's onesignal dependency). Then in Xcode navigate to the Notification Service Extension project settings and add the following XCFrameworks as dependencies: OneSignalCore.xcframework OneSignalOutcomes.xcframework OneSignalExtension.xcframework

image It should now look like this image

Tried to apply your solution, but still got a crash on startup, seems that can't find the file, what I'm missing?

dyld[84155]: Library not loaded: @rpath/OneSignalFramework.framework/OneSignalFramework Referenced from: <9B175FE0-8935-3B6B-8B7B-DBC78EEC092B> /Users/bertidesign/Library/Developer/CoreSimulator/Devices/27245414-56BC-473A-8236-6ED5885AE344/data/Containers/Bundle/Application/E78D039F-0298-4EB7-8157-0102698A8DD9/AssisiEventi.app/AssisiEventi Reason: tried: '/Users/bertidesign/ReactNativeProjects/eventiassisi/ios/build/Debug-iphonesimulator/OneSignalFramework.framework/OneSignalFramework' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A5326a/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalFramework.framework/OneSignalFramework' (no such file), '/usr/lib/swift/OneSignalFramework.framework/OneSignalFramework' (no such file, not in dyld cache), '/Users/bertidesign/Library/Developer/CoreSimulator/Devices/27245414-56BC-473A-8236-6ED5885AE344/data/Containers/Bundle/Application/E78D039F-0298-4EB7-8157-0102698A8DD9/AssisiEventi.app/Frameworks/OneSignalFramework.framework/OneSignalFramework' (no such file), '/Users/bertidesign/Library/Developer/CoreSimulator/Devices/27245414-56BC-473A-8236-6ED5885AE344/data/Containers/Bundle/Application/E78D039F-0298-4EB7-8157-0102698A8DD9/AssisiEventi.app/Frameworks/OneSignalFramework.framework/OneSignalFramework' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A5326a/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalFramework.framework/OneSignalFramework' (no such file), '/usr/lib/swift/OneSignalFramework.framework/OneSignalFramework' (no such file, not in dyld cache), '/Users/bertidesign/Library/Developer/CoreSimulator/Devices/27245414-56BC-473A-8236-6ED5885AE344/data/Containers/Bundle/Application/E78D039F-0298-4EB7-8157-0102698A8DD9/AssisiEventi.app/Frameworks/OneSignalFramework.framework/OneSignalFramework' (no such file), '/Users/bertidesign/Library/Developer/CoreSimulator/Devices/27245414-56BC-473A-8236-6ED5885AE344/data/Containers/Bundle/Application/E78D039F-0298-4EB7-8157-0102698A8DD9/AssisiEventi.app/Frameworks/OneSignalFramework.framework/OneSignalFramework' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A5326a/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OneSignalFramework.framework/OneSignalFramework' (no such file)

@emawby
Copy link
Contributor

emawby commented Sep 12, 2023

@bertidesign How do you import OneSignal in your main App target? Also what are your runpath search paths?
Do you have the following there @executable_path/../../Frameworks

@angelo-hub
Copy link

Bump this is blocking us

@Sophearithz
Copy link

I had the same issue on Xcode 15 with one signal 5.0.2

@s1021025
Copy link

s1021025 commented Jan 15, 2024

image

I have resolved this issue by moving the Embed Foundation Extension from below to under Copy Bundle Resources.

It is the relevant issue, you may found something useful here.
https://developer.apple.com/forums/thread/731287?answerId=756374022#756374022

@nan-li
Copy link
Contributor

nan-li commented May 15, 2024

Hi everyone reporting, checking if if this is still an issue?

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

9 participants