{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Manually Installing the Pulsate SDK","type":"basic","slug":"manually-installing-the-pulsate-sdk","excerpt":"","body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 1: Add Pulsate Files to Project\"\n}\n[/block]\n**1. **Download Pulsate SDK from the repository through Git:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"git clone https://github.com/PulsateHQ/pulsate-ios-sdk\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"You can do that manually by going to the[ Pulsate Github repository](https://github.com/PulsateHQ/pulsate-ios-sdk) and pressing *\\\"Download ZIP\\\"*\"\n}\n[/block]\nThe Pulsate SDK package contains:\n\n• **PULPulsate.framework** - the Pulsate framework compiled for arm7, arm64 and simulator.\n• **PULPulsateBasic.bundle** - the Pulsate bundle containing all image assets and CoreData schema, used by Pulsate SDK\n\n \n**2. **You can either drag and drop these files into your project, or select a group in XCode Project Navigator and go to *File* -> *Add Files to...* and select the folder with the Pulsate framework and bundle.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Make sure that 'Copy items into destination group’s folder' checkbox is set.\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/qT7yahIXTnmZEdttKQdH_Tutorial2.png\",\n        \"Tutorial2.png\",\n        \"583\",\n        \"241\",\n        \"#a44e25\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 2: Add Required Frameworks\"\n}\n[/block]\n**Please add all of the frameworks listed below to your project:**\n\n• CoreLocation.framework\n• libz.dylib (libz.tbd in Xcode 7)\n• CoreData.framework\n• SystemConfiguration.framework\n• CoreBluetooth.framework\n[block:api-header]\n{\n  \"type\": \"basic\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/SH4MWAWYTuc4pp5Bde6b_Screen%20Shot%202015-06-11%20at%2014.03.38.png\",\n        \"Screen Shot 2015-06-11 at 14.03.38.png\",\n        \"924\",\n        \"428\",\n        \"#cb9836\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 3: Add Needed Linker Flags\"\n}\n[/block]\nYou need to add **-ObjC** linker flag to project linker configuration. To do this, go to *Build Settings* tab of project settings, then to the *Linking* section and the flag to *Other Linker Flags* row, they are needed to load Pulsate (or any other library) category files properly.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 4 (Optional) : Using Swift\"\n}\n[/block]\nIf you're using Swift, you need to create a [bridging header](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html) to use the Pulsate SDK.","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e5013741b3b20006532949e","createdAt":"2015-01-05T12:52:49.442Z","parentDoc":null,"version":{"version":"2.7","version_clean":"2.7.0","codename":"iOS SDK","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e5013741b3b200065329486","55781fe35129590d003ff4f9","55781fe35129590d003ff4fa","5e5013741b3b200065329487","5e5013741b3b200065329488","5e5013741b3b200065329489","5e5013741b3b20006532948a","5e5013741b3b20006532948b","565b66c446118c0d00dcb0bb","56898269f8dc340d00308c13","5e5013741b3b20006532948c","5e5013741b3b20006532948d","5c73dd27e8fdc000572a206a","5e5013741b3b20006532948e","5e53d9a2f75c0b0020de8935"],"_id":"5e5013741b3b20006532951d","project":"54aa7f773b56130b0056c86e","forked_from":"5e4fbbbda8fb41028f1861fe","__v":1,"createdAt":"2015-06-10T11:30:42.700Z","releaseDate":"2015-06-10T11:30:42.700Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["5e5013741b3b20006532949e","5e5013741b3b20006532949f","55781fe45129590d003ff519","5e5013741b3b2000653294a0","5e5013741b3b2000653294a1","5e5013741b3b2000653294a2","5e5013741b3b2000653294a3","5e5013741b3b2000653294a4","55781fe45129590d003ff51f","55781fe45129590d003ff520","55781fe45129590d003ff521","5e5013741b3b2000653294a5","5e5013741b3b2000653294a6","5e5013741b3b2000653294a8","5e5013741b3b2000653294a9","5e5013741b3b2000653294ad","5e5013741b3b2000653294ae","5e5013741b3b2000653294af","5e5013741b3b2000653294b1","5e5013741b3b2000653294bc","5e5013741b3b2000653294be","5e5013741b3b2000653294c2"],"title":"iOS SDK","slug":"ios-sdk","order":1,"from_sync":false,"reference":false,"_id":"5e5013741b3b200065329487","version":"5e5013741b3b20006532951d","__v":11,"createdAt":"2015-01-05T12:43:51.897Z","project":"54aa7f773b56130b0056c86e"},"user":"54aa7f3f9bb00c0b00cb899b","__v":26,"githubsync":"","project":"54aa7f773b56130b0056c86e"}

Manually Installing the Pulsate SDK


[block:api-header] { "type": "basic", "title": "Step 1: Add Pulsate Files to Project" } [/block] **1. **Download Pulsate SDK from the repository through Git: [block:code] { "codes": [ { "code": "git clone https://github.com/PulsateHQ/pulsate-ios-sdk", "language": "shell" } ] } [/block] [block:callout] { "type": "info", "body": "You can do that manually by going to the[ Pulsate Github repository](https://github.com/PulsateHQ/pulsate-ios-sdk) and pressing *\"Download ZIP\"*" } [/block] The Pulsate SDK package contains: • **PULPulsate.framework** - the Pulsate framework compiled for arm7, arm64 and simulator. • **PULPulsateBasic.bundle** - the Pulsate bundle containing all image assets and CoreData schema, used by Pulsate SDK **2. **You can either drag and drop these files into your project, or select a group in XCode Project Navigator and go to *File* -> *Add Files to...* and select the folder with the Pulsate framework and bundle. [block:callout] { "type": "info", "body": "Make sure that 'Copy items into destination group’s folder' checkbox is set." } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/qT7yahIXTnmZEdttKQdH_Tutorial2.png", "Tutorial2.png", "583", "241", "#a44e25", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Step 2: Add Required Frameworks" } [/block] **Please add all of the frameworks listed below to your project:** • CoreLocation.framework • libz.dylib (libz.tbd in Xcode 7) • CoreData.framework • SystemConfiguration.framework • CoreBluetooth.framework [block:api-header] { "type": "basic" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/SH4MWAWYTuc4pp5Bde6b_Screen%20Shot%202015-06-11%20at%2014.03.38.png", "Screen Shot 2015-06-11 at 14.03.38.png", "924", "428", "#cb9836", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Step 3: Add Needed Linker Flags" } [/block] You need to add **-ObjC** linker flag to project linker configuration. To do this, go to *Build Settings* tab of project settings, then to the *Linking* section and the flag to *Other Linker Flags* row, they are needed to load Pulsate (or any other library) category files properly. [block:api-header] { "type": "basic", "title": "Step 4 (Optional) : Using Swift" } [/block] If you're using Swift, you need to create a [bridging header](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html) to use the Pulsate SDK.