2

我正在测试 Apple Pay 并尝试购买样品,但是当我在 XCode 7.0 和 7.1 的模拟器中时,有一个使用密码支付的选项,并且在你点击它后它一直在崩溃模拟器..

有任何想法吗?

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
4

1 回答 1

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 的新版本,看起来。

于 2015-11-30T18:35:39.387 回答