Currently, we are working on a project, which is developed purely using Objective-C language. For some reason, We had to use POD projects as dependency in our project. One of the POD project is developed using Swift language. So we have created bridge to use swift file in objective c classes.
So now, when we run this app directly onto device in debug mode it works perfectly. But when we try to deploy this app with Enterprise Distribution, it installs into devices but its not opening. When ever we click on app icon to open application it gets crashed. We have checked device logs as well. Its shows problem in loading libraries which are derived from POD projects.
We have searched through many forums and websites for this concern. They all suggested that due to changes in structure of dependency in POD files this issue is occurring.
For ex.: Before iOS 8 POD projects was attached to app as a static library with ".a" extension. But from iOS 8 and Swift 2.0, this projects are included as dynamic frameworks with ".framework" extension.
We have tried many solutions but its not working. We have also regenerated our distribution certificate as iOS 9 had some changes in certificate fields. But still its not working.
So i want to ask is that, Can we use Swift POD projects in Objective C Project? What should be the root cause for this issue? Do swift 2.0 have part in it?
Please suggest some solution/workaround for this problem.