{"id":474,"date":"2015-03-10T19:57:14","date_gmt":"2015-03-11T02:57:14","guid":{"rendered":"http:\/\/www.isam.ca\/?p=474"},"modified":"2015-03-10T19:57:14","modified_gmt":"2015-03-11T02:57:14","slug":"building-d-isam-in-xcode-from-the-command-line","status":"publish","type":"post","link":"https:\/\/www.isam.ca\/?p=474","title":{"rendered":"Building D-ISAM in Xcode from the command line"},"content":{"rendered":"<p><a href=\"http:\/\/www.isam.ca\/?p=469\">Makefile for D-ISAM dynamic library in Xcode<\/a> shows the details needed to build D-ISAM as an Xcode dynamic library, suitable for direct inclusion in any Xcode project.<\/p>\n<p>To build a single arch library for your current development target only<\/p>\n<pre>make clean new lib<\/pre>\n<p>You can also build D-ISAM for devices other than the default by setting the compiler and sdk-path explicitly<\/p>\n<pre>BIN=$(xcrun --sdk iphonesimulator --find clang)\r\nSDK=$(xcrun --sdk iphonesimulator --show-sdk-path)<\/pre>\n<p>To build a multi arch library for the selected device<\/p>\n<pre>make CC=\"$BIN -isysroot $SDK -miphoneos-version-min=6.0 -arch i386 -arch x86_64\" clean new lib<\/pre>\n<p>Static D-ISAM libararies (.a) and regular shared libraries (.so) &#8211; as generated by the makefiles distributed with D-ISAM &#8211; are also compatible with Xcode, as needed or preferred.<\/p>\n<p><a href=\"http:\/\/www.isam.ca\/?p=512\">Building a D-ISAM framework for Xcode<\/a> shows how to build a framework from the command line.<\/p>\n<p><a href=\"http:\/\/www.isam.ca\/?p=464\">Building D-ISAM in the Xcode IDE<\/a> covers D-ISAM installation from the <em>Integrated Development Environment<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Makefile for D-ISAM dynamic library in Xcode shows the details needed to build D-ISAM as an Xcode dynamic library, suitable for direct inclusion in any Xcode project. To build a single arch library for your current development target only make clean new lib You can also build D-ISAM for devices other than the default by [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[6,5],"_links":{"self":[{"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts\/474"}],"collection":[{"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=474"}],"version-history":[{"count":25,"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":547,"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions\/547"}],"wp:attachment":[{"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}