Search results for

“file uri scheme”

81,720 results found

Post

Replies

Boosts

Views

Activity

How to Handle Custom URL Scheme Fallback Gracefully in iOS Safari
We use a direct link mechanism in our app that attempts to open the app if it's already installed; otherwise, it redirects the user to the App Store. However, when the app is not installed, Safari displays an alert saying: Safari cannot open the page because the address is invalid. This popup appears to be caused by attempting to open a custom URL scheme that doesn't resolve. what is the recommendation from apple to have a smooth transition to our mobile App Here’s a sample link we’re using: https://new.oneclear.com/Asset/fe5f7fb6-205a-40f8-9efe-71678361aa2c?t=NTA0NQ==
Topic: Safari & Web SubTopic: General Tags:
1
0
113
Aug ’25
xcode building all schemes in parallel extremely slow
I have a project that builds 5 binaries from 5 different schemes. Building each one of them separately takes around 2 minutes, with a large part of time spent on linking (lto I guess). I have a dummy target that builds all of them in parallel - I never managed to successfully build it, it goes on for 40-50 minutes and I just lose patience. What happens is, all the compilation is done ok, but when linking starts, 10 linker processes are spawned (5 binaries x 2 architectures) and they seem to never finish. While they are running, top shows a kernel_task using a lot of cpu (>100%) and the instances of ld using around 20-30 each. This is all happening on m1 macbook air 8/256. My guess is that it is a combination of RAM pressure, thermal throttling and the OS aggressively shuffling the 10 processes over the 8 cores, leading to lots of cache misses and possibly swapping. Is there any workaround I can apply - possibly some xcode setting to limit parallel jobs to 4-6 or something like that.
0
0
421
Sep ’22
Reply to invalid_client for authorization_code
Just wanted to add a note here that I was able to resolve my issue. The issue was not with the client secret but with the TTL for my secret which expired way too soon and the redirect URI set for getting an auth token not being whitelisted in Apple developer services dashboard for apple sign in.
Topic: App & System Services SubTopic: General Tags:
Jan ’20
Reply to DHCP Option 114
Did not have information nor solution but confirmed this is still persistent on ios 16. Android phones comply to rfc as they should but ios devices did not send any request to uri that mentioned in option 114. Also I did not observed any requests even after reconnecting to same network countless times.
Topic: App & System Services SubTopic: Hardware Tags:
Jan ’23
Reply to Is it possible to run Xcode 7 UI Tests from command line?
Yes, with something like this ...xcodebuild test -scheme YourAppScheme -destination platform=iOS Simulator,OS=9.0,name=iPhone 6Replace your project's scheme name in for 'YourAppScheme'Used to be you had to export/share the scheme (go to manage schemes in Xcode) to get this to work. Not sure if that is still the case. Just a warning.You can play with the destination settings to pick different devices, etc.Cheers.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
iOS 15.4 got "TypeError" when setting WKWebView address to a custom url scheme
I am using custom url scheme to transfer some data from WKWebView to App. The JS code I use in WKWebView is similar to this: try{ window.location.href = 'bsfit://'+window.some_custom_data; }catch(err){ alert(err); } Before iOS 15.4, this has worked perfectly. When tested on iOS 15.4 Beta5, I got an error TypeError: Invalid URL. Is this change intended in iOS 15.4 regarding custom URL schemes? Since I can't change the existing app code, is there a workaround? Thanks.
3
0
2.3k
Mar ’22
Reply to extract asset id from playlist (fairplay)
Hi,The 'Host' parameter of the URI atrribute (in this example:- 'token'), can be retrirevd via the 'identifier' property of AVContentKeyRequest.This will work for Just In Time acquisition of the key(s).If you need to prefetch the keys, you will need to carry the assetId out of band or parse it from the playlist (EXT-X-KEY...)
Topic: Media Technologies SubTopic: Streaming Tags:
Nov ’18
Reply to Error converting to 4.2 "Testable names must be unique"
I haven't seen the same message till now.Me neither, although it seems likely that the “testable” mentioned here relates to the Xcode scheme.@dpeace1982, you should check to see if the tests referenced by your scheme (in Product > Scheme > Edit Scheme > Test > Info > Tests) make sense.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’18
EXC_BAD_ACCESS when using url-scheme with new Xcode Version 9.3 (9E145)
It seems that apps, which are generated with the latest version of Xcode, generate EXC_BAD_ACCESS when the iOS app is called by url-scheme. Do you have the same issues or any workaround?Steps to reproduce:1) Compile an app with an url-scheme2) call this app from e.g. Safari by using myapp://openThe app opens and then crashes with EXC_BAD_ACCESS
8
0
3.1k
Apr ’18
Reply to Deep Link to Files app
I couldn’t find a deep link tag There is Universal Links, but that’s not entirely accurate because your focus is on URL schemes. For URL schemes I recommend Core Services, which is vague but at least it’s something I track (-: You’re asking about iOS, right? Because on macOS we have the activateFileViewerSelecting(_:) method an NSWorkspace. I have some general advice on this topic in this post, and the posts its links to. AFAIK none of the documented schemes do what you want. I recommend that you file a bug requesting an iOS equivalent to the above-mentioned NSWorkspace API. IMPORTANT Don’t ask for NSWorkspace as a whole. That’s unlikely to happen on iOS. Rather, focus on that specific API. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to Backyard-Birds Sample Code issue
By default, StoreKit Testing in Xcode is disabled. After enabling this by selecting the StoreKit Configuration file for the scheme, you will then be able to complete purchases in both iOS and watchOS for this Backyard Birds project. For information see StoreKit Testing in Xcode. If you continue to have issues, please provide what errors you are seeing and how to reproduce them.
Topic: App & System Services SubTopic: StoreKit Tags:
Jun ’24
Reply to Each time I run the widget on the simulator Siri pops up
I figured it out. The scheme that I was using was originally intended to handle the WidgetKit Intent configuration. So in the scheme itself, it had a Siri Intent Query inside the run step. So all I had to do was create a new scheme that was intended to test the Widget, and the query was no longer there. It then ran without triggering it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’20
Reply to Unable to find a scheme that Xcloud Cloud complains about
Hi there. Your Xcode Cloud build may be failing this way because the workflow is still looking for that scheme. Can you confirm that your workflow's build actions reference the correct scheme? Please ensure that you have pushed any changes to your scheme to relevant branches that your Xcode Cloud workflows build from.
Replies
Boosts
Views
Activity
Jun ’24
How to Handle Custom URL Scheme Fallback Gracefully in iOS Safari
We use a direct link mechanism in our app that attempts to open the app if it's already installed; otherwise, it redirects the user to the App Store. However, when the app is not installed, Safari displays an alert saying: Safari cannot open the page because the address is invalid. This popup appears to be caused by attempting to open a custom URL scheme that doesn't resolve. what is the recommendation from apple to have a smooth transition to our mobile App Here’s a sample link we’re using: https://new.oneclear.com/Asset/fe5f7fb6-205a-40f8-9efe-71678361aa2c?t=NTA0NQ==
Topic: Safari & Web SubTopic: General Tags:
Replies
1
Boosts
0
Views
113
Activity
Aug ’25
xcode building all schemes in parallel extremely slow
I have a project that builds 5 binaries from 5 different schemes. Building each one of them separately takes around 2 minutes, with a large part of time spent on linking (lto I guess). I have a dummy target that builds all of them in parallel - I never managed to successfully build it, it goes on for 40-50 minutes and I just lose patience. What happens is, all the compilation is done ok, but when linking starts, 10 linker processes are spawned (5 binaries x 2 architectures) and they seem to never finish. While they are running, top shows a kernel_task using a lot of cpu (>100%) and the instances of ld using around 20-30 each. This is all happening on m1 macbook air 8/256. My guess is that it is a combination of RAM pressure, thermal throttling and the OS aggressively shuffling the 10 processes over the 8 cores, leading to lots of cache misses and possibly swapping. Is there any workaround I can apply - possibly some xcode setting to limit parallel jobs to 4-6 or something like that.
Replies
0
Boosts
0
Views
421
Activity
Sep ’22
Reply to invalid_client for authorization_code
Just wanted to add a note here that I was able to resolve my issue. The issue was not with the client secret but with the TTL for my secret which expired way too soon and the redirect URI set for getting an auth token not being whitelisted in Apple developer services dashboard for apple sign in.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’20
Reply to DHCP Option 114
Did not have information nor solution but confirmed this is still persistent on ios 16. Android phones comply to rfc as they should but ios devices did not send any request to uri that mentioned in option 114. Also I did not observed any requests even after reconnecting to same network countless times.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Is it possible to run Xcode 7 UI Tests from command line?
Yes, with something like this ...xcodebuild test -scheme YourAppScheme -destination platform=iOS Simulator,OS=9.0,name=iPhone 6Replace your project's scheme name in for 'YourAppScheme'Used to be you had to export/share the scheme (go to manage schemes in Xcode) to get this to work. Not sure if that is still the case. Just a warning.You can play with the destination settings to pick different devices, etc.Cheers.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Xcode 9 - Instruments permission denied
Xcode Product -> Scheme - > Edit Scheme- > Profile - >Info -> Build Configuration must be Debug checked
Replies
Boosts
Views
Activity
Jul ’21
iOS 15.4 got "TypeError" when setting WKWebView address to a custom url scheme
I am using custom url scheme to transfer some data from WKWebView to App. The JS code I use in WKWebView is similar to this: try{ window.location.href = 'bsfit://'+window.some_custom_data; }catch(err){ alert(err); } Before iOS 15.4, this has worked perfectly. When tested on iOS 15.4 Beta5, I got an error TypeError: Invalid URL. Is this change intended in iOS 15.4 regarding custom URL schemes? Since I can't change the existing app code, is there a workaround? Thanks.
Replies
3
Boosts
0
Views
2.3k
Activity
Mar ’22
Reply to extract asset id from playlist (fairplay)
Hi,The 'Host' parameter of the URI atrribute (in this example:- 'token'), can be retrirevd via the 'identifier' property of AVContentKeyRequest.This will work for Just In Time acquisition of the key(s).If you need to prefetch the keys, you will need to carry the assetId out of band or parse it from the playlist (EXT-X-KEY...)
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Nov ’18
Reply to Error converting to 4.2 "Testable names must be unique"
I haven't seen the same message till now.Me neither, although it seems likely that the “testable” mentioned here relates to the Xcode scheme.@dpeace1982, you should check to see if the tests referenced by your scheme (in Product > Scheme > Edit Scheme > Test > Info > Tests) make sense.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’18
Reply to can't run app in physical device, Xcode 12.5, iOS 12.5.3
Turns out it is one scheme setting that leads to this error: Debug Executable Steps: Choose the problematic scheme Edit Scheme Choose Run Uncheck “Debug executable” Clean Derived Data: ⌘ Cmd + ↑ Shift + K Run the app again: ⌘ Cmd + R
Replies
Boosts
Views
Activity
Jun ’21
EXC_BAD_ACCESS when using url-scheme with new Xcode Version 9.3 (9E145)
It seems that apps, which are generated with the latest version of Xcode, generate EXC_BAD_ACCESS when the iOS app is called by url-scheme. Do you have the same issues or any workaround?Steps to reproduce:1) Compile an app with an url-scheme2) call this app from e.g. Safari by using myapp://openThe app opens and then crashes with EXC_BAD_ACCESS
Replies
8
Boosts
0
Views
3.1k
Activity
Apr ’18
Reply to Deep Link to Files app
I couldn’t find a deep link tag There is Universal Links, but that’s not entirely accurate because your focus is on URL schemes. For URL schemes I recommend Core Services, which is vague but at least it’s something I track (-: You’re asking about iOS, right? Because on macOS we have the activateFileViewerSelecting(_:) method an NSWorkspace. I have some general advice on this topic in this post, and the posts its links to. AFAIK none of the documented schemes do what you want. I recommend that you file a bug requesting an iOS equivalent to the above-mentioned NSWorkspace API. IMPORTANT Don’t ask for NSWorkspace as a whole. That’s unlikely to happen on iOS. Rather, focus on that specific API. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Backyard-Birds Sample Code issue
By default, StoreKit Testing in Xcode is disabled. After enabling this by selecting the StoreKit Configuration file for the scheme, you will then be able to complete purchases in both iOS and watchOS for this Backyard Birds project. For information see StoreKit Testing in Xcode. If you continue to have issues, please provide what errors you are seeing and how to reproduce them.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’24