When the sandbox simulates payment, the sandbox account is not logged in but it will directly return the payment success.It feels like this happens when the system is already logged in to an Apple account.
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions {
if(SKPaymentTransactionStatePurchased ==
transaction.transactionState) {
//do sth.
}
My in-app purchase item type is a consumable item.
Post
Replies
Boosts
Views
Activity
I want to support multiple languages, but this does not respond.
Process: xxmoon [11851]
Path: /Users/USER/Library/Developer/Xcode/Archives/2021-10-16/xxmoon 2021-10-16, 12.45 PM.xcarchive/Products/Applications/xxmoon.app/Contents/MacOS/xxmoon
Identifier: com.xxmoon.xxmoon
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: xxmoon [11851]
User ID: 501
Date/Time: 2021-10-16 18:17:27.158 +0800
OS Version: Mac OS X 10.15.7 (19H2)
Report Version: 12
Anonymous UUID: 61ED64FA-94F2-2F09-30B2-8A4D2040AA8B
Sleep/Wake UUID: 3A1D06D8-68FB-4D04-A6D1-E8E28329E4D9
Time Awake Since Boot: 43000 seconds
System Integrity Protection: disabled
Crashed Thread: Unknown
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x000000010862f000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x2
kernel messages:
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x000000010b2fd380 rbx: 0x00007ffee75d09d8 rcx: 0x0000000000000000 rdx: 0x00007ffee75d09a8
rdi: 0x000000010862f000 rsi: 0x00007ffee75d09f8 rbp: 0x00007ffee75d0990 rsp: 0x00007ffee75d0950
r8: 0x000000000000003d r9: 0x000000010b269000 r10: 0x0000000000000010 r11: 0x0000000000000206
r12: 0x00007ffee75d09a8 r13: 0x000000010862f000 r14: 0x00007ffee75d09f8 r15: 0x000000010862f000
rip: 0x000000010b295305 rfl: 0x0000000000010206 cr2: 0x000000010862f000
Logical CPU: 0
Error Code: 0x00000004 (no mapping for user data read)
Trap Number: 14
Binary images description not available
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 2176235
thread_create: 0
thread_set_state: 734
Model: iMacPro1,1, BootROM 1539.0.0.0.1, 4 processors, Quad-Core Intel Core i7, 3.71 GHz, 12 GB, SMC
Graphics: Radeon RX 480, Radeon RX 480, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/DIMM2, 4 GB, DDR3, 1373 MHz, 0815, IM34GU48C16-999HB
Memory Module: BANK 0/DIMM3, 8 GB, DDR3, 1373 MHz, Kingston, KHX1600C10D38G
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: KINGSTON SA400S37240G, 240.06 GB
Serial ATA Device: KINGSTON SA400S37120G, 120.03 GB
Serial ATA Device: WDC WD10EZEX-08M2NA0, 1 TB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 3.0 Bus
USB Device: USB2.1 Hub
USB Device: USB OPTICAL MOUSE
USB Device: USB Keyboard
Thunderbolt Bus:
the same as title
Do I need to submit the entire App for review when joining the in-app purchase project for the first time? If so, can't I test the in-app purchase function first?
NSArray<NSScreen *> *arr = [NSScreen screens];
I only got the first one.
What should I do if the global hotkey does not work after enable sandbox?
When manually signing with command, the app cannot run after the com.apple.security.app-sandbox of the entitlements file is enabled, and it can run if it is not enabled. However,it must be enabled for listing to the app store.Is this contradictory? How to solve?