{"id":464,"date":"2015-03-10T19:57:14","date_gmt":"2015-03-11T02:57:14","guid":{"rendered":"http:\/\/www.isam.ca\/?p=464"},"modified":"2015-03-10T19:57:14","modified_gmt":"2015-03-11T02:57:14","slug":"building-d-isam-in-the-xcode-ide","status":"publish","type":"post","link":"https:\/\/www.isam.ca\/?p=464","title":{"rendered":"Building D-ISAM in the Xcode IDE"},"content":{"rendered":"<p>Before starting please see <a href=\"http:\/\/www.isam.ca\/?p=480\">Update for Constant Chars<\/a>.<\/p>\n<p>D-ISAM is probably best deployed as a framework, which may be created as follows.<\/p>\n<ol>\n<li>Start a new Framework project in the IDE.<\/li>\n<li>Add your D-ISAM headers, and make sure they are set <code>Public<\/code> under <em>Target Membership<\/em> in the <em>File Inspector<\/em>.<\/li>\n<li>Add your D-ISAM source, at least the contents of the base folder, and any other modules you need.<\/li>\n<li>In the Framework header (created automatically) <code>#include \"isbase.h\"<\/code>, or the D-ISAM headers of your choice.<\/li>\n<\/ol>\n<p>You can use an existing D-ISAM library, including an <a title=\"DISAM Evaluation Packages\" href=\"http:\/\/www.isam.ca\/?page_id=41\" target=\"_blank\">evaluation<\/a> library, in place of step 3.<\/p>\n<p>Once built and installed, your D-ISAM framework may be imported into any project by adding the installation directory to <em>Framework Search Paths<\/em> under <em>Search Paths<\/em> in <em>Build Options<\/em>, and optionally, if your installation employs <code>rpath<\/code>, to <em>Runpath Search Paths<\/em> under <em>Linking<\/em>.<\/p>\n<p>Installation is not required if all of your application projects share the same build directory as your D-ISAM framework.<\/p>\n<p>See <a href=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/MacOSX\/Conceptual\/BPFrameworks\/Tasks\/CreatingFrameworks.html\" target=\"_blank\">Creating a Framework<\/a> and <a href=\"http:\/\/developer.apple.com\/library\/mac\/documentation\/MacOSX\/Conceptual\/BPFrameworks\/Tasks\/InstallingFrameworks.html\" target=\"_blank\">Installing your Framework<\/a> for the full details.<\/p>\n<p>D-ISAM can also be linked directly into an application by means of the <a href=\"http:\/\/developer.apple.com\/library\/prerelease\/ios\/documentation\/Swift\/Conceptual\/BuildingCocoaApps\/MixandMatch.html\" target=\"_blank\">Bridging Header<\/a>.<\/p>\n<p>This file should include the disam header(s) of your choice.<\/p>\n<p>You may simply add the disam headers directly to your project, or add the disam header directory to the list of <em>User Header Search Paths<\/em>, in your project <em>Build Settings<\/em> under <em>Search Paths<\/em>, in which case you should also set <em>Always Search User Paths<\/em> to <code>Yes.<\/code><\/p>\n<p>You can now copy or link your disam source files directly into your project, or copy or link an existing disam library &#8211; including an <a title=\"DISAM Evaluation Packages\" href=\"http:\/\/www.isam.ca\/?page_id=41\" target=\"_blank\">evaluation<\/a> library.<\/p>\n<p>You may also wish to see <a href=\"http:\/\/www.isam.ca\/?p=474%20\">Building D-ISAM in Xcode from the command line.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before starting please see Update for Constant Chars. D-ISAM is probably best deployed as a framework, which may be created as follows. Start a new Framework project in the IDE. Add your D-ISAM headers, and make sure they are set Public under Target Membership in the File Inspector. Add your D-ISAM source, at least the [&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\/464"}],"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=464"}],"version-history":[{"count":20,"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts\/464\/revisions"}],"predecessor-version":[{"id":548,"href":"https:\/\/www.isam.ca\/index.php?rest_route=\/wp\/v2\/posts\/464\/revisions\/548"}],"wp:attachment":[{"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.isam.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}