{"action":"created","issue":{"url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/17","repository_url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS","labels_url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/17/comments","events_url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/17/events","html_url":"https://github.com/KleinYuan/Caffe2-iOS/issues/17","id":235485918,"number":17,"title":"I got a issues when build the target","user":{"login":"Kyuuki93","id":26849480,"avatar_url":"https://avatars2.githubusercontent.com/u/26849480?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyuuki93","html_url":"https://github.com/Kyuuki93","followers_url":"https://api.github.com/users/Kyuuki93/followers","following_url":"https://api.github.com/users/Kyuuki93/following{/other_user}","gists_url":"https://api.github.com/users/Kyuuki93/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyuuki93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyuuki93/subscriptions","organizations_url":"https://api.github.com/users/Kyuuki93/orgs","repos_url":"https://api.github.com/users/Kyuuki93/repos","events_url":"https://api.github.com/users/Kyuuki93/events{/privacy}","received_events_url":"https://api.github.com/users/Kyuuki93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T09:09:05Z","updated_at":"2017-06-13T15:38:04Z","closed_at":null,"body":"When I trying to build the target, I got many warning and errors like this:\r\n\r\n> ld: warning: ignoring file /Users/Church/Caffe2-iOS/src/caffe2-ios/caffe2-ios/opencv2.framework/opencv2, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (armv7): /Users/Church/Caffe2-iOS/src/caffe2-ios/caffe2-ios/opencv2.framework/opencv2\r\n\r\nThe opencv framework was ignored, it seems two kind of architectures were not matched, but I'm not sure what the real problem is, did I do something wrong?\r\n\r\nThanks for your help anyway.\r\n"},"comment":{"url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/comments/308157947","html_url":"https://github.com/KleinYuan/Caffe2-iOS/issues/17#issuecomment-308157947","issue_url":"https://api.github.com/repos/KleinYuan/Caffe2-iOS/issues/17","id":308157947,"user":{"login":"KleinYuan","id":8921629,"avatar_url":"https://avatars3.githubusercontent.com/u/8921629?v=3","gravatar_id":"","url":"https://api.github.com/users/KleinYuan","html_url":"https://github.com/KleinYuan","followers_url":"https://api.github.com/users/KleinYuan/followers","following_url":"https://api.github.com/users/KleinYuan/following{/other_user}","gists_url":"https://api.github.com/users/KleinYuan/gists{/gist_id}","starred_url":"https://api.github.com/users/KleinYuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KleinYuan/subscriptions","organizations_url":"https://api.github.com/users/KleinYuan/orgs","repos_url":"https://api.github.com/users/KleinYuan/repos","events_url":"https://api.github.com/users/KleinYuan/events{/privacy}","received_events_url":"https://api.github.com/users/KleinYuan/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T15:38:04Z","updated_at":"2017-06-13T15:38:04Z","body":"@Kyuuki93  I assume this is because of the new commit I did two days ago. I updated the opencv2.framework with a fresh built so that it's pure static and compatible without problem for archiving.\r\nHowever, the new opencv2.framework contains a file called `opencv2`, which is around 130MB, way too large to fit a git commit. Therefore, I used [git lfs](https://git-lfs.github.com/) to store big files, including all `pb` models. I think this waring is because of cloning did not fetch the files stored in lfs hosting.\r\n\r\nCheck the following:\r\n1. You have Git lfs [installed](https://git-lfs.github.com/)\r\n2. Do a fresh clone again \r\n3. If still problematic, try [this](https://github.com/git-lfs/git-lfs/wiki/Tutorial#pulling-and-cloning)\r\n\r\nAlso make sure that you are building target against an actual device instead of a simulator.\r\n\r\nI will update the readme to include the content above."}}
{"actor":{"display_login":"KleinYuan"}}