ios - Using pre compiled dylib in iOS8+ or building dynamic framework out of dylibs? -


i'm trying use fat dylib i've made contains latest version of tbb code architectures may targetting (armv7, arm64, i386 , x86_x64)

since ios8 using dylib(s) meant possible, in fact 1 of error messages found googling following one:

ld: embedded dylibs/frameworks supported on ios 8.0 , later 

which seems suggest embedding dylibs possible , aren't restricted new called dynamic frameworks, yet, when try run project following:

dyld: library not loaded: @rpath/libtbb.dylib   referenced from: /users/user/library/developer/coresimulator/devices/b4dcff3e-10b2-4c01-953f-bd26d14300e7/data/containers/bundle/application/8c84a844-97fc-4993-a37e-a456c4e2240f/testtbb.app/testtbb   reason: image not found 

i thought due dylib not being automagically copied app being built added "copy bundle resources" section in projects "build phases" , i've since made sure libtbb.dylib in fact being copied app , yet keep getting message saying can't loaded.

i've tried using "embedded binaries" section under "general" seems restricted using new framework types.

is there might missing?

as may have noticed i'm trying use tbb comes own build makefiles generates dylibs, i'm assuming if it's because dylibs can used, legally since ios8+ update.

i have seen ways of getting dylibs load, these aren't ones apple accept in appstore, i'm trying app on appstore , have no plans of getting removed or not accepted after update i'd go whatever new "legal" way dylibs loaded. app targetting ios9.2+ since latest update shouldn't issue.

all can find ways dynamic frameworks loaded no info actual dylibs though error message states used.

alternatively, there way build dynamic framework out of existing dylib files?

thanks in advance.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -