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]: OneSignalInAppMessages' (no such file, not in dyld cache) after xcode update #772

Open
2 of 3 tasks
saulopef opened this issue Oct 23, 2023 · 5 comments
Open
2 of 3 tasks
Labels
Help Wanted Extra attention is needed

Comments

@saulopef
Copy link

saulopef commented Oct 23, 2023

What happened?

After last xcode update I'm getting errors to run my app, with vscode run (or cli Flutter run command) the app never stops building process, but by running it directly with Xcode (on a simulator or a physical devices results the same error)

Error in the log

Also, when used fastlane to deploy on testFlight the app crashes right after the start with this crash note:
DYLD error: Library not loaded: @rpath/OneSignalInAppMessages.framework/OneSignalInAppMessages
I also tried all the others suggestions on the other issues that seams to be related with this but none of this works for me.

Steps to reproduce?

Launch the app with the new xcode version and the error will happen

What did you expect to happen?

The app opens normaly

OneSignal Flutter SDK version

^5.0.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

`dyld[56643]: Library not loaded: @rpath/OneSignalInAppMessages.framework/OneSignalInAppMessages
  Referenced from: <8F6D1C6A-FDDD-31E5-9F3E-730C39D46109> /Users/saulosenoski/Library/Developer/CoreSimulator/Devices/B52C4F01-FC4D-40B7-9DD4-F88791A266C9/data/Containers/Bundle/Application/30670297-AF66-4CC3-802F-190496F3BB80/Runner.app/Runner
  Reason: tried: '/Users/saulosenoski/Library/Developer/Xcode/DerivedData/Runner-digphvfbpqfhkherfvqsdjpatrug/Build/Products/Debug-iphonesimulator/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/usr/lib/swift/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file, not in dyld cache), '/Users/saulosenoski/Library/Developer/CoreSimulator/Devices/B52C4F01-FC4D-40B7-9DD4-F88791A266C9/data/Containers/Bundle/Application/30670297-AF66-4CC3-802F-190496F3BB80/Runner.app/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/Users/saulosenoski/Library/Developer/CoreSimulator/Devices/B52C4F01-FC4D-40B7-9DD4-F88791A266C9/data/Containers/Bundle/Application/30670297-AF66-4CC3-802F-190496F3BB80/Runner.app/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/usr/lib/swift/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file, not in dyld cache), '/Users/saulosenoski/Library/Developer/CoreSimulator/Devices/B52C4F01-FC4D-40B7-9DD4-F88791A266C9/data/Containers/Bundle/Application/30670297-AF66-4CC3-802F-190496F3BB80/Runner.app/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/Users/saulosenoski/Library/Developer/CoreSimulator/Devices/B52C4F01-FC4D-40B7-9DD4-F88791A266C9/data/Containers/Bundle/Application/30670297-AF66-4CC3-802F-190496F3BB80/Runner.app/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21A342/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages' (no such file)`

Code of Conduct

  • I agree to follow this project's Code of Conduct
@emawby
Copy link
Contributor

emawby commented Oct 23, 2023

@saulopef Interesting did this only started happening on Xcode version 15.0.1 or after jumping to Xcode 15?

@emawby emawby added the Help Wanted Extra attention is needed label Oct 23, 2023
@saulopef
Copy link
Author

@emawby I'm not sure, but I tried running on a machine with xcode <15 and it works, but my deploy machine is running with 15.0.1

@saulopef
Copy link
Author

any idea? the problem still happening

@KarimSakr
Copy link

I am having the same error when running on real device, but it works fine on simulator, tried changing Dynamic Library Install name base to @rpath but I am facing the same issue.
I have never used OneSignal prior to XCode 15 so I don't know if the version has something to do with it tbh.

@yellhtet-ux
Copy link

yellhtet-ux commented Jan 22, 2024

@saulopef Bro have you solve that problem already? Now, I got the same error like you. Can you tell me any suggestion ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants