{"action":"created","issue":{"url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/16","labels_url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/16/comments","events_url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/16/events","html_url":"https://github.com/SocialbitGmbH/SwiftAddressBook/issues/16","id":58686443,"number":16,"title":"Crash when setting phoneNumber property","user":{"login":"albertbori","id":1742709,"avatar_url":"https://avatars.githubusercontent.com/u/1742709?v=3","gravatar_id":"","url":"https://api.github.com/users/albertbori","html_url":"https://github.com/albertbori","followers_url":"https://api.github.com/users/albertbori/followers","following_url":"https://api.github.com/users/albertbori/following{/other_user}","gists_url":"https://api.github.com/users/albertbori/gists{/gist_id}","starred_url":"https://api.github.com/users/albertbori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertbori/subscriptions","organizations_url":"https://api.github.com/users/albertbori/orgs","repos_url":"https://api.github.com/users/albertbori/repos","events_url":"https://api.github.com/users/albertbori/events{/privacy}","received_events_url":"https://api.github.com/users/albertbori/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-02-24T02:53:28Z","updated_at":"2015-03-02T17:31:41Z","closed_at":"2015-03-02T17:31:41Z","body":"Code:\r\n```\r\nvar person = SwiftAddressBookPerson.create()\r\nvar phone = MultivalueEntry(value: \"(480) 555-3176\", label: \"mobile\", id: 0)\r\nperson.phoneNumbers = [phone]\r\n```\r\n\r\nStack trace:\r\n```\r\n#0\t0x000000011a10f5f6 in specialization <ObjectiveC.NSString with ObjectiveC.NSString : Swift.AnyObject> of SwiftAddressBook.SwiftAddressBookPerson.(setMultivalueProperty in _ECEF355CFD253D8039C191CB27BDAECD) (SwiftAddressBook.SwiftAddressBookPerson)<A : Swift.AnyObject>(Swift.Int32, Swift.Optional<Swift.Array<SwiftAddressBook.MultivalueEntry<A>>>) -> () at /Users/me/dev/myapp-ios/Pods/SwiftAddressBook/Pod/Classes/SwiftAddressBookWrapper.swift:705\r\n#1\t0x000000011a0f6210 in specialization <Swift.String, ObjectiveC.NSString with ObjectiveC.NSString : Swift.AnyObject> of SwiftAddressBook.SwiftAddressBookPerson.(convertMultivalueEntries in _ECEF355CFD253D8039C191CB27BDAECD) (SwiftAddressBook.SwiftAddressBookPerson)<A, B : Swift.AnyObject>(Swift.Optional<Swift.Array<SwiftAddressBook.MultivalueEntry<A>>>, converter : (A) -> B) -> Swift.Optional<Swift.Array<SwiftAddressBook.MultivalueEntry<B>>> [inlined] at /Users/me/dev/myapp-ios/Pods/SwiftAddressBook/Pod/Classes/SwiftAddressBookWrapper.swift:700\r\n#2\t0x000000011a0f6193 in SwiftAddressBook.SwiftAddressBookPerson.phoneNumbers.setter : Swift.Optional<Swift.Array<SwiftAddressBook.MultivalueEntry<Swift.String>>> at /Users/me/dev/myapp-ios/Pods/SwiftAddressBook/Pod/Classes/SwiftAddressBookWrapper.swift:595\r\n#3\t0x0000000119f9e323 in AutomationTests.MyTests.(setUpAddressBook in _BC85590BB5A8F9533CC2C3C828C81FE1) (AutomationTests.MyTests.Type)() -> () at /Users/me/dev/myapp-ios/myapp/AutomationTests/MyTests.swift:168\r\n#4\t0x0000000119f98168 in AutomationTests.MyTests.addAddressBookRecipient (AutomationTests.MyTests.Type)(Swift.String) -> () [inlined] at /Users/me/dev/myapp-ios/myapp/AutomationTests/MyTests.swift:117\r\n#5\t0x0000000119f98163 in AutomationTests.MyTests.testAskToLocalAndRemoteRecipients (AutomationTests.MyTests)() -> () at /Users/me/dev/myapp-ios/myapp/AutomationTests/MyTests.swift:25\r\n#6\t0x000000010bae3c8c in __invoking___ ()\r\n#7\t0x000000010bae3ae2 in -[NSInvocation invoke] ()\r\n#8\t0x000000011a06e0f7 in -[XCTestCase invokeTest] ()\r\n#9\t0x000000011a06e2f8 in -[XCTestCase performTest:] ()\r\n#10\t0x000000011a077bf5 in -[XCTest run] ()\r\n#11\t0x000000011a06cffb in -[XCTestSuite performTest:] ()\r\n#12\t0x000000011a077bf5 in -[XCTest run] ()\r\n#13\t0x000000011a06cffb in -[XCTestSuite performTest:] ()\r\n#14\t0x000000011a077bf5 in -[XCTest run] ()\r\n#15\t0x000000011a06cffb in -[XCTestSuite performTest:] ()\r\n#16\t0x000000011a077bf5 in -[XCTest run] ()\r\n#17\t0x000000011a06a0bc in __25-[XCTestDriver _runSuite]_block_invoke ()\r\n#18\t0x000000011a074ead in -[XCTestObservationCenter _observeTestExecutionForBlock:] ()\r\n#19\t0x000000011a069ff0 in -[XCTestDriver _runSuite] ()\r\n#20\t0x000000011a06aa1d in -[XCTestDriver _checkForTestManager] ()\r\n#21\t0x000000011a07aaf0 in +[XCTestProbe runTests:] ()\r\n#22\t0x000000010b43dd55 in __NSFireDelayedPerform ()\r\n#23\t0x000000010bb53f64 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()\r\n#24\t0x000000010bb53b25 in __CFRunLoopDoTimer ()\r\n#25\t0x000000010bb16e5d in __CFRunLoopRun ()\r\n#26\t0x000000010bb16486 in CFRunLoopRunSpecific ()\r\n#27\t0x000000010e9169f0 in GSEventRunModal ()\r\n#28\t0x000000010c21b420 in UIApplicationMain ()\r\n#29\t0x000000010ad3d10e in top_level_code at /Users/me/dev/myapp-ios/myapp/AppDelegate.swift:20\r\n#30\t0x000000010ad3d14a in main ()\r\n#31\t0x00000001122f8145 in start ()\r\n```"},"comment":{"url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/comments/76757747","html_url":"https://github.com/SocialbitGmbH/SwiftAddressBook/issues/16#issuecomment-76757747","issue_url":"https://api.github.com/repos/SocialbitGmbH/SwiftAddressBook/issues/16","id":76757747,"user":{"login":"albertbori","id":1742709,"avatar_url":"https://avatars.githubusercontent.com/u/1742709?v=3","gravatar_id":"","url":"https://api.github.com/users/albertbori","html_url":"https://github.com/albertbori","followers_url":"https://api.github.com/users/albertbori/followers","following_url":"https://api.github.com/users/albertbori/following{/other_user}","gists_url":"https://api.github.com/users/albertbori/gists{/gist_id}","starred_url":"https://api.github.com/users/albertbori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertbori/subscriptions","organizations_url":"https://api.github.com/users/albertbori/orgs","repos_url":"https://api.github.com/users/albertbori/repos","events_url":"https://api.github.com/users/albertbori/events{/privacy}","received_events_url":"https://api.github.com/users/albertbori/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T17:31:40Z","updated_at":"2015-03-02T17:31:40Z","body":"I pulled the latest version, and was able to run the tests without any crashes. (Some of the tests are failing, but that's a separate issue)"}}