{"action":"reopened","issue":{"url":"https://api.github.com/repos/johnno1962/injectionforxcode/issues/41","labels_url":"https://api.github.com/repos/johnno1962/injectionforxcode/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/johnno1962/injectionforxcode/issues/41/comments","events_url":"https://api.github.com/repos/johnno1962/injectionforxcode/issues/41/events","html_url":"https://github.com/johnno1962/injectionforxcode/issues/41","id":69205877,"number":41,"title":"Code injection failed due to multiple certificates","user":{"login":"jonathantribouharet","id":188946,"avatar_url":"https://avatars.githubusercontent.com/u/188946?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathantribouharet","html_url":"https://github.com/jonathantribouharet","followers_url":"https://api.github.com/users/jonathantribouharet/followers","following_url":"https://api.github.com/users/jonathantribouharet/following{/other_user}","gists_url":"https://api.github.com/users/jonathantribouharet/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathantribouharet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathantribouharet/subscriptions","organizations_url":"https://api.github.com/users/jonathantribouharet/orgs","repos_url":"https://api.github.com/users/jonathantribouharet/repos","events_url":"https://api.github.com/users/jonathantribouharet/events{/privacy}","received_events_url":"https://api.github.com/users/jonathantribouharet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T19:53:26Z","updated_at":"2015-11-18T21:06:22Z","closed_at":null,"body":"Hi,\r\nI cannot inject code. I installed the plugin by cloning the git and built it with xcode (6.3 last version).\r\n\r\nWhen I launch my app I see:\r\n\r\n\t+[BundleInjection load] 127.0.0.1\r\n\tInjection attempting connection to: 127.0.0.1:31442 (see project's main.(m|mm)\r\n\tInjection attempting connection to: 192.168.1.104:31442 (see project's main.(m|mm)\r\n\tConnected to \"Injection\" plugin, ready to load arm64 code.\r\n\tParam #0 -> 1.000000\r\n\tParam #1 -> 1.000000\r\n\tParam #2 -> 1.000000\r\n\tParam #3 -> 1.000000\r\n\tParam #4 -> 1.000000\r\n\tColor #0 -> 0.000000,0.000000,0.000000,1.000000\r\n\tColor #1 -> 1.000000,0.000000,0.000000,1.000000\r\n\tColor #2 -> 0.000000,1.000000,0.000000,1.000000\r\n\tColor #3 -> 0.058130,0.055542,1.000000,1.000000\r\n\tColor #4 -> 1.000000,1.000000,1.000000,1.000000\r\n\r\nSo I supposed the project is ready for injection.\r\nBut when I want to inject some code, I have got this error:\r\n\r\n\t ** RECORDED BUILD SUCCEEDED **  \r\n    Renaming bundle so it reloads.. \r\n\trm -rf “/Users/jonathan/Desktop/Codage/EIVO/Moods/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle” && cp -r “/Users/jonathan/Desktop/Codage/EIVO/Moods/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle.bundle” “/Users/jonathan/Desktop/Codage/EIVO/Moods/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle” \r\n\tCodesigning with identity ‘iPhone Developer’ for iOS device \r\n\tiPhone Developer: ambiguous (matches “iPhone Developer: Jonathan Tribouharet (T4N37HB354)” and “iPhone Developer: Jonathan Tribouharet (Q8YU37NSUJ)” in /Users/jonathan/Library/Keychains/login.keychain) \r\n\tCould not codesign as ‘iPhone Developer’: /Users/jonathan/Desktop/Codage/EIVO/Moods/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle at /Users/jonathan/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 51. \r\n\tmain::error(‘Could not codesign as 9hone Developerø/Users/jonathan/D…’) called at /Users/jonathan/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 422 \r\n\t*** Bundle build failed *** \r\n\tCheck Bundle project. \r\n\r\nI supposed the bug is because I have multiple certificate (multiple teams on, one personal (developer), one entreprise, and others from my clients) and `codesign`don't know which one choose.\r\nI don't know if you indicate to `codesign` to use the same certificate I use for building my app with xcode."}}