Search results for

“file uri scheme”

81,738 results found

Post

Replies

Boosts

Views

Activity

Url Scheme dialog doesn't appear after reinstall
We are facing a behaviour we are not quite sure if it is as expected or not.We have an app that can be opened by an other app using an URL Scheme. If the opening app is freshly installed, a dialog appears telling that the app wants to open the url scheme and if you agree. That's how it is expected. Now if you agree and the app wants to reopen the url scheme it does not ask about it again. Also, this is expected.If I uninstall the opening app now and reinstall, we usually expected that the app asks again for the url scheme, but here it doesn't. It just opens the url scheme.Is it the expected behaviour? Does the device store the selected response for an url scheme somewhere? Meaning, once accepted the OS remembers?All answers are appreciated!Greetings
0
0
197
Feb ’17
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
Automatic iOS Build: Scheme missing without opening XCode
Hi folks,for an iOS app, I am currently trying to run an automated iOS build from command line to generate the signed .ipa file.What the command line does, is:xcodebuild -xcconfig ../../buildSettings.xcconfig -scheme ProjectName -configuration Release -archivePath ../../build/ProjectName.xcarchive archive xcrun xcodebuild -exportArchive -exportOptionsPlist ../../exportPlist.plist -archivePath ../../build/ProjectName.xcarchive -exportPath ../../buildThe is that the XCode project is missing any scheme which is needed for the build with xcodebuild. This is because the xcodeproj is automatically generated by the cordova framework command line tools.I found out that XCode automatically generates new scheme files when the project is opened with XCode. What I did not find is any command line tool options to create that scheme. I think to open XCode from the command line and kill it again before building the project is a workaround and I would rather prefer a clean solutio
1
0
2.3k
May ’17
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
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.5k
Apr ’23
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
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
171
Nov ’25
Url Scheme dialog doesn't appear after reinstall
We are facing a behaviour we are not quite sure if it is as expected or not.We have an app that can be opened by an other app using an URL Scheme. If the opening app is freshly installed, a dialog appears telling that the app wants to open the url scheme and if you agree. That's how it is expected. Now if you agree and the app wants to reopen the url scheme it does not ask about it again. Also, this is expected.If I uninstall the opening app now and reinstall, we usually expected that the app asks again for the url scheme, but here it doesn't. It just opens the url scheme.Is it the expected behaviour? Does the device store the selected response for an url scheme somewhere? Meaning, once accepted the OS remembers?All answers are appreciated!Greetings
Replies
0
Boosts
0
Views
197
Activity
Feb ’17
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
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
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.7k
Activity
Aug ’16
Automatic iOS Build: Scheme missing without opening XCode
Hi folks,for an iOS app, I am currently trying to run an automated iOS build from command line to generate the signed .ipa file.What the command line does, is:xcodebuild -xcconfig ../../buildSettings.xcconfig -scheme ProjectName -configuration Release -archivePath ../../build/ProjectName.xcarchive archive xcrun xcodebuild -exportArchive -exportOptionsPlist ../../exportPlist.plist -archivePath ../../build/ProjectName.xcarchive -exportPath ../../buildThe is that the XCode project is missing any scheme which is needed for the build with xcodebuild. This is because the xcodeproj is automatically generated by the cordova framework command line tools.I found out that XCode automatically generates new scheme files when the project is opened with XCode. What I did not find is any command line tool options to create that scheme. I think to open XCode from the command line and kill it again before building the project is a workaround and I would rather prefer a clean solutio
Replies
1
Boosts
0
Views
2.3k
Activity
May ’17
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
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.3k
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.5k
Activity
Apr ’23
Reply to 10.11 GM Hangs after slow boot & login
Was suffering a very similar problem to lyssophobe, was partway through installing the 10.11.1 beta. Was also seeing LaunchServices: Scheme mapping file does not exist, creating file in the logs. Deleting everything in /var/folders/ worked. Thank you lyssophobe for mentioning this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’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
833
Activity
Nov ’22
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
Reply to Post-Xcodebuild script not found at ci_scripts/ci_post_xcodebuild.sh
I assume the .sh file extension is suppressed by default in the UI? Also, check file perm on the script is correct and its added to the target that provides the scheme you are building against. The default shell here is 'zsh' and I can't imagine that 'sh' isn't also available.
Replies
Boosts
Views
Activity
Mar ’23
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
676
Activity
Sep ’16
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
171
Activity
Nov ’25
Reply to URI Schemes Broken?
You mentioned this is fixed. We have an issue where repeated clicks will eventually break the URI handling and the phone will no longer dial (for tel: links). Has anyone else seen this?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15