Objective-C App using Swift Universal Static Library



The thing is that I have an universal static library implement using Swift + Objective-C. This library has been integrated successfully in pure Objective-C applications, in the same way than in Swift (or Swift + Objective-C) applications.


My problem is that after upgrading to Xcode 10.2 and Swift 5.0, I am getting the following exception on running my Objective-C testing application. I have to say, that everything works properly when running other testing applications implemented using Swift or Objective-C + Swift.


This copy of libswiftCore.dylib requires an OS version prior to 12.2.0.


A workaround would be to include a simple empty Swift file in my Objective-C testing application (I have tested and it works), but I think that it is not the way of dealing with the problem.


Any help would be appreciated.



Powered by WPeMatico

You may also like...

Comments are closed.