Build static Graphviz libraries for iOS

后端 未结 3 605
庸人自扰
庸人自扰 2021-02-06 05:55

I am trying build the static libraries for Graphviz to include them in in an iOS app, but I can\'t get it to work. Here\'s what I have done so far, using graphviz 2.28.0], Xcode

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-06 06:54

    Problem is imo that mkdefs is executed during the build process itself after it was created. So if you build for armv6 or armv7 the file can't be executed on the command line of Mac OS X. My workaround was to build a mkdefs for architecture i386 (which is needed for the iPhone simulator too) and copy it in the lib/gvpr directory after getting this error. Make sure that the file could not be overwritten and restart the build.

提交回复
热议问题