Search results for

“file uri scheme”

84,459 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 15 beta strings catalog
@Developer Tools Engineer - Thank you for answering this question. I do understand that string catalog files are designed to be interfaced by XCode. I would like to also bring your attention that there are other valid and relatively common scenarios where other tools need to read/write to this string catalog file. In an enterprise setting xcstrings file as well as other source code will be tracked in a git repository. This means that there are external localization tools via various integrations that directly read/write to this repository. If an enterprise is using an external tool to manage localizations, that tool can directly commit the changes to that xcstrings file without involving a developer or XCode. In fact this is the very reason enterprises uses external tools because not involving developer in every task increases productivity of the company. You might say that you can export/import xcstrings file to other formats like xliff. However, that still involv
May ’24
Reply to What's the non-sandboxed path to Downloads folder on the iPhone
On iOS there’s no supported way to construct paths to items outside of your apps containers. The only supported way to get such paths is to ask the user for them, using the file selection API from the UI framework you’re using. Furthermore, this is a concern: [quote='781930021, delingren, /thread/781930, /profile/delingren'] I know the URL scheme is shareddocuments [/quote] AFAIK this is not a a documented URL scheme. I discuss that topic in more detail in Supported URL Schemes. WARNING Don’t build a product that relies on unsupported implementation details like. It’s very likely that your product will break in future releases of iOS and, if it does, there’s a good chance that there’ll be no path forward for your app. If you’d like us to add a supported mechanism to achieve this goal, I encourage you to file an enhancement request describing your requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Techni
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
After Swift3 conversion: Several compiler errors on one scheme only (in XCode 8)
After Swift 3 conversion I am experiencing a frustrating issue. I have two schemes in my project which both use the same target. On one scheme I can run tests, however on the other scheme I get the following 5 errors:`mach-o linker`, `lipo error`, `ditto error`, `can not parse debug map`, and `segmentation fault 11`Based on various things I found online I have tried:- changing build active architecture to NO / YES- changing debug information format to DWARF / DWARF with dSYM File- hard coded the bridging header path- diffed the Bridging Header (it's the same as before Swift 3)- deleted derived data folder (hundreds of times)- deleted cache folder (hundreds of times)- deep cleaned (hundreds of times)- restarted Xcode- restarted the computer itself- set rwx permissions on the project directory- had other people check my podfile to make sure it's fine- checked target membership of every file in the Tests and KIF targets- Enable Bitcode is already set to No
0
0
407
Sep ’16
Reply to canOpenURL returned an incorrect result in iOS 15 run in Xcode13
I filed a bug report for FB9447186. Thanks. Reading your bug report it seems that you’ve determined that there’s a threshold of 50 URL schemes. Is that right? Honestly, I don’t know what’s up with that. My suggestion is that you open a DTS tech support incident and talk to DTS’s expert in this field. At a minimum, we should be able to find out whether this 50 URL scheme limit is deliberate or not. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Reply to How can I trigger the Full Disk Access prompt to write to a raw block device?
[quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I'm not a Swift coder, but I'd like to be [/quote] Well, you’ve chosen a hard place to start |-: I have a lot to say about this but I want to start by addressing two specific comments: [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I did change Sandbox App to NO in MyApp.entitlements [/quote] Don’t do that. If you don’t want to be sandboxed, remove the App Sandbox capability in the Signing & Capabilities editor. Setting the value to false can cause weird problems (although that’s unlikely to be causing problems for you here). [quote='830567022, coolaj86, /thread/777577?answerId=830567022#830567022, /profile/coolaj86'] using a uri to open system preferences [/quote] That URL scheme changed recently. I have links to docs for it in Supported URL Schemes. [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I always get permission errno 13 (permission denied). [/quote] macOS has multiple l
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
Reply to UI Testing target locale and region settings
Is not via XCODE?XCODE->Product->Scheme->Edit Scheme->Run (left menu)->Options (Tab)->Application Language = English (I could setup to Portuguese (Brazil), but I intend to use the language English.XCODE->Product->Scheme->Edit Scheme->Run (left menu)->Options (Tab)->Application Region = Brazil (here I intend to use Brazillian's regional settings -> 1.200,43)
Apr ’20
Reply to Skip the "Do you want to open ?" Modal
Thank you for sharing your post. To ensure seamless navigation from your Angular web application to your native iOS app via a webclip without user interaction or prompts, Universal Links may be a suitable solution. However, it’s important to note that Apple imposes restrictions on automatic launches of native apps from web content for security reasons. Regarding your mention of using URL Schemes instead of Universal Links, I would like to understand the reasons behind your decision to discontinue using Universal Links? Universal Links Universal Links are designed to open your app directly if it's installed, or fall back to a website if not. This is the most seamless user experience available without dealing with URL schemes and prompts. Ensure your app's entitlements and Apple Developer account are set up correctly to handle Universal Links. If the conditions you mentioned can be checked via deep link parameters, include these in your Universal Link setup. Custom URL Schemes: If Uni
Topic: Community SubTopic: Apple Developers Tags:
Apr ’25
Reply to How to use safaridriver from safari technology preview in selenium grid
We are using: Dictionary<string, object> remoteSafariOptions = new Dictionary<string, object>(); remoteSafariOptions[technologyPreview] = true; safariOptions = new SafariOptions(); safariOptions.AddAdditionalCapability(safari.options, remoteSafariOptions); browser = new RemoteWebDriver(new Uri(seleniumRemoteGridUrl), safariOptions.ToCapabilities());which works fine.
Topic: Safari & Web SubTopic: General Tags:
Sep ’17
Reply to What is, and how would I create a URL scheme for use in an iOS API?
So would something like chiromaster-url-scheme be appropriate?It’s a good start. You definitely want to include the name of your product, which will prevent folks from accidentally reusing the scheme. However, adding -url-scheme is pointless because that’s implicit in the context. Beyond that I agree with Claude31 here: You should see if Square has specific guidance on this topic.WARNING iOS provides no mechanism to ‘vet’ URL schemes. You might declare a custom scheme so that Square can return to your app, but any other app might open a URL with that scheme. If you encode any data in your URL, you must securely parse that data. Failure to do so could result in a malicious app doing bad things.Note URL schemes are officially registered by IANA, although the vast majority of schemes used by developers are not )-:Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskim
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’18
How to open Apple Maps focusing on the services tab ? (URL scheme)
Hi,As explained into this StackOverFlow topic (https://stackoverflow.com/questions/54888856/how-to-open-apple-maps-focusing-on-the-services-tab-url-scheme), I would like to open Apple Maps from my application by using an universal link and to focus the user's view directly on the services tab.After doing a few searches, I thought there was no way to do so and the response I got on StackOverFlow confirmed that.Is it planned to allow the developer to do such thing in the future ? Is there a link I could ask such feature to Apple developers ?I thank you in advance for your time and your response !Best regards,
2
0
674
Feb ’19
AppleWatch send parameter WatchOS App from Url Scheme or Shortcut
I am currently developing an app for Apple Watch. I want to pass a parameter value while calling my Apple Watch app through a shortcut on the Apple Watch. So I thought of url scheme but. I couldn't get this to work on the Apple Watch. So I'm looking for another way. How to create a shortcut that can be executed while passing parameter values to the Apple Watch, In the watchos app, can I call the desired function by receiving the parameter value?
0
0
697
Apr ’23
Sample Partition Scheme driver kext can't load at boot time.
We are implementing a Sample Partition Scheme driver. this is the info.plist IOKitPersonalities SamplePartitionScheme IOKitDebug 0 IOProbeScore 80000 .... IOProviderClass IOMedia IOPropertyMatch Whole our driver match a whole disk IOMedia, If it's our disk, perform read/write on this disk. When we test our driver in macOS12. if the IOMedia is a blank RAW disk, our driver will be loaded at boot time. if the IOMedia has partitions, system partition scheme driver will be loaded at boot time. Pluging in a GUID partition disk on a booted Mac always load our kext. how can our driver match GUID partition disks and load at boot time?
1
0
841
Jan ’22
Reply to Xcode 12.2 Beta 3 on macOS 11 Beta 11: SIGCONT when debugging projects
I'm on Big Sur beta10 and xcode12 beta1. Removing debug executable tick in run-debug scheme page fixed it for me. You can get there by Product->Scheme->edit scheme...
Replies
Boosts
Views
Activity
Nov ’20
Reply to Xcode 15 beta strings catalog
@Developer Tools Engineer - Thank you for answering this question. I do understand that string catalog files are designed to be interfaced by XCode. I would like to also bring your attention that there are other valid and relatively common scenarios where other tools need to read/write to this string catalog file. In an enterprise setting xcstrings file as well as other source code will be tracked in a git repository. This means that there are external localization tools via various integrations that directly read/write to this repository. If an enterprise is using an external tool to manage localizations, that tool can directly commit the changes to that xcstrings file without involving a developer or XCode. In fact this is the very reason enterprises uses external tools because not involving developer in every task increases productivity of the company. You might say that you can export/import xcstrings file to other formats like xliff. However, that still involv
Replies
Boosts
Views
Activity
May ’24
Reply to What's the non-sandboxed path to Downloads folder on the iPhone
On iOS there’s no supported way to construct paths to items outside of your apps containers. The only supported way to get such paths is to ask the user for them, using the file selection API from the UI framework you’re using. Furthermore, this is a concern: [quote='781930021, delingren, /thread/781930, /profile/delingren'] I know the URL scheme is shareddocuments [/quote] AFAIK this is not a a documented URL scheme. I discuss that topic in more detail in Supported URL Schemes. WARNING Don’t build a product that relies on unsupported implementation details like. It’s very likely that your product will break in future releases of iOS and, if it does, there’s a good chance that there’ll be no path forward for your app. If you’d like us to add a supported mechanism to achieve this goal, I encourage you to file an enhancement request describing your requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Techni
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
After Swift3 conversion: Several compiler errors on one scheme only (in XCode 8)
After Swift 3 conversion I am experiencing a frustrating issue. I have two schemes in my project which both use the same target. On one scheme I can run tests, however on the other scheme I get the following 5 errors:`mach-o linker`, `lipo error`, `ditto error`, `can not parse debug map`, and `segmentation fault 11`Based on various things I found online I have tried:- changing build active architecture to NO / YES- changing debug information format to DWARF / DWARF with dSYM File- hard coded the bridging header path- diffed the Bridging Header (it's the same as before Swift 3)- deleted derived data folder (hundreds of times)- deleted cache folder (hundreds of times)- deep cleaned (hundreds of times)- restarted Xcode- restarted the computer itself- set rwx permissions on the project directory- had other people check my podfile to make sure it's fine- checked target membership of every file in the Tests and KIF targets- Enable Bitcode is already set to No
Replies
0
Boosts
0
Views
407
Activity
Sep ’16
Reply to Xcode Cloud: A scheme named "x" does not exist in x.xcodeproj
Seeing the same issue, no visible reason. The scheme clearly exists, project was never renamed, in archive section it has the right scheme selected; though it shows a warning 'The scheme ... may only exist locally...'
Replies
Boosts
Views
Activity
Dec ’23
Reply to canOpenURL returned an incorrect result in iOS 15 run in Xcode13
I filed a bug report for FB9447186. Thanks. Reading your bug report it seems that you’ve determined that there’s a threshold of 50 URL schemes. Is that right? Honestly, I don’t know what’s up with that. My suggestion is that you open a DTS tech support incident and talk to DTS’s expert in this field. At a minimum, we should be able to find out whether this 50 URL scheme limit is deliberate or not. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to How can I trigger the Full Disk Access prompt to write to a raw block device?
[quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I'm not a Swift coder, but I'd like to be [/quote] Well, you’ve chosen a hard place to start |-: I have a lot to say about this but I want to start by addressing two specific comments: [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I did change Sandbox App to NO in MyApp.entitlements [/quote] Don’t do that. If you don’t want to be sandboxed, remove the App Sandbox capability in the Signing & Capabilities editor. Setting the value to false can cause weird problems (although that’s unlikely to be causing problems for you here). [quote='830567022, coolaj86, /thread/777577?answerId=830567022#830567022, /profile/coolaj86'] using a uri to open system preferences [/quote] That URL scheme changed recently. I have links to docs for it in Supported URL Schemes. [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I always get permission errno 13 (permission denied). [/quote] macOS has multiple l
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to UI Testing target locale and region settings
Is not via XCODE?XCODE->Product->Scheme->Edit Scheme->Run (left menu)->Options (Tab)->Application Language = English (I could setup to Portuguese (Brazil), but I intend to use the language English.XCODE->Product->Scheme->Edit Scheme->Run (left menu)->Options (Tab)->Application Region = Brazil (here I intend to use Brazillian's regional settings -> 1.200,43)
Replies
Boosts
Views
Activity
Apr ’20
Reply to Skip the "Do you want to open ?" Modal
Thank you for sharing your post. To ensure seamless navigation from your Angular web application to your native iOS app via a webclip without user interaction or prompts, Universal Links may be a suitable solution. However, it’s important to note that Apple imposes restrictions on automatic launches of native apps from web content for security reasons. Regarding your mention of using URL Schemes instead of Universal Links, I would like to understand the reasons behind your decision to discontinue using Universal Links? Universal Links Universal Links are designed to open your app directly if it's installed, or fall back to a website if not. This is the most seamless user experience available without dealing with URL schemes and prompts. Ensure your app's entitlements and Apple Developer account are set up correctly to handle Universal Links. If the conditions you mentioned can be checked via deep link parameters, include these in your Universal Link setup. Custom URL Schemes: If Uni
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to How to use safaridriver from safari technology preview in selenium grid
We are using: Dictionary<string, object> remoteSafariOptions = new Dictionary<string, object>(); remoteSafariOptions[technologyPreview] = true; safariOptions = new SafariOptions(); safariOptions.AddAdditionalCapability(safari.options, remoteSafariOptions); browser = new RemoteWebDriver(new Uri(seleniumRemoteGridUrl), safariOptions.ToCapabilities());which works fine.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to What is, and how would I create a URL scheme for use in an iOS API?
So would something like chiromaster-url-scheme be appropriate?It’s a good start. You definitely want to include the name of your product, which will prevent folks from accidentally reusing the scheme. However, adding -url-scheme is pointless because that’s implicit in the context. Beyond that I agree with Claude31 here: You should see if Square has specific guidance on this topic.WARNING iOS provides no mechanism to ‘vet’ URL schemes. You might declare a custom scheme so that Square can return to your app, but any other app might open a URL with that scheme. If you encode any data in your URL, you must securely parse that data. Failure to do so could result in a malicious app doing bad things.Note URL schemes are officially registered by IANA, although the vast majority of schemes used by developers are not )-:Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskim
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’18
How to open Apple Maps focusing on the services tab ? (URL scheme)
Hi,As explained into this StackOverFlow topic (https://stackoverflow.com/questions/54888856/how-to-open-apple-maps-focusing-on-the-services-tab-url-scheme), I would like to open Apple Maps from my application by using an universal link and to focus the user's view directly on the services tab.After doing a few searches, I thought there was no way to do so and the response I got on StackOverFlow confirmed that.Is it planned to allow the developer to do such thing in the future ? Is there a link I could ask such feature to Apple developers ?I thank you in advance for your time and your response !Best regards,
Replies
2
Boosts
0
Views
674
Activity
Feb ’19
AppleWatch send parameter WatchOS App from Url Scheme or Shortcut
I am currently developing an app for Apple Watch. I want to pass a parameter value while calling my Apple Watch app through a shortcut on the Apple Watch. So I thought of url scheme but. I couldn't get this to work on the Apple Watch. So I'm looking for another way. How to create a shortcut that can be executed while passing parameter values to the Apple Watch, In the watchos app, can I call the desired function by receiving the parameter value?
Replies
0
Boosts
0
Views
697
Activity
Apr ’23
Reply to SwiftUI MKMapView Crash - queue = 'com.Metal.CompletionQueueDispatch', stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
Solved The Fix seems to be to uncheck the 'Metal API Validation' check box in the product scheme settings. In Xcode go to Product->Scheme->Edit Scheme… On the Diagnostics tab uncheck the 'Metal API Validation' checkbox.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Sample Partition Scheme driver kext can't load at boot time.
We are implementing a Sample Partition Scheme driver. this is the info.plist IOKitPersonalities SamplePartitionScheme IOKitDebug 0 IOProbeScore 80000 .... IOProviderClass IOMedia IOPropertyMatch Whole our driver match a whole disk IOMedia, If it's our disk, perform read/write on this disk. When we test our driver in macOS12. if the IOMedia is a blank RAW disk, our driver will be loaded at boot time. if the IOMedia has partitions, system partition scheme driver will be loaded at boot time. Pluging in a GUID partition disk on a booted Mac always load our kext. how can our driver match GUID partition disks and load at boot time?
Replies
1
Boosts
0
Views
841
Activity
Jan ’22