{"action":"created","issue":{"url":"https://api.github.com/repos/XVimProject/XVim/issues/987","repository_url":"https://api.github.com/repos/XVimProject/XVim","labels_url":"https://api.github.com/repos/XVimProject/XVim/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/XVimProject/XVim/issues/987/comments","events_url":"https://api.github.com/repos/XVimProject/XVim/issues/987/events","html_url":"https://github.com/XVimProject/XVim/issues/987","id":176617031,"number":987,"title":"Xcode 8 GM wont load","user":{"login":"squarefrog","id":343450,"avatar_url":"https://avatars.githubusercontent.com/u/343450?v=3","gravatar_id":"","url":"https://api.github.com/users/squarefrog","html_url":"https://github.com/squarefrog","followers_url":"https://api.github.com/users/squarefrog/followers","following_url":"https://api.github.com/users/squarefrog/following{/other_user}","gists_url":"https://api.github.com/users/squarefrog/gists{/gist_id}","starred_url":"https://api.github.com/users/squarefrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squarefrog/subscriptions","organizations_url":"https://api.github.com/users/squarefrog/orgs","repos_url":"https://api.github.com/users/squarefrog/repos","events_url":"https://api.github.com/users/squarefrog/events{/privacy}","received_events_url":"https://api.github.com/users/squarefrog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T11:34:58Z","updated_at":"2016-09-15T10:01:40Z","closed_at":"2016-09-15T10:01:40Z","body":"\r\n# Description\r\nAfter installing Xcode 8 GM, I am unable to use XVim. I freshly cloned the repo, using the master branch, ran:\r\n\r\n```\r\n$ cd XVim\r\n$ make uninstall\r\n$ make clean\r\n$ make\r\n```\r\n\r\nI was prompted to add the UDID, and strip Xcode 8 of signing.\r\n\r\nWhen I open Xcode it asks me if I want to load the bundle, and I say yes. Then Xcode opens with no Xvim.\r\n\r\nI have restarted the Mac.\r\n\r\n# Operation\r\nN/A\r\n\r\n# Expected behaviour\r\nXcode should load XVim bundle\r\n\r\n# Environments\r\n  - Xcode Version : 8.0 (8A218a)\r\n  - XVim branch and revision: master (3eb09a6)\r\n  - Keyboard Language: en_GB\r\n  - Input source language en_GB\r\n\r\n# Crash log (if any)\r\n\r\nN/A\r\n\r\n# Console log\r\n\r\nHere is where it gets interesting. Is it required that you sign XVim in order to use with Xcode 8?\r\n\r\n    13/09/2016 12:27:05.000 kernel[0]: AMFI: Xcode(pid 892) - [deny-mmap] mapped executable file has no team identifier in its signature: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:27:05.000 kernel[0]: AMFI: Xcode(pid 892) - [deny-mmap] mapped executable file has no team identifier in its signature: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:27:05.718 Xcode[892]: WARNING: Failed to load plugin at path: \"/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin\", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 \"dlopen_preflight(/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim): no suitable image found.  Did find:\r\n      /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim: mmap() error 1 at address=0x120AB5000, size=0x0009D000 segment=__TEXT in Segment::map() mapping /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim, NSDebugDescription=dlopen_preflight(/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim): no suitable image found.  Did find:\r\n      /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim: mmap() error 1 at address=0x120AB5000, size=0x0009D000 segment=__TEXT in Segment::map() mapping /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim, NSBundlePath=/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin, NSLocalizedDescription=The bundle “XVim” couldn’t be loaded because it is damaged or missing necessary resources.}\r\n\r\nIf I then sign it using my developer account, the errors change:\r\n\r\n    13/09/2016 12:30:45.000 kernel[0]: AMFI: Xcode(pid 1003) - [deny-mmap] main process is a platform binary, but mapped executable file is not: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:30:45.000 kernel[0]: AMFI: Xcode(pid 1003) - [deny-mmap] mapped file has team identifier XXXXXXXXXX: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:30:45.000 kernel[0]: AMFI: Xcode(pid 1003) - [deny-mmap] main process is a platform binary, but mapped executable file is not: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:30:45.000 kernel[0]: AMFI: Xcode(pid 1003) - [deny-mmap] mapped file has team identifier XXXXXXXXXX: /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim\r\n    13/09/2016 12:30:45.929 Xcode[1003]: WARNING: Failed to load plugin at path: \"/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin\", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 \"dlopen_preflight(/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim): no suitable image found.  Did find:\r\n      /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim: cannot load image with wrong team ID in process using Library Validation\" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim, NSDebugDescription=dlopen_preflight(/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim): no suitable image found.  Did find:\r\n      /Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin/Contents/MacOS/XVim: cannot load image with wrong team ID in process using Library Validation, NSBundlePath=/Users/pi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin, NSLocalizedDescription=The bundle “XVim” couldn’t be loaded because it is damaged or missing necessary resources.}\r\n\r\n\r\n\r\nRelated to https://github.com/XVimProject/XVim/issues/978\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37826346-xcode-8-gm-wont-load?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/XVimProject/XVim/issues/comments/247287435","html_url":"https://github.com/XVimProject/XVim/issues/987#issuecomment-247287435","issue_url":"https://api.github.com/repos/XVimProject/XVim/issues/987","id":247287435,"user":{"login":"squarefrog","id":343450,"avatar_url":"https://avatars.githubusercontent.com/u/343450?v=3","gravatar_id":"","url":"https://api.github.com/users/squarefrog","html_url":"https://github.com/squarefrog","followers_url":"https://api.github.com/users/squarefrog/followers","following_url":"https://api.github.com/users/squarefrog/following{/other_user}","gists_url":"https://api.github.com/users/squarefrog/gists{/gist_id}","starred_url":"https://api.github.com/users/squarefrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squarefrog/subscriptions","organizations_url":"https://api.github.com/users/squarefrog/orgs","repos_url":"https://api.github.com/users/squarefrog/repos","events_url":"https://api.github.com/users/squarefrog/events{/privacy}","received_events_url":"https://api.github.com/users/squarefrog/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T10:01:40Z","updated_at":"2016-09-15T10:01:40Z","body":"This for me is resolved by following on #988"}}
{"actor":{"display_login":"squarefrog"}}