Post

Replies

Boosts

Views

Created

InApp purchase subscription and Restore
I have a MacApp with a 1 year subscription. I can buy it, the purchase request for the buy shows up. Like this: NSSet *productIdentifiers = [NSSet setWithObject:@"Test"]; productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers]; productsRequest.delegate = self; [productsRequest start]; this should work with the Delegate. If a try to restore the InApp purchased subscription like this:     NSLog(@"Restore Purchase");     productIdentifiers = [NSSet setWithObject:@"Test"];     productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];     [productsRequest setDelegate:self];     [[SKPaymentQueue defaultQueue] addTransactionObserver:self];     [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; } But the paymentQueueRestoreCompletedTransactionsFinished is not called. If i purchase the subscription again it shows me the SKPaymentTransactionStateRestored has been selected. Is this so ok? I think it is a little bit irritating if the Purchase window appears again. Is the Purchase delegate the same as the restore delegate? Rewards from Germany Sven.
0
0
593
Sep ’22
Remove XCode settings Document Types
How can i remove the Xcode entries in my project Targets / Info / Document Types. I see only a add Button. Any Idea?
Replies
13
Boosts
5
Views
8.3k
Activity
Jun ’21
InApp purchase subscription and Restore
I have a MacApp with a 1 year subscription. I can buy it, the purchase request for the buy shows up. Like this: NSSet *productIdentifiers = [NSSet setWithObject:@"Test"]; productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers]; productsRequest.delegate = self; [productsRequest start]; this should work with the Delegate. If a try to restore the InApp purchased subscription like this:     NSLog(@"Restore Purchase");     productIdentifiers = [NSSet setWithObject:@"Test"];     productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];     [productsRequest setDelegate:self];     [[SKPaymentQueue defaultQueue] addTransactionObserver:self];     [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; } But the paymentQueueRestoreCompletedTransactionsFinished is not called. If i purchase the subscription again it shows me the SKPaymentTransactionStateRestored has been selected. Is this so ok? I think it is a little bit irritating if the Purchase window appears again. Is the Purchase delegate the same as the restore delegate? Rewards from Germany Sven.
Replies
0
Boosts
0
Views
593
Activity
Sep ’22
XIB all View locked and can't unlock them
I have a big issue. In the InterfaceBuilder all view locked. if i use the menu: Localization Locking Reset Locking Control or Nothing, this works not. Have anyone an idea? Clean up the build or removing the xib file and add it again doesn't work also not.
Replies
1
Boosts
0
Views
1.2k
Activity
Jan ’23
Can someone explain this message
, it is after update to Xcode 14.3: [default] CGSWindowShmemCreateWithPort failed on port 0
Replies
10
Boosts
2
Views
5.8k
Activity
Apr ’23
Xcode upload to appstoreconnect....
I am trying to upload a new build of my app for Testflight. The Appstoreconnection is ok. If the Message Waiting for App Store Connect SPI analysis response, i have a still window. The Profile is managed by Xcode. Someone an idea! Rewards from Germany.
Replies
1
Boosts
0
Views
1.4k
Activity
May ’23