cordova - VS-MDA: Custom iOS-Framework in Plugin -
we want create mobfox-plugin our hybrid apps. running in cli-cordova apps, not work in our hybrid apps, because seems directory structure of framework (the symbolic links between headers , version directory) destroyed windows, framework inside plugin in mda project. if start build, header directory of not recognized symbolic link, ordinary executable textfile on mac.
this how include framework in plugin xml:
<framework src="libs/ios/mobfox.framework" custom="true"/>
i tried copy mobfox.framework sdk frameworks folder , reference standard system libraries (which work well):
<framework src="mobfox.framework" />
but fails, though framework included correctly in xcode. compiler says cannot find mobfox.h-class, how it's included:
#import <mobfox/mobfox.h>
so think problem windows cannot handle symbolic links inside .framework file. has workaround or solution problem? or idea why workaround placing file in standard-frameworks folder not work?
any highly appreciated.
thanks
same problem here - appears when plugin published cordova registry loses symbolic links inside .framework package tell xcode is.
they maintained on git, in plugman export/publish going wrong.
so example
cordova plugin add https://github.com/uxcam/cordova-uxcam
will work plugin writing, not
cordova plugin add com.uxcam.cordova.plugin
which published version.
if delve down 'plugins' folder of project added , 'show package contents' on com.uxcam.cordova.plugin file can 'src/ios'uxcam.framework' , see how has messed symbolic links in framework folder should point @ headers folder , link the library binary well.
reference: cordova bug report here: https://issues.apache.org/jira/browse/cb-6092
update: i've worked around problem manually putting files in framework places need be. on github project reference above can see framework library directly in uxcam.framework folder, , there explicit headers folder has uxcam.h file in it. works published plugin now.
not ideal solution , every time update framework i'll have fix layout again, works until can find proper place report problem.
Comments
Post a Comment