Skip to content

[Bug]: OneSignalInAppMessages' (no such file, not in dyld cache) after xcode update #772

Open
@saulopef

Description

@saulopef

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions