Search results for

“file uri scheme”

81,724 results found

Post

Replies

Boosts

Views

Activity

Build scheme for App disappears.
Hi. I am developing an App with Network Extension, and when I use git stash or checkout, the Build scheme for App disappears and only the Build scheme for Extension remains. When I restart Xcode, the Build Scheme for App appears, but it is hard to restart it every time. So, please tell me how to solve this problem. Now I'm using Xcode Version 14.0.1 (14A400) on macOS12.6.
0
0
421
Oct ’22
HTTP losthost scheme for PAC file still working on latest Montery Beta 9, is it by design?
We noticed from the Monterey Beta 8/Beta 9 release notes that - Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(::::). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845) We have a product that delivers a PAC file through http://localhost, we verified with Beta 8 and Beta 9 builds this didn't cause any problem. The question is, is this expected? The release notes make it sounds like the deprecation i
3
0
2.2k
Oct ’21
openUrl with scheme in tvos
I read a post here on these forums where an Apple staff member posted that openUrl with schemes works in TvOS like they do in iOS and the documentation here states the url formats to access a YouTube video in iOS but it's not clear if those work with openURLI'm attempting to open a URL with openURL via an IBAction from a button and I wanted to open YouTube to render the content seeing as how there is no access currently to UIWebView so I can't (without breaking youtube's TOS) render the video directly. I've tested and been able to get access to the direct links with a youtube parser class but again that breaks their TOS so I'm not interested in publishing an app that way.Thanks for any info on the status of url schemes in TvOS
1
0
1.2k
Nov ’15
Reply to Test code class goes to rT (purple) - can't delete
This also happend to me.Prior to beginning the process I edited the scheme and checked the Test settings. There I saw both the purple and blue icons.To clear it I selected the related file in my Project Navigator. I deleted the file but selected Remove Reference rather than Move to Trash.Checking the scheme again, both the purple and blue icons were gone. Finally I readded the file to the test target.Checking the scheme, only the blue icon was there. When I re-ran the tests, no rT icon was present.Hope this helps.
Oct ’15
iPhone URL Schemes 2018
Hi,Does anyone know where I can find URL Schemes?I've been following a guide on Stack Overflow but the Schemes no longer seem to workI wish to open the devices do not disturb settings.. I can open the main device setting with this SchemeApp-prefs:root=GeneralBut the following does not work:App-prefs:root=General&path=DO_NOT_DISTURBDoes anyone have any suggestions?
Topic: UI Frameworks SubTopic: UIKit Tags:
4
0
2.4k
Jun ’18
Reply to Notarization Failed for "The binary is not signed"
Hi @eskimo, Thank you for sharing me the debug process. And you are right, this file is indeed not signed. With this lead I found that this file is used to make an installer package before it is signed. This explains the issue here. So my next question is here we have two schemes, one for the app and the other one for the installer package. During the execution of the installer package, we were trying to copy the product of app scheme. We have a dependency within installer package scheme. And the app scheme is in the dependency. But it looks like it could not guarantee that app is signed before used. Do you know is there any way to make sure that the product of app scheme is signed before used/copied?
Topic: Code Signing SubTopic: Notarization Tags:
Jun ’22
Reply to C++ ifstream: Can't open text file
The file you are trying to open, AMatrix.txt, is not in the current working directory so the file isn't found. There are multiple ways to fix this. First, you can supply the complete path to the file in your code. Second, you can set the working directory for the Xcode scheme and set it to the directory where the file you want to open resides. In the project window toolbar to the right of the Run and Stop buttons is a path control. The left item in the path control is the name of your project. Click the item and choose Edit Scheme to open the scheme editor. Select the Run step from the left side of the scheme editor. Click the Options button at the top of the scheme editor. Select the Use custom working directory checkbox. Click the folder icon to open an Open panel to choose the working directory.
May ’21
Reply to ASWebAuthenticationSession callbackURLScheme
From the docs - https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/2990952-init: callbackURLScheme The custom URL scheme that the app expects in the callback URL. Note custom URL scheme, which will allow ASWebAuthenticationSession to redirect back to your app and complete. If you need to redirect back to your app with an http(s) URL from an external user agent—that is, an authentication class like ASWebAuthenticationSession or a system browser—you'll need to do it on the OS level by using Universal Links - https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content. It's a big subject covered in the aforementioned doc and others referenced from there. In short, your redirection URI will point to a server where your apple-app-site-association file is hosted and a path specified for your app in this file. Then you'll need to handle the redirection in your app delegate's application(_:cont
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
URL scheme for the Movies app
How would you link to a specific movie in the movies app from your app? Using UIApplication.sharedApplication().openURL and an iTunes link (such as http://geo.itunes.apple.com/us/movie/mad-max-fury-road/id990549112?mt=6) does not work and gives the error LaunchServices: ERROR: There is no registered handler for URL scheme http.Is there an URL scheme for the default Movies app on tvOS and if so, how do you use it to open a specific movie?
5
0
1.4k
Sep ’15
Build scheme for App disappears.
Hi. I am developing an App with Network Extension, and when I use git stash or checkout, the Build scheme for App disappears and only the Build scheme for Extension remains. When I restart Xcode, the Build Scheme for App appears, but it is hard to restart it every time. So, please tell me how to solve this problem. Now I'm using Xcode Version 14.0.1 (14A400) on macOS12.6.
Replies
0
Boosts
0
Views
421
Activity
Oct ’22
HTTP losthost scheme for PAC file still working on latest Montery Beta 9, is it by design?
We noticed from the Monterey Beta 8/Beta 9 release notes that - Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(::::). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845) We have a product that delivers a PAC file through http://localhost, we verified with Beta 8 and Beta 9 builds this didn't cause any problem. The question is, is this expected? The release notes make it sounds like the deprecation i
Replies
3
Boosts
0
Views
2.2k
Activity
Oct ’21
Reply to Subscription Unavailable - Strange Behavior with StoreKit
I have had the same issue. I had previously followed some guidance to create a store configuration file and update my product scheme. When I removed the file and set scheme to none, the subscription service worked with groupID and productIDs. Hope this helps.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
openUrl with scheme in tvos
I read a post here on these forums where an Apple staff member posted that openUrl with schemes works in TvOS like they do in iOS and the documentation here states the url formats to access a YouTube video in iOS but it's not clear if those work with openURLI'm attempting to open a URL with openURL via an IBAction from a button and I wanted to open YouTube to render the content seeing as how there is no access currently to UIWebView so I can't (without breaking youtube's TOS) render the video directly. I've tested and been able to get access to the direct links with a youtube parser class but again that breaks their TOS so I'm not interested in publishing an app that way.Thanks for any info on the status of url schemes in TvOS
Replies
1
Boosts
0
Views
1.2k
Activity
Nov ’15
Reply to Test code class goes to rT (purple) - can't delete
This also happend to me.Prior to beginning the process I edited the scheme and checked the Test settings. There I saw both the purple and blue icons.To clear it I selected the related file in my Project Navigator. I deleted the file but selected Remove Reference rather than Move to Trash.Checking the scheme again, both the purple and blue icons were gone. Finally I readded the file to the test target.Checking the scheme, only the blue icon was there. When I re-ran the tests, no rT icon was present.Hope this helps.
Replies
Boosts
Views
Activity
Oct ’15
Reply to crossorigin="anonymous" Prevents Rendering and Canvas Access for Custom Scheme and HTTP Images on iOS 18
If this is the case, then using a custom scheme with WKURLSchemeHandler to access local resources on an https page will be disallowed. In that case, what is the purpose of WKURLSchemeHandler? It cannot intercept schemes like https, http, or file, nor can it intercept custom schemes. Are there any alternative solutions?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Xcode7 code completion broken
If it works in a different scheme, then the most likely cause is that the target membership of the file is incorrect, or perhaps there's something wrong in the scheme itself.Is this Swift or Obj-C?
Replies
Boosts
Views
Activity
Jun ’15
Reply to APP REVIEW ON ITUNES CONNECT. Invalid file GeoJSON
Hi ViOS I am getting same problem, can you give me some help? is the following necessary to do following? 4. I have also added to Xcode .geojson such as file and specified in the guidelines on the part of product-> Scheme -> Edit Scheme: the scheme itself does not go to the binary, right? Regards Marc
Replies
Boosts
Views
Activity
Jul ’20
iPhone URL Schemes 2018
Hi,Does anyone know where I can find URL Schemes?I've been following a guide on Stack Overflow but the Schemes no longer seem to workI wish to open the devices do not disturb settings.. I can open the main device setting with this SchemeApp-prefs:root=GeneralBut the following does not work:App-prefs:root=General&path=DO_NOT_DISTURBDoes anyone have any suggestions?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
4
Boosts
0
Views
2.4k
Activity
Jun ’18
Reply to Notarization Failed for "The binary is not signed"
Hi @eskimo, Thank you for sharing me the debug process. And you are right, this file is indeed not signed. With this lead I found that this file is used to make an installer package before it is signed. This explains the issue here. So my next question is here we have two schemes, one for the app and the other one for the installer package. During the execution of the installer package, we were trying to copy the product of app scheme. We have a dependency within installer package scheme. And the app scheme is in the dependency. But it looks like it could not guarantee that app is signed before used. Do you know is there any way to make sure that the product of app scheme is signed before used/copied?
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Jun ’22
xcode active scheme default
Is there a way to set a default active scheme? Every time I open a project it defaults to iphone 6s plus even though the projects are saved with different schemes. Thanks.
Replies
3
Boosts
0
Views
3.0k
Activity
Jun ’16
Reply to Sign in with Apple gives Invalid redirect_uri even though am using a registered URL
Hi Sudhakar,I have to integrate Sign in with Apple for Web and Android app.1) How do i create redirect uri? Is this deeplink url which can be created using branch.io?2) Do i need to have two separate redirect uri separate for web and android?Please let me know about this.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
Reply to C++ ifstream: Can't open text file
The file you are trying to open, AMatrix.txt, is not in the current working directory so the file isn't found. There are multiple ways to fix this. First, you can supply the complete path to the file in your code. Second, you can set the working directory for the Xcode scheme and set it to the directory where the file you want to open resides. In the project window toolbar to the right of the Run and Stop buttons is a path control. The left item in the path control is the name of your project. Click the item and choose Edit Scheme to open the scheme editor. Select the Run step from the left side of the scheme editor. Click the Options button at the top of the scheme editor. Select the Use custom working directory checkbox. Click the folder icon to open an Open panel to choose the working directory.
Replies
Boosts
Views
Activity
May ’21
Reply to ASWebAuthenticationSession callbackURLScheme
From the docs - https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/2990952-init: callbackURLScheme The custom URL scheme that the app expects in the callback URL. Note custom URL scheme, which will allow ASWebAuthenticationSession to redirect back to your app and complete. If you need to redirect back to your app with an http(s) URL from an external user agent—that is, an authentication class like ASWebAuthenticationSession or a system browser—you'll need to do it on the OS level by using Universal Links - https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content. It's a big subject covered in the aforementioned doc and others referenced from there. In short, your redirection URI will point to a server where your apple-app-site-association file is hosted and a path specified for your app in this file. Then you'll need to handle the redirection in your app delegate's application(_:cont
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’20
URL scheme for the Movies app
How would you link to a specific movie in the movies app from your app? Using UIApplication.sharedApplication().openURL and an iTunes link (such as http://geo.itunes.apple.com/us/movie/mad-max-fury-road/id990549112?mt=6) does not work and gives the error LaunchServices: ERROR: There is no registered handler for URL scheme http.Is there an URL scheme for the default Movies app on tvOS and if so, how do you use it to open a specific movie?
Replies
5
Boosts
0
Views
1.4k
Activity
Sep ’15