{"action":"created","issue":{"url":"https://api.github.com/repos/plaid/link/issues/238","repository_url":"https://api.github.com/repos/plaid/link","labels_url":"https://api.github.com/repos/plaid/link/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/plaid/link/issues/238/comments","events_url":"https://api.github.com/repos/plaid/link/issues/238/events","html_url":"https://github.com/plaid/link/issues/238","id":308776039,"number":238,"title":"Prepare for Distribution & Crashlytics","user":{"login":"Albarahakami","id":5579487,"avatar_url":"https://avatars1.githubusercontent.com/u/5579487?v=4","gravatar_id":"","url":"https://api.github.com/users/Albarahakami","html_url":"https://github.com/Albarahakami","followers_url":"https://api.github.com/users/Albarahakami/followers","following_url":"https://api.github.com/users/Albarahakami/following{/other_user}","gists_url":"https://api.github.com/users/Albarahakami/gists{/gist_id}","starred_url":"https://api.github.com/users/Albarahakami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Albarahakami/subscriptions","organizations_url":"https://api.github.com/users/Albarahakami/orgs","repos_url":"https://api.github.com/users/Albarahakami/repos","events_url":"https://api.github.com/users/Albarahakami/events{/privacy}","received_events_url":"https://api.github.com/users/Albarahakami/received_events","type":"User","site_admin":false},"labels":[{"id":557829786,"url":"https://api.github.com/repos/plaid/link/labels/ios","name":"ios","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"afh","id":16507,"avatar_url":"https://avatars1.githubusercontent.com/u/16507?v=4","gravatar_id":"","url":"https://api.github.com/users/afh","html_url":"https://github.com/afh","followers_url":"https://api.github.com/users/afh/followers","following_url":"https://api.github.com/users/afh/following{/other_user}","gists_url":"https://api.github.com/users/afh/gists{/gist_id}","starred_url":"https://api.github.com/users/afh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afh/subscriptions","organizations_url":"https://api.github.com/users/afh/orgs","repos_url":"https://api.github.com/users/afh/repos","events_url":"https://api.github.com/users/afh/events{/privacy}","received_events_url":"https://api.github.com/users/afh/received_events","type":"User","site_admin":false},"assignees":[{"login":"afh","id":16507,"avatar_url":"https://avatars1.githubusercontent.com/u/16507?v=4","gravatar_id":"","url":"https://api.github.com/users/afh","html_url":"https://github.com/afh","followers_url":"https://api.github.com/users/afh/followers","following_url":"https://api.github.com/users/afh/following{/other_user}","gists_url":"https://api.github.com/users/afh/gists{/gist_id}","starred_url":"https://api.github.com/users/afh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afh/subscriptions","organizations_url":"https://api.github.com/users/afh/orgs","repos_url":"https://api.github.com/users/afh/repos","events_url":"https://api.github.com/users/afh/events{/privacy}","received_events_url":"https://api.github.com/users/afh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-03-27T00:02:28Z","updated_at":"2018-03-27T20:05:47Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nWe are running into an issue with the Run Script. After adding the run script exactly as suggested on the installation guid, we aren't able to install the app through Crashlytics.\r\n\r\nWe are using CocoaPods and here's the run script we are using:\r\n\r\n`LINK_ROOT=${PODS_ROOT:+$PODS_ROOT/Plaid/ios}\r\ncp \"${LINK_ROOT:-$PROJECT_DIR}\"/LinkKit.framework/prepare_for_distribution.sh \"${CODESIGNING_FOLDER_PATH}\"/Frameworks/LinkKit.framework/prepare_for_distribution.sh\r\n\"${CODESIGNING_FOLDER_PATH}\"/Frameworks/LinkKit.framework/prepare_for_distribution.sh`\r\n\r\nPlease note that submitting to the App Store isn't generating any issues for us. We haven't tried submitting to Apple yet."},"comment":{"url":"https://api.github.com/repos/plaid/link/issues/comments/376657037","html_url":"https://github.com/plaid/link/issues/238#issuecomment-376657037","issue_url":"https://api.github.com/repos/plaid/link/issues/238","id":376657037,"user":{"login":"afh","id":16507,"avatar_url":"https://avatars1.githubusercontent.com/u/16507?v=4","gravatar_id":"","url":"https://api.github.com/users/afh","html_url":"https://github.com/afh","followers_url":"https://api.github.com/users/afh/followers","following_url":"https://api.github.com/users/afh/following{/other_user}","gists_url":"https://api.github.com/users/afh/gists{/gist_id}","starred_url":"https://api.github.com/users/afh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afh/subscriptions","organizations_url":"https://api.github.com/users/afh/orgs","repos_url":"https://api.github.com/users/afh/repos","events_url":"https://api.github.com/users/afh/events{/privacy}","received_events_url":"https://api.github.com/users/afh/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T20:05:47Z","updated_at":"2018-03-27T20:05:47Z","author_association":"CONTRIBUTOR","body":"@Albarahakami thanks for providing the additional information.\r\n\r\nThe Crashlytics run script you pointed to is just a wrapper around `uploadDSYM`, which is a binary executable; so not sure what it does without further investigation.\r\n\r\nIf removing the `prepare_for_distribution` scripts makes your application downloadable via Crashlytics then I would go with that.\r\n\r\nThe one thing I would verify is what architectures are contained in the LinkKit.framework that is embedded in your application's archive. Yet it could be that Crashlytics strips the architectures during upload.\r\n\r\n* Archive your application\r\n* `open ~/Library/Developer/Xcode/Archives/$(date +'%Y-%m-%d')`\r\n* `Show Package Contents` of the application's `.xcarchive`\r\n* Find your application in `Products/Applications`\r\n* `Show Package Contents` of the application`.app`\r\n* Find `LinkKit.framework` in `Frameworks`\r\n* Run `lipo -info on LinkKit.framework/LinkKit` it should show only `arm*` related architectures:\r\n```\r\nArchitectures in the fat file: LinkKit.framework/LinkKit are: armv7 arm64 \r\n```\r\n\r\n<details><summary>Screenshots</summary>\r\n\r\n<img width=\"50%\" src=\"https://user-images.githubusercontent.com/16507/37991806-fc6301e2-31be-11e8-920c-9fd2561b7ffa.png\">\r\n<img width=\"50%\" src=\"https://user-images.githubusercontent.com/16507/37991821-0bf4c528-31bf-11e8-9ad5-6b4d14d10832.png\">\r\n<img width=\"50%\" src=\"https://user-images.githubusercontent.com/16507/37991835-14619420-31bf-11e8-8530-c0dd0e49d716.png\">\r\n\r\n</details>"}}
{"actor":{"display_login":"afh"}}