Looks like you need to include the whole framework for this one. See this answer here: https://stackoverflow.com/a/58395515/2935174
There is an update coming on Friday that will allow you to simply zip up the framework and add it to your native/ios directory. However, right now you can still do it using a custom podspec as described in that SO answer. On Wed, Oct 23, 2019 at 8:35 AM Hasni Faiçal <[email protected]> wrote: > I am trying to bundle .framework iOS library in codename one project, I > followed steps mentioned in this link > <https://www.codenameone.com/blog/integrating-3rd-party-native-sdks-part-3.html>, > the project can be build successfully but, unfortunately the app crash > while opening it. I extracted the generated source code & run it on Xcode > this is the error log trace I got: > > dyld: dyld cache load error: shared cache file open() failed > > dyld: Library not loaded: @rpath/MYSDKNAME.framework/MYSDKNAME > > Referenced from: > /Users/macbookuser/Library/Developer/CoreSimulator/Devices/3BFB5084-F82A-4EAA-A68A-2BEC43F0B981/data/Containers/Bundle/Application/8B105928-1F5C-4412-A2D5-98D2279C81D0/DemoApp.app/DemoApp > > Reason: image not found > > > I make the SDK name hidden for confidentiality reason. > > Please advice! > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans > Desktop OS: MacOS catalina > Simulator > Device > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/codenameone-discussions/744b67c0-f4e7-4fb7-8b3c-2dd39579f001%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/744b67c0-f4e7-4fb7-8b3c-2dd39579f001%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKU2ptWQFdW8aVNjnL7JnTFkG4GjgaQKynBATfWUpZFmsg%40mail.gmail.com.
