{"action":"created","issue":{"url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/2","labels_url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/2/comments","events_url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/2/events","html_url":"https://github.com/actigraph/ActigraphLinkSDK/issues/2","id":115073565,"number":2,"title":"Missing architecture support","user":{"login":"Kumuluzz","id":1839880,"avatar_url":"https://avatars.githubusercontent.com/u/1839880?v=3","gravatar_id":"","url":"https://api.github.com/users/Kumuluzz","html_url":"https://github.com/Kumuluzz","followers_url":"https://api.github.com/users/Kumuluzz/followers","following_url":"https://api.github.com/users/Kumuluzz/following{/other_user}","gists_url":"https://api.github.com/users/Kumuluzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kumuluzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kumuluzz/subscriptions","organizations_url":"https://api.github.com/users/Kumuluzz/orgs","repos_url":"https://api.github.com/users/Kumuluzz/repos","events_url":"https://api.github.com/users/Kumuluzz/events{/privacy}","received_events_url":"https://api.github.com/users/Kumuluzz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"blitzxion","id":940825,"avatar_url":"https://avatars.githubusercontent.com/u/940825?v=3","gravatar_id":"","url":"https://api.github.com/users/blitzxion","html_url":"https://github.com/blitzxion","followers_url":"https://api.github.com/users/blitzxion/followers","following_url":"https://api.github.com/users/blitzxion/following{/other_user}","gists_url":"https://api.github.com/users/blitzxion/gists{/gist_id}","starred_url":"https://api.github.com/users/blitzxion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitzxion/subscriptions","organizations_url":"https://api.github.com/users/blitzxion/orgs","repos_url":"https://api.github.com/users/blitzxion/repos","events_url":"https://api.github.com/users/blitzxion/events{/privacy}","received_events_url":"https://api.github.com/users/blitzxion/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-04T15:07:39Z","updated_at":"2015-11-06T14:34:21Z","closed_at":null,"body":"# Description\r\nThe ActiGraph iOS SDK has only been exported to support the `arm64` architecture, so it doesn't support the `armv7`, `armv7s`, `i386` and `x86_64` archiectures.\r\n\r\nThis can be confirmed by running the following command:\r\n`lipo -info libAGDeviceSDK.a`\r\n\r\nThis means the SDK can only be installed on iPhone 5S and above, which is not optimal since iOS 9 is supported all the way down to iPhone 4S. \r\n\r\nAlso, it makes it impossible to run any app using the SDK in the simular. Now, of course this is less important since the SDK would interact with a real device anyway due to the fact that bluetooth cannot be tested in the simular.\r\n\r\nLastly, it means that it is impossible to compile and export an app using the SDK unless I change the architecture targets for my own app to match the ones of the ActiGraph SDK.\r\n\r\n# Steps to test\r\nThis issue can easily be recreated with the simular, but also on specific real devices.\r\n\r\n- Open up the ActiGraph iOS demo app\r\n- Try to run it in the simular, doesn't work\r\n- Try to run on an iPhone5 or below, doesn't work\r\n- Try to run on an iPhone 5s or above, works\r\n\r\n# Enviroment:\r\n- Swift 2 (for the project where I'm using the SDK)\r\n- Xcode 7.1 (7B91b)\r\n- OS X 10.11 (15A284)\r\n- iPhone8,1 (tested real device, the sdk works)\r\n- iPhone6,2 (tested real device, the sdk works)\r\n- iPhone5,1 (tested real device, the sdk does not work)\r\n\r\n# External resources:\r\niOS Support Matric:\r\nhttp://static1.squarespace.com/static/51adfbd9e4b095d664d9b869/t/5596a861e4b0eb5f837cf243/1435936865957/iOS_Support_Matrix_v3_2.pdf"},"comment":{"url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/comments/154424291","html_url":"https://github.com/actigraph/ActigraphLinkSDK/issues/2#issuecomment-154424291","issue_url":"https://api.github.com/repos/actigraph/ActigraphLinkSDK/issues/2","id":154424291,"user":{"login":"blitzxion","id":940825,"avatar_url":"https://avatars.githubusercontent.com/u/940825?v=3","gravatar_id":"","url":"https://api.github.com/users/blitzxion","html_url":"https://github.com/blitzxion","followers_url":"https://api.github.com/users/blitzxion/followers","following_url":"https://api.github.com/users/blitzxion/following{/other_user}","gists_url":"https://api.github.com/users/blitzxion/gists{/gist_id}","starred_url":"https://api.github.com/users/blitzxion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitzxion/subscriptions","organizations_url":"https://api.github.com/users/blitzxion/orgs","repos_url":"https://api.github.com/users/blitzxion/repos","events_url":"https://api.github.com/users/blitzxion/events{/privacy}","received_events_url":"https://api.github.com/users/blitzxion/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T14:34:21Z","updated_at":"2015-11-06T14:34:21Z","body":"@Kumuluzz \r\n\r\nThanks for the very descriptive issue! I have reviewed the SDK source and have indeed found that we're not compiling it with the additional architectures.\r\n\r\nSupport for `i386` and `x86_64` isn't possible within this SDK due to the requirement of Apple's CoreBluetooth library and the simulator's inability to utilize those libraries.\r\n\r\n```\r\n$ lipo -info libAGDeviceSDK.a\r\nArchitectures in the fat file: libAGDeviceSDK.a are: armv7 arm64 armv7s\r\n```\r\n\r\nI'll push an update with these chages shortly."}}