Search results for

file uri scheme

78,613 results found

Post

Replies

Boosts

Views

Activity

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
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
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
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 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 Xcode says “You don't have permission” when trying to run
Delete and recreate the Scheme for your Project.1) Click on the Project Target Name at the top of the Xcode window.2) Select Manage Schemes and Highlight the Scheme Name and click the Minus Sign to Delete it.3) Click on the Project Target Name at the top of the Xcode window, Again.4) The Plus sign at the bottom of the Aut0 Create Scheme and select your project from the list that appears.This should fix your issue.
Mar ’17
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
Shortcut only works on one target/scheme
I added an AppIntent and Shortcut to an app. I have different targets all producing slightly different versions of the app (for testing purposes) but even though the files with the intents and shortcuts are included on all targets, when I run the app from one of the other targets the shortcuts stop working and appearing on the Shortcuts app. Only the version without parameters appears and when run produces an error: “The action (name) could not run because an internal error occurred” Is there anything I’m missing? if I duplicate the target where they run ok, everything is fine (and I might just recreate all the targets) thanks!
2
0
115
Feb ’25
ios drop file wrong file name
ios drop file wrong file name I use the following simple JS code to drag file from the browser to the desktop. Works perfect on MacOS. onDragStart(event, ucpView) { let file = new BrowserFile([this.file.fileContent], this.file.displayName, { type: 'application/ucp-scenario' }); const fileURL = URL.createObjectURL(file); event.dataTransfer.setData(DownloadURL, `application/octet-stream:${file.name}:${fileURL}`); event.dataTransfer.setData(text/uri-list, fileURL); } but on iOS it keeps nameing the file Text1.txt Text2.txt ... and ignores the DownloadURL whats the best way to get it workng on both OS?
Topic: Safari & Web SubTopic: General
0
0
41
Apr ’25