Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x3032ee6a0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 10615 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 10615 named com.apple.storekitd}}, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.}
< /code>
Die Fehlerdatensätze in der Datenbank sind wie folgt: < /p>
{
"err": {
"country:": "fr_FR",
"date": "2025.02.12 21:23",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., readable_error_code=STORE_PROBLEM, source_function=asPurchasesError, NSUnderlyingError=0x302e7cf60 {Error Domain=StoreKit.StoreKitError Code=2 \"Impossible de traiter la requête\"}, source_file=RevenueCat/StoreKitError+Extensions.swift:43}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
{
"err": {
"country:": "ar_BH@numbers=latn",
"date": "2025.02.10 16:01",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x3032ee6a0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 10615 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 10615 named com.apple.storekitd}}, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"price": "٢٩٫٩٩ US$",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
{
"err": {
"country:": "en_US",
"date": "2025.02.09 03:51",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={source_function=asPurchasesError, NSUnderlyingError=0x30348dfe0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 577 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 577 named com.apple.storekitd}}, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29, readable_error_code=STORE_PROBLEM}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
{
"err": {
"country:": "en_AE",
"date": "2025.02.06 02:26",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., NSUnderlyingError=0x300f04330 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 23582 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 23582 named com.apple.storekitd}}, readable_error_code=STORE_PROBLEM, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
{
"err": {
"country:": "en_AU",
"date": "2025.02.02 16:49",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x303db64f0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 32200 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 32200 named com.apple.storekitd}}, readable_error_code=STORE_PROBLEM, source_function=asPurchasesError, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
{
"err": {
"country:": "it_US",
"date": "2025.02.02 11:33",
"error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x300c48d50 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 13194 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 13194 named com.apple.storekitd}}, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM}",
"localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.",
"package": "Three Monthly Subscription",
"productId": "plant_three_monthly",
"userCancelled": false
}
}
< /code>
Gibt es jemanden, der dieses [url=viewtopic.php?t=11587]Problem[/url] lösen kann? IAPManager.shared.makingPurchase(type: type, package: package) { [weak self] result in
switch result {
case .success(let success):
if (success) {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4, execute: {
self?.paymentSuccededFlyAnimation(promotionEnabled: packageDetails?.promotionEnabled)
if (package.storeProduct.price == 0) {
} else {
let img: UIImage = index == 0 ? .Icons.lifetime : .Icons.weekly
self?.delegate?.showError(PresentableError.init(icon: .custom(img), title: "Success", message: "Your purchase was successful! Thank you for your purchase", statusCode: 200, action: { [weak self] in self?.delegate?.paymentSuccess() }))
}
self?.paymentSucceded(for: index)
})
}
case .failure(let err):
self?.delegate?.showError(
PresentableError.init(
icon: .error,
title: "Error",
message: err.localizedDescription,
statusCode: 351,
action: { self?.delegate?.requestReasonPremiumCancelled() })
)
}
}
< /code>
iapmanager < /p>
func makingPurchase(type: PremiumType, package: Package, completion: @escaping (Swift.Result) -> Void) {
RevenueCat.Purchases.shared.purchase(package: package) { transaction, customerInfo, error, userCancelled in
if let error = error {
completion(.failure(error))
return
}
if customerInfo?.entitlements[type.entitlements]?.isActive == true {
switch type {
case .premium:
DefaultsManager.isPremium = true
case .agro:
DefaultsManager.agroPremium = true
case .promotions:
DefaultsManager.isPremium = true
}
completion(.success(true))
} else {
completion(.success(false))
}
}
}
Ich verwende Revenucat und Benutzer aus verschiedenen Ländern erhalten diesen Fehler. in der Anwendung. < /p> [code]Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x3032ee6a0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 10615 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 10615 named com.apple.storekitd}}, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.} < /code> Die Fehlerdatensätze in der Datenbank sind wie folgt: < /p> { "err": { "country:": "fr_FR", "date": "2025.02.12 21:23", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., readable_error_code=STORE_PROBLEM, source_function=asPurchasesError, NSUnderlyingError=0x302e7cf60 {Error Domain=StoreKit.StoreKitError Code=2 \"Impossible de traiter la requête\"}, source_file=RevenueCat/StoreKitError+Extensions.swift:43}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "productId": "plant_three_monthly", "userCancelled": false } }
{ "err": { "country:": "ar_BH@numbers=latn", "date": "2025.02.10 16:01", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x3032ee6a0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 10615 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 10615 named com.apple.storekitd}}, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "price": "٢٩٫٩٩ US$", "productId": "plant_three_monthly", "userCancelled": false } }
{ "err": { "country:": "en_US", "date": "2025.02.09 03:51", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={source_function=asPurchasesError, NSUnderlyingError=0x30348dfe0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 577 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 577 named com.apple.storekitd}}, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29, readable_error_code=STORE_PROBLEM}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "productId": "plant_three_monthly", "userCancelled": false } }
{ "err": { "country:": "en_AE", "date": "2025.02.06 02:26", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., NSUnderlyingError=0x300f04330 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 23582 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 23582 named com.apple.storekitd}}, readable_error_code=STORE_PROBLEM, source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "productId": "plant_three_monthly", "userCancelled": false } }
{ "err": { "country:": "en_AU", "date": "2025.02.02 16:49", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x303db64f0 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 32200 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 32200 named com.apple.storekitd}}, readable_error_code=STORE_PROBLEM, source_function=asPurchasesError, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "productId": "plant_three_monthly", "userCancelled": false } }
{ "err": { "country:": "it_US", "date": "2025.02.02 11:33", "error": "Error Domain=RevenueCat.ErrorCode Code=2 \"There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.\" UserInfo={NSUnderlyingError=0x300c48d50 {Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service with pid 13194 named com.apple.storekitd\" UserInfo={NSDebugDescription=connection to service with pid 13194 named com.apple.storekitd}}, NSLocalizedDescription=There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store., source_file=RevenueCat/StoreKitError+Extensions.swift:29, source_function=asPurchasesError, readable_error_code=STORE_PROBLEM}", "localized": "There was a [url=viewtopic.php?t=11587]problem[/url] with the App Store.", "package": "Three Monthly Subscription", "productId": "plant_three_monthly", "userCancelled": false } }
< /code> Gibt es jemanden, der dieses [url=viewtopic.php?t=11587]Problem[/url] lösen kann? IAPManager.shared.makingPurchase(type: type, package: package) { [weak self] result in switch result { case .success(let success): if (success) { DispatchQueue.main.asyncAfter(deadline: .now() + 0.4, execute: { self?.paymentSuccededFlyAnimation(promotionEnabled: packageDetails?.promotionEnabled) if (package.storeProduct.price == 0) { } else { let img: UIImage = index == 0 ? .Icons.lifetime : .Icons.weekly self?.delegate?.showError(PresentableError.init(icon: .custom(img), title: "Success", message: "Your purchase was successful! Thank you for your purchase", statusCode: 200, action: { [weak self] in self?.delegate?.paymentSuccess() })) } self?.paymentSucceded(for: index) }) } case .failure(let err): self?.delegate?.showError( PresentableError.init( icon: .error, title: "Error", message: err.localizedDescription, statusCode: 351, action: { self?.delegate?.requestReasonPremiumCancelled() }) ) } } < /code> iapmanager < /p>
func makingPurchase(type: PremiumType, package: Package, completion: @escaping (Swift.Result) -> Void) { RevenueCat.Purchases.shared.purchase(package: package) { transaction, customerInfo, error, userCancelled in if let error = error { completion(.failure(error)) return }
if customerInfo?.entitlements[type.entitlements]?.isActive == true { switch type { case .premium: DefaultsManager.isPremium = true case .agro: DefaultsManager.agroPremium = true case .promotions: DefaultsManager.isPremium = true } completion(.success(true)) } else { completion(.success(false)) } } } [/code]
Ich arbeite an einer Anwendung in Xcode 6.1, iOS 8.1; Die Anwendung funktionierte bis 2 Tage zuvor völlig in Ordnung, aber heute, als ich sie ausgeführt habe, habe ich einen Fehler im Webdienst...
Ich versuche mit dem folgenden PHP -Code eine Verbindung zu einem versteckten Dienst herzustellen:
$url = '
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch,...
Wie kann ich sicherstellen, dass die Chromecast-Sitzung ordnungsgemäß zurückgesetzt wird und stabil ist, nachdem der Benutzer die Verbindung trennt und wieder herstellt? Sind zusätzliche...
Ich muss die zugrunde liegende OS -PID für einen Prozess erhalten, den ich beginne. Die Lösung, die ich jetzt verwende, beinhaltet den Zugriff auf ein privates Feld durch Reflexion unter Verwendung...
Ich verwende die React-Native-IAP-Bibliothek, um In-App-Abonnements in meiner React Native-App zu verwalten. Beim Testen unter iOS gibt die getSubscriptions-Methode ein leeres Array zurück, obwohl...