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

RUMM-1758 Fix 'Library not loaded: SwiftUI' runtime crash in nightly tests (iOS 11 and 12) #673

Conversation

ncreated
Copy link
Member

What and why?

🐞⚙️ This PR fixes the runtime issue appearing in nightly tests for iOS 11 and 12:

dyld: Library not loaded: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
  Referenced from: /Users/vagrant/Library/Developer/CoreSimulator/Devices/7795F4B9-88DD-4620-B70C-CECE75CF3516/data/Containers/Bundle/Application/F5F467F7-4D89-4EB2-9504-0773865DB814/Example.app/Example
  Reason: image not found

How?

The issue was introduced in #669, where SwiftUI code was added to Example app. The solution is to add a weak reference to SwiftUI.framework in this target:

Screenshot 2021-11-25 at 17 24 08

Review checklist

- [] Feature or bugfix MUST have appropriate tests (unit, integration)

  • Make sure each commit and the PR mention the Issue number or JIRA reference

@ncreated ncreated requested a review from a team as a code owner November 25, 2021 16:29
@ncreated ncreated self-assigned this Nov 25, 2021
@ncreated ncreated merged commit f7c7a3a into master Nov 25, 2021
@ncreated ncreated deleted the ncreated/RUMM-1758-fix-runtime-issue-in-nightly-tests-for-iOS-11-and-12 branch November 25, 2021 17:16
@maxep maxep mentioned this pull request Dec 14, 2021
2 tasks
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

Successfully merging this pull request may close these issues.

2 participants