Search results for

file uri scheme

79,845 results found

Post

Replies

Boosts

Views

Activity

Default iOS apps url schemes calls problem
I'm trying to check which default apps are installed on users phone. I add to LSApplicationQueriesSchemes array strings with apps schemes names (for example calc for calculator), then I use this function to check: func isAppInstalled(_ appName:String) - Bool{ let appScheme = (appName)://app let appUrl = URL(string: appScheme) if UIApplication.shared.canOpenURL(appUrl! as URL){ return true } else { return false } } and use it like let result = isAppInstalled(calc) but receive this error in consolecanOpenURL: failed for URL: calc://app - error: The operation couldn’t be completed. (OSStatus error -10814.) which mean app is not installed. This code work for appstore app, books, apple tv, facetime, messages etc but not working with calculator, time app, compass, contacts, tips. What is wrong with my code? Or maybe Apple changed this apps schemes? Tested on iOS 14 device.
0
0
1.2k
Apr ’21
Reply to App store login with sandbox account, and everything else StoreKit
Here's an answer to the part of your question regarding signing in. There are 3 ways of testing in-app purchases, as I understand it: (1) in Xcode; (2) with the Sandbox; and (3) in TestFlight. [I am assuming you are not trying to set up your own server, but are making purchases from an app on your device.' I think you may be confusing the first two methods. To test in Xcode, you supply a .StoreKit Configuration file and select the file on the Product / Scheme / Edit Scheme page in Xcode. This lets you test locally on the simulator and does not use a sandbox account. To test with Sandbox you disable the .StoreKit Configuration file by selecting none in the Xcode Product / Scheme / Edit Scheme page. Then you must define products in App Store Connect (this will be the real data that you previously emulated in the .storekit file) and also create a Sandbox tester account in App store Connect. Now you must test by running from Xcode on your dev
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’22
Reply to Custom Product Page Deep Link Execution Issue
Thanks to the iOS Developer Support team, we were able to identify the root cause of the issue. They pointed us toward the Apple App Site Association (AASA) file, which is required for Universal Links to function. It appears that this file is downloaded asynchronously after app installation, leading to the observed delay in executing the deep link. With this insight, we implemented a URL scheme deep link instead of relying on a Universal Link. Since URL schemes work immediately after installation, this resolved the problem entirely. I would suggest adding a hint or recommendation in the Custom Product Pages deep link input field in App Store Connect to encourage the use of URL scheme links instead of Universal Links, particularly for scenarios where immediate link execution is critical.
Dec ’24
"Failed to build the scheme (app name)"
Good morning, I have a problem. I'm a newbie on coding and I'm studying Swift with an old course online with Xcode 11 but I have Xcode 14 and some things are different. I'm building a test app to learn code but now I don't view the canvas, is in error, and the diagnostic give me this: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) SchemeBuildError: Failed to build the scheme PizzaList API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) Compile asset catalogs: CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) CoreData: error: API Misuse: Attempt to serialize store access on non-owning coordinator (PSC = 0x600000dd9880, store PSC = 0x0) /* com.apple.actool.errors */ : error: ERROR: Identical key for two renditions (E)Key element: Grouped/Packed Images part: Artwork Image value: (null) identifier: 0 dim
3
0
4.2k
Mar ’23
Reply to Apple Pay for the Web Merchant Validation
Hi,I am trying to validate merchant through node express.js . Below is my codeapp.get('/merchant-session/new', function (req, res) { var uri = req.query.validationURL || 'https://apple-pay-gateway-cert.apple.com/paymentservices/startSession'; var options = { uri: uri, json: { merchantIdentifier: merchant..., displayName: ...., domainName: fe-uat2-... }, agentOptions: { cert: cert, key: cert } }; request.post(options, function (error, response, body) { if (body) { // Apple returns a payload with `displayName`, but passing this // to `completeMerchantValidation` causes it to error. delete body.displayName; } console.log('body =>>>>>', body); console.log('respnse =>>>>>', response) res.send(body); }, (error) => { console.error(`error =>>>>`, error); }); });I am getting undefined in response.I have generate certificate from KeyChain Access and uploaded that to get Apple Pay Merchant Identity Certificate.Then dowloaded the certificate and save
Jul ’19
SwiftUI preview not building for different scheme: error: no such module 'MyApp'
My preview scheme was working perfectly in my production scheme, so I duplicated it but when I try to build preview the new scheme shows me this error Compiling file failed: no such module 'MyApp' no such module 'Safes' ---------------------------------------- CompileDylibError: Failed to build NotificationCellView.swift Compiling failed: no such module 'Safes' /Users/amin/Library/Developer/Xcode/DerivedData/Parental_Control-axokgvhejpgnmeftompkijzbbsin/Build/Intermediates.noindex/Previews/Development/Intermediates.noindex/Parental Control.build/Development-iphonesimulator/Parental Control.build/Objects-normal/arm64/NotificationCellView.1.preview-thunk.swift:1:60: error: no such module 'Safes' @_private(sourceFile: NotificationCellView.swift) import Safes how can I fix this issue for breaking preview?
0
0
1.1k
Aug ’22