在Xcode .07和Xcode 7.1中的模拟器中应用Pay崩溃

时间:2015-09-11 16:11:33

标签: ios xcode applepay

我正在测试Apple Pay并尝试购买样品,但是当我在XCode 7.0和7.1中的模拟器中时,有一个选项是Pay with Passcode并且在点击它之后它会一直崩溃模拟器。

有什么想法吗?

Process:               PassbookUIService [10809]
Path:                  /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/PassbookUIService.app/PassbookUIService
Identifier:            PassbookUIService
Version:               1.0 (1.0)
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [10692]
Responsible:           launchd_sim [10692]
User ID:               501

Date/Time:             2015-09-11 17:08:10.953 +0100
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        ECB58F9C-C22D-6885-D23E-251989A674E0

Sleep/Wake UUID:       A0D81423-EF8E-48CF-9C81-E81BF0FCF129

Time Awake Since Boot: 19000 seconds
Time Since Wake:       6600 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderSet initWithObjects:count:]: attempt to insert nil object from objects[0]'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 182.4 - Device: iPhone 6s - Runtime: iOS 9.1 (13B5110e) - DeviceType: iPhone 6s

Application Specific Backtrace 1:
0   CoreFoundation                      0x00000001103b6f65 __exceptionPreprocess + 165
1   libobjc.A.dylib                     0x0000000110743deb objc_exception_throw + 48
2   CoreFoundation                      0x0000000110287cfe -[__NSPlaceholderSet initWithObjects:count:] + 334
3   CoreFoundation                      0x00000001102f7f9f +[NSSet setWithObject:] + 47
4   PassKit                             0x000000010ea6c47c -[PKPaymentOptionsDefaults setDefaultBillingAddress:forPaymentPass:] + 585
5   PassKit                             0x000000010eaf1bd9 -[PKPaymentAuthorizationServiceViewController _didAuthorizePaymentWithToken:] + 233
6   UIKit                               0x000000010edcb825 -[UIApplication sendAction:to:from:forEvent:] + 92
7   UIKit                               0x000000010ef32c8e -[UIControl sendAction:to:forEvent:] + 67

1 个答案:

答案 0 :(得分:0)

https://developer.apple.com/library/tvos/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc7_release_notes.html#//apple_ref/doc/uid/TP40001051-CH5-DontLinkElementID_135

在"已知问题"

  • 如果请求用户的帐单邮寄地址,则在模拟器中使用Apple Pay的模拟交易无法完成。 (22551685)

我们需要等待新版本的Xcode,看起来似乎。