Post

Replies

Boosts

Views

Activity

How to resolve this error? xcode generated Project-Swift.h error
SWIFT_CLASS("_TtC12palaceCookie18OrangeExchangeUtil")@interface OrangeExchangeUtil : NSObject <SKPaymentTransactionObserver, SKProductsRequestDelegate>- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;- (void)productsRequest:(SKProductsRequest * _Nonnull)request didReceiveResponse:(SKProductsResponse * _Nonnull)response;- (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions;@end}palaceCookie-Swift.h:353:43: Unknown class name 'SKPaymentTransactionObserver'; did you mean 'SKPaymentTransaction'?palaceCookie-Swift.h:353:73: Unknown class name 'SKProductsRequestDelegate'; did you mean 'SKProductsRequest'?palaceCookie-Swift.h:353:43: Type argument 'SKPaymentTransaction' must be a pointer (requires a '*')palaceCookie-Swift.h:353:73: Type argument 'SKProductsRequest' must be a pointer (requires a '*')palaceCookie-Swift.h:353:33: Type arguments cannot be applied to non-parameterized class 'NSObject'code:import Foundationimport StoreKitclass OrangeExchangeUtil: NSObject, SKProductsRequestDelegate, SKPaymentTransactionObserver {XCode 11.2 Swift 4.2How to solve this error? thankyou!
8
0
2.9k
Feb ’20
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/AdServices.framework/AdServices | Reason: image not found
Incident Identifier: 7EBC5316-1217-477F-96B7-C1725C2A3641 Hardware Model: iPhone8,2 Process: PalaceMaster [9085] Path: /private/var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster Identifier: com.cookie.palace.en Version: 16 (2.0.12) AppStoreTools: 12D4d AppVariant: 1:iPhone8,2:9 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.cookie.palace.en [1695] Date/Time: 2021-02-07 20:28:59.4500 -0500 Launch Time: 2021-02-07 20:28:59.4098 -0500 OS Version: iPhone OS 12.0 (16A366) Baseband Version: 5.10.00 Report Version: 104 Exception Type: EXCCRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXCCORPSENOTIFY Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/AdServices.framework/AdServices | Referenced from: /var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster | Reason: image not found Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x0000000103384264 abortwithpayload + 8 1 dyld 0x00000001033838a4 abortwithpayloadwrapperinternal + 100 (terminatewithreason.c:71) 2 dyld 0x00000001033838d4 abortwithpayload + 12 (terminatewithreason.c:93) 3 dyld 0x00000001033448f4 dyld::halt(char const*) + 312 (dyld.cpp:4024) 4 dyld 0x00000001033477cc dyld::main(machoheader const*, unsigned long, int, char const, char const, char const**, un... + 5468 (dyld.cpp:6519) 5 dyld 0x0000000103341044 dyldstart + 68 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016d89e990 x3: 0x00000000000000b5 x4: 0x000000016d89e590 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000600 x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x0a72657473614d65 x11: 0x6e6f736165522020 x12: 0x20200a7265747361 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x00646e756f662074 x16: 0x0000000000000209 x17: 0x0000000000000010 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016d89e590 x21: 0x00000000000000b5 x22: 0x000000016d89e990 x23: 0x0000000000000001 x24: 0x0000000000000006 x25: 0x0000000000000000 x26: 0x00000001033a7000 x27: 0x00000001033a7aa0 x28: 0x00000001033a79e0 fp: 0x000000016d89e560 lr: 0x00000001033838a4 sp: 0x000000016d89e520 pc: 0x0000000103384264 cpsr: 0x00000000 Binary Images: 0x102560000 - 0x102f67fff PalaceMaster arm64 <ba0ccd31c7963281b253921abecdc7d6> /var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster 0x103340000 - 0x1033a3fff dyld arm64 <8f53711b46f3359ea4d6479c85ada9ce> /usr/lib/dyld EOF I've commented out "useframeworks!" and This crash is not a sure thing, but there have been 8 cases in a week.
1
0
5.9k
Feb ’21