Search results for

file uri scheme

79,836 results found

Post

Replies

Boosts

Views

Activity

Reply to HelloTriangle in Swift: error about depth attachment pixel format
Please refer this Toggle Metal API Validation via your Xcode Scheme: Scheme > Edit Scheme... > Run > Diagnostics > Metal API Validation. It's a checkbox, so the possible options are Enabled or Disabled. Disabling sets the key enableGPUValidationMode = 1 in your .xcscheme file. After disabling, Xcode no longer logs the Metal API Validation Enabled log message. Note: In Xcode 11 and below, the option appears in the Options tab of the Scheme Editor (instead of the Diagnostics tab).
Topic: Graphics & Games SubTopic: General Tags:
Dec ’21
No Scheme Created For "Empty" Project
I recently reinstalled Xcode on my mac, and after opening up a new project and selecting empty i was dismayed to fin that i was unable to build and/or run any of my code. Further investigation found that opening up old saved xcode project files stored on an old external hard drive opened fine and could be built and run. I also discovered that opening other types of project (mac os game, external project, etc) would produce schemes for the projects but not when empty project was selected.Am I doing something wrong?
0
0
442
Sep ’16
iOS 26 Notification Extension open(uri) Fails on Cold Start (LSApplicationWorkspaceErrorDomain Code=115)
I'm experiencing a critical regression on iOS 26 with a Notification Content Extension. extensionContext.open(uri) fails to open external URLs with LSApplicationWorkspaceErrorDomain Code=115 under specific conditions. Problem: When the main app is killed, and a rich push notification is received and expanded, tapping a button (specifically one with a transparent background, cornerRadius=0, clipsToBounds=false) fails to open its associated URL. Key Details: iOS 26 Only: Works perfectly on iOS 17, 18, etc. App Killed State Only: Works if the app is running (foreground/background). Works on Subsequent Notifications: The link will open if a second notification is received. LSApplicationQueriesSchemes: Confirmed to be correctly configured in the main app's Info.plist and present in the app bundle. Delay No Help: Adding a 1s delay before open(uri) does not fix it. My os_log statements confirm the button tap
1
0
128
Nov ’25
Reply to Xcode Archive issue in NFS (Network Drive)
#1 - I have used below command for archive xcode build xcodebuild clean archive -workspace ${workspace} -scheme ${scheme} -configuration Release -archivePath ${File share path} -verbose -destination 'generic/platform=iOS' CODE_SIGN_STYLE=Manual PROVISIONING_PROFILE_SPECIFIER='XXXXXX' CODE_SIGN_IDENTITY='iPhone Distribution'
Aug ’22
Launching MacOS app via Url Scheme
I'm looking for answer or documentation on gatekeeper and launching a MacOS app via a url scheme/custom protocol. Our application is delivered via a zip file downloaded from the web. We utilize a url scheme. The act of extracting the app from the zip registers the url scheme with the OS. From previous research/testing we found we had to break the gatekeeper lock (have the user move the app from the downloaded location) to ensure that the url is honored on first launch of the application. To ensure user compliance, we added a check to make sure that the lock has been removed by looking at the quarantine attribute. This flow is not ideal. I am looking for alternatives and was previously under the impression that if we were to move to a DMG then that would provide the user a better user experience for moving it. However, now that I am getting around to looking into it, I am seeing some implied statements that this is not the case and that the quarantine bit will just be moved
Topic: Safari & Web SubTopic: General
2
0
319
Sep ’25
How to make the extension's base URI unchanged after restarting Safari
Hello,I've filled a radar about this issue: FB7597364 but I'm wondering if anyone has a reliable workaround for this issue.I have made a Safari app extension which allows users to suspend tabs. Unfortunately, because the baseURI changes each time Safari starts the user sees a Cannot load page error in the tabs that were suspended in the previous session, see a suspended page is hosted by the extension it self.Steps to reproduce:- Extension opens a new tab with the url, eg: safari-extension://AAAAAAA-0000-1111-2222-A0A0A0A0/7075e8a3/suspended.html- User restarts Safari- The tab shows Page cannot be loaded beacause the baseURI changed, since, as far as I know, it's not possible to make the baseURI unachangeable like on other browsers.My temporary workaround (which fails sometimes) is to, when the extension first loads in that session, iterate all tabs and look for urls that match the suspended pattern:override func validateToolbarItem(in window: SFSafariWindow, validationHandler: @escaping ((Bool, String) ->
9
0
2.5k
Feb ’20
Open ApplePay P2P from URL scheme
Hi,I was wondering if there was an URL scheme or other mechanism which could allow me to deep link into iMessage's Apple Pay P2P capabilities?My use case is to single click in my app and jump to an iMessage for a given address with the ApplePay iMessage extension already showing.Thanks,Glen
0
0
641
Jul ’17
OpenURLIntent to custom url scheme
Has anyone figured out how to use the new OpenURLIntent intent to open their own app using a custom URL scheme? I have the following code: @available(iOS 18, *) struct BarcodeScannerControlWidget: ControlWidget { var body: some ControlWidgetConfiguration { StaticControlConfiguration(kind: scannerIntent) { ControlWidgetButton(action: OpenBarcodeScannerIntent()) { Label(Scan Barcode, systemImage: barcode.viewfinder) } } .displayName(Scan Barcode) } } @available(iOS 18, *) struct OpenBarcodeScannerIntent: AppIntent { static var title: LocalizedStringResource = Scan Barcode func perform() async throws -> some IntentResult & OpensIntent { let url = myscheme:///barcodeScanner let openURLIntent = OpenURLIntent(url) return .result(opensIntent: openURLIntent) } } Running this intent doesn't seem to do anything. If I replace the URL with say https://www.apple.com, the intent opens up safari with that URL.
4
0
2k
Aug ’24
Reply to ASK for Development Credentials
There isn't an ASk to use for development testing, only a derived dASk. You should only change to your deployment credentials once you are ready to deply and for final testing, the Key Server Module (KSM) can only be tested with the development credentials.With only a development KSM you can and should test most of your KSM and content before requesting the FPS Deployment Package. The only thing you won’t be able to test is the final step of the Key Server Module (KSM) securely providing the content keys to the FPS client app or webpage for playback, but this path is tested using the verify_ckc tool as described below.1) First, test your KSM with the verify_ckc tool and test vectors as instructed in the FairPlay Streaming Programing Guide. This is how you are supposed to test your KSM before deploying it and these tests are designed to test the entire development KSM. Note: The testing with the verify_ckc tool and test vectors will only work with the provided development credentials and will fail if the testi
Topic: Media Technologies SubTopic: Streaming Tags:
Dec ’19
How to get Client ID and Redirect URI when implementing Sign in with Apple on another platform?
Hi Apple,I am attempting to get Sign in with Apple working in the Unity editor. I intend to use Unity's REST functions to facilitate this. I have found an article (linked below) that describes Incorporating Sign in with Apple into Other Platforms. I need to either generate or find my program's client_id. The article says client_id: (Required) The developer’s client identifier, as provided by WWDR.. I not understand what WWDR is or how I can use it to get my client_id, I would love your help on this.https://developer.apple.com/documentation/signinwithapplejs/incorporating_sign_in_with_apple_into_other_platformsThere don't seem to be any community guides on how to function as another platform, but there are some on building a web app. To function as a web app all the guides say that I need to create a Service ID. To add Sign in with Apple functionality to that ID I need to give it a web domain that will use Sign in with Apple. I am trying to build a Unity app, so this mandatory field seems strange to me, I am n
2
0
6.3k
Nov ’19