{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4752","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4752/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4752/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4752/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4752","id":126166967,"number":4752,"title":"Resources installed using cocoapods not loaded for xctest bundle","user":{"login":"hamchapman","id":2475150,"avatar_url":"https://avatars.githubusercontent.com/u/2475150?v=3","gravatar_id":"","url":"https://api.github.com/users/hamchapman","html_url":"https://github.com/hamchapman","followers_url":"https://api.github.com/users/hamchapman/followers","following_url":"https://api.github.com/users/hamchapman/following{/other_user}","gists_url":"https://api.github.com/users/hamchapman/gists{/gist_id}","starred_url":"https://api.github.com/users/hamchapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamchapman/subscriptions","organizations_url":"https://api.github.com/users/hamchapman/orgs","repos_url":"https://api.github.com/users/hamchapman/repos","events_url":"https://api.github.com/users/hamchapman/events{/privacy}","received_events_url":"https://api.github.com/users/hamchapman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T12:16:05Z","updated_at":"2016-01-12T16:10:06Z","closed_at":null,"body":"This is my output when trying to run the tests of this project (the separate-builds branch) for the PusherSwiftTests-OSX target (and scheme): https://github.com/pusher-community/pusher-websocket-swift/tree/separate-builds\r\n\r\n```\r\n2016-01-12 12:05:14.304 xctest[37573:1030574] The bundle “PusherSwiftTests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.\r\n2016-01-12 12:05:14.305 xctest[37573:1030574] (dlopen_preflight(/Users/Hami/Library/Developer/Xcode/DerivedData/PusherSwift-cifrlthdfybbcedmlylirqthvkky/Build/Products/Debug/PusherSwiftTests.xctest/Contents/MacOS/PusherSwiftTests): Library not loaded: @rpath/CryptoSwift.framework/Versions/A/CryptoSwift\r\n  Referenced from: /Users/Hami/Library/Developer/Xcode/DerivedData/PusherSwift-cifrlthdfybbcedmlylirqthvkky/Build/Products/Debug/PusherSwiftTests.xctest/Contents/MacOS/PusherSwiftTests\r\n  Reason: image not found)\r\nProgram ended with exit code: 82\r\n```\r\n\r\nI initially thought this was a problem with Nimble (see this issue: https://github.com/Quick/Nimble/issues/232) but it seems to actually be about the frameworks not being loaded for the xctest bundle. \r\n\r\nNote that for the iOS and tvOS targets, this works fine, but for the OSX one it doesn't.\r\n\r\nLet me know if I can provide any more info.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/170959966","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4752#issuecomment-170959966","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4752","id":170959966,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T16:10:05Z","updated_at":"2016-01-12T16:10:05Z","body":"Seems like this is implicit dependencies failing because a scoped build output directory is generated for the OS X target. Might be something for @mrackwitz "}}