{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/405","repository_url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios","labels_url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/405/comments","events_url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/405/events","html_url":"https://github.com/Shopify/mobile-buy-sdk-ios/issues/405","id":188404451,"number":405,"title":"Crash on all API calls","user":{"login":"cclogg","id":1407377,"avatar_url":"https://avatars.githubusercontent.com/u/1407377?v=3","gravatar_id":"","url":"https://api.github.com/users/cclogg","html_url":"https://github.com/cclogg","followers_url":"https://api.github.com/users/cclogg/followers","following_url":"https://api.github.com/users/cclogg/following{/other_user}","gists_url":"https://api.github.com/users/cclogg/gists{/gist_id}","starred_url":"https://api.github.com/users/cclogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cclogg/subscriptions","organizations_url":"https://api.github.com/users/cclogg/orgs","repos_url":"https://api.github.com/users/cclogg/repos","events_url":"https://api.github.com/users/cclogg/events{/privacy}","received_events_url":"https://api.github.com/users/cclogg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-10T02:23:50Z","updated_at":"2016-11-10T22:27:26Z","closed_at":null,"body":"Hey, so I added the mobile SDK (as static framework) to an app today, following the documentation guidelines. It looks like the BUYClient initializes but anything I do like get collection-1 or get a product by ID just crashes on this:\r\n![screen shot 2016-11-09 at 6 14 20 pm](https://cloud.githubusercontent.com/assets/1407377/20162250/921cc950-a6a8-11e6-81fa-eb1f81d00dec.png)\r\n![screen shot 2016-11-09 at 6 14 53 pm](https://cloud.githubusercontent.com/assets/1407377/20162252/968a4cba-a6a8-11e6-953c-216cfa64c095.png)\r\nAnd this is literally the only code I have:\r\n`shopifyClient = [[BUYClient alloc] initWithShopDomain:@\"XXXXXXXXXXX.myshopify.com\" apiKey:@\"XXXXXXXXXXXX\" appId:@\"X\"];`\r\n`[shopifyClient getProductById:@(XXXXXXXXX) completion:^(BUYProduct * _Nullable product, NSError * _Nullable error) {`\r\n`        NSLog(@\"hi\"); // never reached`\r\n`    }];`\r\n(Tested on iOS 10 simulator and iOS 10 phone).\r\n--> Similar crash happens with even the basic \"getCollectionsPage:1\" method.\r\n\r\nNot sure what I am doing wrong... the online implementation we have works with our collection/products...\r\nAny help is appreciated."},"comment":{"url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/comments/259826415","html_url":"https://github.com/Shopify/mobile-buy-sdk-ios/issues/405#issuecomment-259826415","issue_url":"https://api.github.com/repos/Shopify/mobile-buy-sdk-ios/issues/405","id":259826415,"user":{"login":"bgulanowski","id":186680,"avatar_url":"https://avatars.githubusercontent.com/u/186680?v=3","gravatar_id":"","url":"https://api.github.com/users/bgulanowski","html_url":"https://github.com/bgulanowski","followers_url":"https://api.github.com/users/bgulanowski/followers","following_url":"https://api.github.com/users/bgulanowski/following{/other_user}","gists_url":"https://api.github.com/users/bgulanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/bgulanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgulanowski/subscriptions","organizations_url":"https://api.github.com/users/bgulanowski/orgs","repos_url":"https://api.github.com/users/bgulanowski/repos","events_url":"https://api.github.com/users/bgulanowski/events{/privacy}","received_events_url":"https://api.github.com/users/bgulanowski/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T22:27:26Z","updated_at":"2016-11-10T22:27:26Z","body":"We can't predict every possible problem, and we can't see your environment. Open source software requires a bit more from users. Please follow the advice I already provided."}}
{"actor":{"display_login":"bgulanowski"}}