Hi Michael
Nice to hear you're still using BTstack on iOS.
That's a weird error and I don't have a good idea why this happens. If bt_open fails, it means the socket could not get opened. The main cause for this would be if BTdaemon did not start up. Does BTdaemon start if you run it from a terminal directly?
In the last years, the main updates to the BTstack Cydia package were motivated by changes in iOS. I just remember that sandboxing prevented CFMessagePorts from working between apps or so. Adding rocketbootstrap helped with that. If you're really curious, please check the notes on newer releases and/or go through the commits in either v0.9 or master - I've moved the code from master to v0.9 before doing a re-architecture.
Building btstack for iOS 3-9 became more and more tricky over time. You need two Xcode installations and also the correct theos variant.
I just tried on 10.12 and failed, too.
dyld: Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation
Reason: no suitable image found. Did find:
Keeping a full VM just to build the armv6 lib would suck :(
Cheers
Matthias