CBL and dynamically linked framework.

22 views
Skip to first unread message

Todd Freese

unread,
Mar 5, 2015, 6:11:25 PM3/5/15
to mobile-c...@googlegroups.com
I need to add a dynamically linked framework to my CBL IOS8 app. However, I can't seem to get both CBL and this new framework working at the same time. I can get it to build, but when I run on a device, it crashes with the lovely message:

dyld: Library not loaded: @rpath/TeradekSDK.framework/TeradekSDK

  Referenced from: /private/var/mobile/Containers/Bundle/Application/190AFD44-CFA7-45A8-8CED-DCD3C52E4BB5/ShotBOT.app/ShotBOT

  Reason: no suitable image found.  Did find:

/private/var/mobile/Containers/Bundle/Application/190AFD44-CFA7-45A8-8CED-DCD3C52E4BB5/ShotBOT.app/Frameworks/TeradekSDK.framework/TeradekSDK: mmap() error 1 at address=0x100D60000, size=0x00C90000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/190AFD44-CFA7-45A8-8CED-DCD3C52E4BB5/ShotBOT.app/Frameworks/TeradekSDK.framework/TeradekSDK


Do I need to change a build setting or something?

Can CBL be built as a dynamically linked framework for embedded on IOS8?

Todd

Jens Alfke

unread,
Mar 5, 2015, 7:33:32 PM3/5/15
to mobile-c...@googlegroups.com
I don’t see anything related to CBL in those logs — they’re all about something called Teradek. Is that the other framework you mentioned?

—Jens

Todd Freese

unread,
Mar 5, 2015, 7:59:46 PM3/5/15
to mobile-c...@googlegroups.com
Yes, that is the other framework.

I must have some sort of build setting wrong somewhere.

Can CBL be built as a dynamic framework?

Todd

Jens Alfke

unread,
Mar 5, 2015, 8:58:16 PM3/5/15
to mobile-c...@googlegroups.com

On Mar 5, 2015, at 4:59 PM, Todd Freese <to...@filmworkers.com> wrote:

Can CBL be built as a dynamic framework?

In theory, yes. In practice, we did recently get a pull request that does it, but it’s got some issues.

—Jens
Reply all
Reply to author
Forward
0 new messages