Search results for

“file uri scheme”

84,445 results found

Post

Replies

Boosts

Views

Activity

Reply to Is it possible to clone data into existing files?
Without wanting to set expectations about whether this feature could be provided or not, please note that on macOS such an operation would only be possible from a particular file offset in the source file to the same file offset in the destination file. (This is due to some low-level invariants of how our encryption scheme works.)
Topic: Core OS SubTopic:
File Systems Q&A
Tags:
Jun ’26
WKWebView unable to load custom URL scheme with HTTPS
Hello, I would like to load local resources (images and JSON) in a WKWebView by defining a custom URL scheme and using WKURLSchemeHandler. I have a WKWebView that loads web content that will do an HTTP GET request on the URL scheme, which the WKWebView catches and returns an HTTP response along with the resource (in JSON) via my handler.This setup works when the website uses http, but fails when using https with the following error:[blocked] The page at [web page with https] was not allowed to display insecure content from [custom url scheme].I observed the error using Safari's development tool for viewing the loaded web content in a WKWebView.Safari seems to be blocking mixed content when a webpage is served over https. Is there a way to resolve this issue?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
2.5k
Apr ’18
Reply to Xcode Cloud macOS won't run test scheme - "Failed to load the test bundle"
Additional info: I discovered that this is not just an issue with Xcode cloud, I can reproduce by just trying to run the testing target from the command-line locally, with xcodebuild -scheme (XCTest-scheme-name) test I get the same error shown above, which does not occur when I run the Test action from the IDE. In this case it's looking for the test file in the Debug .app build in derived data - and the file is actually there. Any suggestions? Is this a code-signing issue?
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
trusting the team_id codesign naming scheme?
I have a question about the amount of trust I should have in the team_id for an executable. I've been looking at the signing_id and team_id values in Apple's endpoint es_process_t, and almost all code follows the reverse naming scheme for their team_id. They have names like: com.getdropbox.dropbox com.microsoft.teams.helper com.apple.mdworker_shared com.apple.spctl But Google (at least) violates this reverse DNS pattern when signing many of their binaries. They have team IDs such as ksfetch GoogleSoftwareUpdateDaemon crashpad_handler Should I not trust the TLD (e.g., com.apple or com.microsoft) for the team ID? For example, could Google (or a malicious organization) sign their binary com.microsoft.ksfetch making me think it came from Microsoft?
3
0
1.6k
Apr ’23
Referer not being sent by WKWebView when using a custom scheme
YouTube now requires a Referer to be sent to be able to embed Youtube videos, otherwise the videos won't work. But WKWebView doesn't send a Referer when using a custom scheme, so Youtube videos stopped working in that case. This affects Ionic apps, both using Cordova or Capacitor. There's an open issue for Cordova and another one for Capacitor. In these apps, the app is served using a custom scheme like capacitor://localhost or ionic://localhost. I tried modifying the Ionic WebView source code to force adding a referrer to the URL loaded using WKWebView's loadRequest: [request addValue:@https://my.test.app forHTTPHeaderField:@Referer]; [_engineWebView loadRequest:request] But the Referer is still not sent in the Requests, I guess because the app is using a custom scheme (e.g. capacitor://localhost). However, if I modify this code to force loading an online URL (using https) instead of capacitor://localhost, then the my.test.app Referer is sent to the requests. Is there any way to ma
Topic: Safari & Web SubTopic: General Tags:
0
0
246
Nov ’25
Reply to How to reset Xcode instruments? / Time Profiler crashing iOS App
Look at the Profile action in the scheme editor for whichever scheme you are profiling with. The Info tab has an Instrument setting that should be set to Ask on Launch if you want to be able to select a different template when Instruments is launched by Xcode.As for your crash, please file a radar with more precise reproduction steps, device info, etc... If you can include the crash report for the app as well, that might prove useful.
Nov ’15
Xcode edit scheme didn't show ARKit
I followed the article Recording and Replaying ARSession Data and want to Use a recorded session in an app. But when I edit scheme as instructed I didn't find the ARKit label.
Replies
1
Boosts
0
Views
850
Activity
Nov ’22
Reply to Safari 16.4 Blobs - Sandbox Access Violation
Hi, we're having the same issue. Did you manage to fix it? iOS seems to have problems with allow-same-origin and blob: uris. Best regards
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Sign up popup not closing.
This was exactly my issue, too. I had to configure my local dev environment for https and then set the redirect uri to be https, and it worked. Thank you so much for the help!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
Open Health app using url scheme
I had tried to open Health app from my app using url scheme health. It was working with iOS 10 beta simulator but whnw i tried with real device with iOS 10 beta it's not working. Is there any other way to open a health app from other apps?
Replies
2
Boosts
0
Views
6.8k
Activity
Aug ’16
Reply to Sign in with Apple gives Invalid redirect_uri even though am using a registered URL
@jaguth Could you explain what you've done? I tried to use the service id client id but I'm still receiving invalid redirect uri? Thnaks
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’19
Reply to Is it possible to clone data into existing files?
Without wanting to set expectations about whether this feature could be provided or not, please note that on macOS such an operation would only be possible from a particular file offset in the source file to the same file offset in the destination file. (This is due to some low-level invariants of how our encryption scheme works.)
Topic: Core OS SubTopic:
File Systems Q&A
Tags:
Replies
Boosts
Views
Activity
Jun ’26
WKWebView unable to load custom URL scheme with HTTPS
Hello, I would like to load local resources (images and JSON) in a WKWebView by defining a custom URL scheme and using WKURLSchemeHandler. I have a WKWebView that loads web content that will do an HTTP GET request on the URL scheme, which the WKWebView catches and returns an HTTP response along with the resource (in JSON) via my handler.This setup works when the website uses http, but fails when using https with the following error:[blocked] The page at [web page with https] was not allowed to display insecure content from [custom url scheme].I observed the error using Safari's development tool for viewing the loaded web content in a WKWebView.Safari seems to be blocking mixed content when a webpage is served over https. Is there a way to resolve this issue?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
2.5k
Activity
Apr ’18
Reply to how to generate the .ipa from the terminal
I get a zero byte archive file when usingxcodebuild -workspace mako.xcworkspace -scheme 'mako mobile' -archivePath '~/Desktop/app_releases/archive' archiveWhat am I missing here?
Replies
Boosts
Views
Activity
Oct ’17
Reply to Deep link to PHAsset in Photos app?
There is no documented API or URL scheme to accomplish this. I'd recommend you file a feedback request detailing the functionality you're trying to build in your app.
Topic: Photos & Camera SubTopic:
Photos & Camera Q&A
Replies
Boosts
Views
Activity
Jun ’26
Is there a dark color scheme to the safari developer web inspector?
I am using chrome tools but i would love to go back to safari but I am hoping there is a dark scheme in settings somewhere.
Replies
1
Boosts
0
Views
688
Activity
Sep ’16
Reply to Xcode Cloud macOS won't run test scheme - "Failed to load the test bundle"
Additional info: I discovered that this is not just an issue with Xcode cloud, I can reproduce by just trying to run the testing target from the command-line locally, with xcodebuild -scheme (XCTest-scheme-name) test I get the same error shown above, which does not occur when I run the Test action from the IDE. In this case it's looking for the test file in the Debug .app build in derived data - and the file is actually there. Any suggestions? Is this a code-signing issue?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Xcode Cloud: A scheme named "x" does not exist in x.xcodeproj
I have checked that my scheme is shared and I do in fact have the scheme in my xcode project. But whenever I try to run Xcode cloud, it fails with the message that A scheme named 'MyAppScheme' does not exist in MyAppProject.xcodeproj Any tips on what I could be doing wrong?
Replies
5
Boosts
0
Views
2.4k
Activity
Aug ’23
trusting the team_id codesign naming scheme?
I have a question about the amount of trust I should have in the team_id for an executable. I've been looking at the signing_id and team_id values in Apple's endpoint es_process_t, and almost all code follows the reverse naming scheme for their team_id. They have names like: com.getdropbox.dropbox com.microsoft.teams.helper com.apple.mdworker_shared com.apple.spctl But Google (at least) violates this reverse DNS pattern when signing many of their binaries. They have team IDs such as ksfetch GoogleSoftwareUpdateDaemon crashpad_handler Should I not trust the TLD (e.g., com.apple or com.microsoft) for the team ID? For example, could Google (or a malicious organization) sign their binary com.microsoft.ksfetch making me think it came from Microsoft?
Replies
3
Boosts
0
Views
1.6k
Activity
Apr ’23
Referer not being sent by WKWebView when using a custom scheme
YouTube now requires a Referer to be sent to be able to embed Youtube videos, otherwise the videos won't work. But WKWebView doesn't send a Referer when using a custom scheme, so Youtube videos stopped working in that case. This affects Ionic apps, both using Cordova or Capacitor. There's an open issue for Cordova and another one for Capacitor. In these apps, the app is served using a custom scheme like capacitor://localhost or ionic://localhost. I tried modifying the Ionic WebView source code to force adding a referrer to the URL loaded using WKWebView's loadRequest: [request addValue:@https://my.test.app forHTTPHeaderField:@Referer]; [_engineWebView loadRequest:request] But the Referer is still not sent in the Requests, I guess because the app is using a custom scheme (e.g. capacitor://localhost). However, if I modify this code to force loading an online URL (using https) instead of capacitor://localhost, then the my.test.app Referer is sent to the requests. Is there any way to ma
Topic: Safari & Web SubTopic: General Tags:
Replies
0
Boosts
0
Views
246
Activity
Nov ’25
Reply to How to reset Xcode instruments? / Time Profiler crashing iOS App
Look at the Profile action in the scheme editor for whichever scheme you are profiling with. The Info tab has an Instrument setting that should be set to Ask on Launch if you want to be able to select a different template when Instruments is launched by Xcode.As for your crash, please file a radar with more precise reproduction steps, device info, etc... If you can include the crash report for the app as well, that might prove useful.
Replies
Boosts
Views
Activity
Nov ’15