Search results for

“file uri scheme”

84,440 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
How to set destination flag when in edit scheme Xcode?
I am trying to set up a bot to run a test scheme in Xcode Server. I get the following error:Bot Issue for Tapestry Bot-Test (error) No destinations were specified with the -destination flag which were valid for the specified scheme 'TapestryTests'.In reading other posts and doing searches I have seen to set the destination flag in the edit scheme option in Xcode. I have tried several places and don't know where to put this option-destination 'platform=iOS,id=SomeDeviceID' testI tried to enter screenshot but dont see an option. I am under the edit scheme screen where you set your build and run option
0
0
435
Oct ’16
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.4k
Nov ’19
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
2.2k
Aug ’24
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
375
Sep ’25
Reply to AVAssetDownloadTask not working in iOS 13 beta
The file I implemented has the required properties written but still doesn't work.clip_145.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,LANGUAGE=en, DEFAULT=NO, AUTOSELECT=YES, URI=en.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Korean,LANGUAGE=ko, DEFAULT=NO, AUTOSELECT=YES, URI=ko.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Romanization,LANGUAGE=rz, DEFAULT=YES, AUTOSELECT=YES, URI=rz.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=295240,AVERAGE-BANDWIDTH=251002,CODECS=avc1.4d400c,mp4a.40.2,RESOLUTION=256x144,FRAME-RATE=29.970, SUBTITLES=subs clip_145_sub.m3u8clip_145_sub.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:3 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:2.002, clip_145_00001.ts ... ... #EXTINF:2.002, clip_145_00107.ts #EXT-X-ENDLISTNothing happens when I try to download to clip_145.m3u8. Is there another reason why it doesn't work?
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’19
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.6k
Feb ’20
url scheme for iTunes movies/shows
Has anyone been able to deep link into the iTunes movies or iTunes shows to bring up a particular item?The current iTunes url scheme does not seem to be working.
Replies
1
Boosts
0
Views
809
Activity
Sep ’15
Reply to localization: "Include Screenshots" grayed out
Have you tried any setup in your application scheme settings under Test? You must change it to add the .xctestplan file.
Replies
Boosts
Views
Activity
Apr ’20
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:
Replies
Boosts
Views
Activity
Dec ’21
How to set destination flag when in edit scheme Xcode?
I am trying to set up a bot to run a test scheme in Xcode Server. I get the following error:Bot Issue for Tapestry Bot-Test (error) No destinations were specified with the -destination flag which were valid for the specified scheme 'TapestryTests'.In reading other posts and doing searches I have seen to set the destination flag in the edit scheme option in Xcode. I have tried several places and don't know where to put this option-destination 'platform=iOS,id=SomeDeviceID' testI tried to enter screenshot but dont see an option. I am under the edit scheme screen where you set your build and run option
Replies
0
Boosts
0
Views
435
Activity
Oct ’16
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
Replies
2
Boosts
0
Views
6.4k
Activity
Nov ’19
Apple Translate App URL Scheme
With the announcement of the new Apple Translate app and offline support, are there any URL schemes that we can use in our apps to send text to the Translate app and have it open and translate the sent text?
Replies
3
Boosts
0
Views
2.9k
Activity
Jun ’20
Open Voice Memos With URL Scheme
I want to open the Apple Voice Memos app from my app. This list shows it as voicememos://, but this is not working. Does anyone know if there is another URL scheme for the Voice Memos app?
Replies
0
Boosts
0
Views
908
Activity
Feb ’24
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.
Replies
4
Boosts
0
Views
2.2k
Activity
Aug ’24
Reply to How should #EXT-X-MEDIA-SEQUENCE be updated for Iframe Only playlist that use byte ranges?
The EXT-X-MEDIA-SEQUENCE should be 3.You count based on URL lines, not on unique URLs.(Per draft-pantos-http-live-streaming-16 section 4.3.2 Each Media Segment is specified by a series of Media Segment tags followed by a URI.)mediafilesegmenter does support the generation of I-frame playlists (see the --iframe-index-file option).
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Unexpected(?) behaviour when loading an extension's internal URL
The base URI of extensions change between launches to avoid websites fingerprinting users. Thanks for the feedback and sample code, we will look into it!
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’20
Reply to XCode Linker error not showing actual error
I get this too lately. It happens to me when I have a scheme I haven't added a file to. So I just go back gthrough git commits to find the files I haven't added. But it is still really annoying.
Replies
Boosts
Views
Activity
Oct ’23
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'
Replies
Boosts
Views
Activity
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
Replies
2
Boosts
0
Views
375
Activity
Sep ’25
Reply to AVAssetDownloadTask not working in iOS 13 beta
The file I implemented has the required properties written but still doesn't work.clip_145.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,LANGUAGE=en, DEFAULT=NO, AUTOSELECT=YES, URI=en.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Korean,LANGUAGE=ko, DEFAULT=NO, AUTOSELECT=YES, URI=ko.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Romanization,LANGUAGE=rz, DEFAULT=YES, AUTOSELECT=YES, URI=rz.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=295240,AVERAGE-BANDWIDTH=251002,CODECS=avc1.4d400c,mp4a.40.2,RESOLUTION=256x144,FRAME-RATE=29.970, SUBTITLES=subs clip_145_sub.m3u8clip_145_sub.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:3 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:2.002, clip_145_00001.ts ... ... #EXTINF:2.002, clip_145_00107.ts #EXT-X-ENDLISTNothing happens when I try to download to clip_145.m3u8. Is there another reason why it doesn't work?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’19
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) ->
Replies
9
Boosts
0
Views
2.6k
Activity
Feb ’20