Search results for

“file uri scheme”

81,720 results found

Post

Replies

Boosts

Views

Activity

SFSafariViewController url scheme issue
As of iOS 10 the SFSafariViewController is no longer working the way it did in iOS 9 with url schemes and getting back to the application after the web page is done. In iOS 9 this worked.Launch url in SFSafariViewController from iOS appHave a button on the web page shown in safari that will set the window.location.href to the url scheme of the app that launched the SFSafariViewControllerapplicationDidBecomeActive was called for the url scheme (same app as in step #1) and SFSafariViewController could be closedIn iOS 10 the step #3 no longer happens.Questions related to iOS 10.What is the proper way to get back to the application that created the SFSafariViewController? Without using Done button.Can you close the SFSafariViewController from the web page? JS window.close() doesn't work.What is called in the app when calling the url scheme from SFSafariViewController? It is no longer applicationDidBecomeActive.
2
0
3.6k
Sep ’16
Scheme Destination Toolbar Missing
For one project in XCode, the toolbar near the upper left that shows Scheme and Destination have disappeared. They show when XCode is viewed full screen, but not when smaller. Other projects dont have this issue.I also note that at the upper right corner two right pointing arrows have appeared that show Scheme grayed out. I suspect this is related.How do I get the menus to show normally?
4
0
3.5k
Jul ’15
Xcodebuild archive without scheme
Hello, we want to build our projects with the command line, like :xcodebuild -target OurTarget -configuration OurConfig -archivePath project.xcarchive -scheme OurScheme archiveto be able to then, make a build with :xcodebuild -exportArchive -archivePath project.xcarchive -exportPath build -exportOptionsPlist build/exportOptions.plistThe problem is that we are using a script to export our project which remove all user data like scemes.So, what would be the best solution to use these commands without scheme ?Best regards
1
0
1.7k
Mar ’16
xCode 6.4 scheme names
Hi,All my active schemes names seem to be corrupted they are showing a GUID rather than the iOS version number.(This is the same in all projects)xCode 6.4 (6E35b)The scheme look likeiPhone 6 (6C .... a guid here ... )iPhone 6 (4A .... a 2nd GUID guid here ... ).... etcRather thaniPhone 6 (8.1)iPhone 6 (8.2).... etcEverything compiles correctly, but it makes it hard to know which version of iOS I am compiling against.I also have xCode 7.0 (&A121l) installed, which shows the Scheme names correctly.Any ideas on how to fix this ?Cheers,Phil
9
0
725
Jul ’15
Reply to "Run" and "Build" buttons greyed out?
Did you create a project for your program? You need to create a project to be able to build and run programs in Xcode. Choose File > New > Project to create a project. If you're learning C++, create a Command Line Tool project, which is in the Application category under OS X.If you created a project and have no schemes, does choosing New Scheme instead of Manage Schemes create a new scheme for you?
Dec ’15
Reply to Using AvAssetWriter with named pipes in iOS
Yeah. I tried that. AVAssetWriter fails because it wants to create the file and not just write to it.Adding... let res = mkfifo(path, 0o666) if (res != 0) { print(failed to create named pipe) return } let url = NSURL(fileURLWithPath:path) ...Is there a way to intercept the file open/creation call? I tried hooking to NSURLProtocol and passing a different scheme type; I called it pipe:. However, AVAssetWriter wants *only* file: schemes. I then tried creating hooking to file: schemes, but that path doesn't get exercised via the NSURLProtocol mechanism.
Topic: Media Technologies SubTopic: Audio Tags:
Mar ’16
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Jun ’25
Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Nov ’20
SFSafariViewController url scheme issue
As of iOS 10 the SFSafariViewController is no longer working the way it did in iOS 9 with url schemes and getting back to the application after the web page is done. In iOS 9 this worked.Launch url in SFSafariViewController from iOS appHave a button on the web page shown in safari that will set the window.location.href to the url scheme of the app that launched the SFSafariViewControllerapplicationDidBecomeActive was called for the url scheme (same app as in step #1) and SFSafariViewController could be closedIn iOS 10 the step #3 no longer happens.Questions related to iOS 10.What is the proper way to get back to the application that created the SFSafariViewController? Without using Done button.Can you close the SFSafariViewController from the web page? JS window.close() doesn't work.What is called in the app when calling the url scheme from SFSafariViewController? It is no longer applicationDidBecomeActive.
Replies
2
Boosts
0
Views
3.6k
Activity
Sep ’16
Apple Translate URL Scheme
Does anyone know the URL scheme for calling Apple Translate?
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’22
Scheme Destination Toolbar Missing
For one project in XCode, the toolbar near the upper left that shows Scheme and Destination have disappeared. They show when XCode is viewed full screen, but not when smaller. Other projects dont have this issue.I also note that at the upper right corner two right pointing arrows have appeared that show Scheme grayed out. I suspect this is related.How do I get the menus to show normally?
Replies
4
Boosts
0
Views
3.5k
Activity
Jul ’15
Xcodebuild archive without scheme
Hello, we want to build our projects with the command line, like :xcodebuild -target OurTarget -configuration OurConfig -archivePath project.xcarchive -scheme OurScheme archiveto be able to then, make a build with :xcodebuild -exportArchive -archivePath project.xcarchive -exportPath build -exportOptionsPlist build/exportOptions.plistThe problem is that we are using a script to export our project which remove all user data like scemes.So, what would be the best solution to use these commands without scheme ?Best regards
Replies
1
Boosts
0
Views
1.7k
Activity
Mar ’16
Reply to Playing FairPlay streams with TVJS
HI, what is fpsMgr.assetIDFromURI(uri) doing? can you provide me with sample code?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’17
xCode 6.4 scheme names
Hi,All my active schemes names seem to be corrupted they are showing a GUID rather than the iOS version number.(This is the same in all projects)xCode 6.4 (6E35b)The scheme look likeiPhone 6 (6C .... a guid here ... )iPhone 6 (4A .... a 2nd GUID guid here ... ).... etcRather thaniPhone 6 (8.1)iPhone 6 (8.2).... etcEverything compiles correctly, but it makes it hard to know which version of iOS I am compiling against.I also have xCode 7.0 (&A121l) installed, which shows the Scheme names correctly.Any ideas on how to fix this ?Cheers,Phil
Replies
9
Boosts
0
Views
725
Activity
Jul ’15
Reply to "Run" and "Build" buttons greyed out?
Did you create a project for your program? You need to create a project to be able to build and run programs in Xcode. Choose File > New > Project to create a project. If you're learning C++, create a Command Line Tool project, which is in the Application category under OS X.If you created a project and have no schemes, does choosing New Scheme instead of Manage Schemes create a new scheme for you?
Replies
Boosts
Views
Activity
Dec ’15
Reply to Hide iMessage URL from Mac and older iOS devices
Use a data:... URI instead of an HTTP one.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’16
Reply to Using AvAssetWriter with named pipes in iOS
Yeah. I tried that. AVAssetWriter fails because it wants to create the file and not just write to it.Adding... let res = mkfifo(path, 0o666) if (res != 0) { print(failed to create named pipe) return } let url = NSURL(fileURLWithPath:path) ...Is there a way to intercept the file open/creation call? I tried hooking to NSURLProtocol and passing a different scheme type; I called it pipe:. However, AVAssetWriter wants *only* file: schemes. I then tried creating hooking to file: schemes, but that path doesn't get exercised via the NSURLProtocol mechanism.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’16
Reply to NSURL File Representation Differences
There should be only two slashes after the file: scheme.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’16
Home app url scheme
Anyone know the url scheme to open the Home app UIApplication.sharedApplication().openURL()?
Replies
2
Boosts
0
Views
4.3k
Activity
Nov ’16
Duplicate url scheme operation
Hi, respectable developers.I want to run both commercial and test apps at the same time by installing two identical apps on my device while running my app. These two apps have different bundle IDs.The problem is that I use the url scheme, and I would like to call this url scheme to select one of the two installed apps.Is there any way?
Replies
0
Boosts
0
Views
595
Activity
Nov ’16
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to open Files app (iOS 11) programmatically?
It appears you can do this by taking a file URL and changing the scheme to shareddocuments://.
Replies
Boosts
Views
Activity
Jun ’20
Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’20