iOS App crashed when i try link swift framework with objective - c project -
I have trouble app crash when I try to link swift framework with purpose - c project < pre> Do you have any ideas? Can I use the framework in Objective-C code? Thanks PS Xcode 6.0 Release Simulator I had to face a similar issue While trying to call the function with a pure swift framework in an existing purpose, the app was using XCode 6.1 and an iOS 7.1.2 device and tried all other suggestions on stack overflow. Create a dummy swift file in your objective-project (if you do not already have one swift file in your project) in that swift file, just add this line to import the UIKit: < / P> It seems that the encoding is being compelled to pack the required swift libraries in the app and prevent it from crashing. Dyld: Library has not been loaded: @ rpath / libswiftCoreImage.dylib: /Users/arcilite/Library/Developer/Xcode/DerivedData/SamplesAdaptiveController-fpznutybiarsvsbwskrhgwflbcdo/Build/Products/Debug-iphonesimulator/AdaptiveController.framework/ AdaptiveController Referred to: / Pre>
Comments
Post a Comment