How to use storyboard reference segue when required storyboard is in Swift Package

137 Views Asked by At

Im using a swift package which has textfield xib, some storyboards as resources. My question here is I'm trying to present a viewController through segue which is in swift Package. In storyboard reference I have given the storyBoard name "Login" and given the Bundle as "Sample". while calling performSegue Im getting crash saying that Login storyboard not present in NSBundle. it automatically taking the NSBundle not the Sample_Sample.module. How to solve this?

Storyboard reference

Crash error

0

There are 0 best solutions below