I've found that you can add a Siri Shortcut using the following scheme... shortcuts://create-shortcut However I'd like to pass it parameters to fill in the shortcut so that the user just has to click add/done/accept to add the shortcut to their Shortcuts app. I've tried to find documentation about the URL scheme and if it can be sent any parameters but this is all I have found so far... https://support.apple.com/en-ca/guide/shortcuts/apda283236d7/ios Hoping someone can point me in the right direction.
Search results for
file uri scheme
78,499 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
https://developer.apple.com/reference/messages/msmessage/1649739-urlThe URL property must use an http, https, or file scheme. Custom app schemes are not supported. Additionally, the URL cannot be longer than 5,000 characters.
Topic:
App & System Services
SubTopic:
General
Tags:
Hi All,Does iBooks (macOS version) support URL Scheme? I checked and found ibook:// could open iBooks. Is there any more actions support? e.g., ibooks://open?bookId=123&location=456 to open book with id of '123' and jump to location of '456'?I google a lot and didn't found any useful information. Any suggestion, welcomed, thanks in advanced for your help.BR,Jason
I use the following entry in Info.plist to make the program handle the tidal url scheme, but it launches the program without the URL itself. The entry is: keyCFBundleURLTypes/key array dict keyCFBundleTypeRole/key stringViewer/string keyCFBundleURLName/key stringorg.strawberrymusicplayer.strawberry/string keyCFBundleURLSchemes/key array stringtidal/string /array /dict /array Full Info.plist here: https://github.com/strawberrymusicplayer/strawberry/blob/master/dist/macos/Info.plist.in The URL looks like this: tidal://login/auth With the url parameters that contains the authorization code, the total length is 692 characters. It works fine on Linux and Windows, but not on macOS. I've tested both with Safari and Firefox. Is the URL perhaps too long?
This is once again about that Lunch Card app. There's a section in my app's settings that controls the appearance - color scheme, if you will - of the whole app. The three options are System Default Light Dark The picker is set up, and it works as normal, but what would I specify the action of these buttons to be to force a certain color scheme, whether that be dark, light, or auto. Here's the code for where the picker is: struct SettingsView: View { @State private var selectedAppearance = 1 var body: some View { // ... Picker(selection: $selectedAppearance, label: Text(Appearance)) { Button(action: { // Change app color scheme to be auto }) { Text(System Default) }.tag(1) Button(action: { // Change app color scheme to be light }) { Text(Light) }.tag(2) Button(action: { // Change app color scheme to be dark }) { Text(Dark) }.tag(3) } // ... }
Hello,We have quite a complex setup with a lot of different environments, quite a few schemes, and two different teams for the same app. The different environments are basically different backends (and therefore different URLs to use).We have struggled quite a bit with getting a smooth setup which is easy to manage. Right now, we have:Targets:- The app itself- Watch- WidgetTeams:- App Store team (used to publish the app to app store)- Enterprise team (used to ease testing. This is a large corporation with new testing devices being added constantly)Schemes:- Development (App Store team)- Test 1 (Enterprise team)- Test 2 (Enterprise team)- Staging (Enterprise team)- Production (App Store team)There are a number of issues with this setup:1. When switching scheme, we would like to automatically change the team for all targets. We have tried to do this with pre-build scripts, but it does not really seem to work.2. As we only have one target, we only have one bundle ID. Ideally, we would
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
The critical piece in making this work is ensuring you choose the correct reference to your .xctestplan file within your scheme configuration. I was running into the same errors after wanting to find a way to bundle both my app's unit testing target and multiple .testTargets included in a local SPM package into a single scheme / .xctestplan so that my build machine could run using a single scheme and hit all targets at once. Within the directory of your Xcode project, your .xctestplan file can live wherever you'd like it to (I like to keep mine within a Test Plans folder within the target folder - just make sure that you add the file as a reference within your project as well). Then open the .xctestplan file and under the Tests tab, use the + icon to add all of the test targets you want (can be from either the app's target list or the local SPM packages). Open the Edit Scheme... menu for your scheme and pull up the tests section.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode always creates targets /schemes for referenced Swift packages. In my app there are 14 Swift packages that are referenced. My app itself has two targets (app and an auto launcher) and Xcode creates targets for two schemes. I don't understand why those schemes are created (and why not for every package). Is there any way to disable this feature? Can someone explain why Xcode creates schemes for referenced Swift packages? I deleted the schemes several times, but Xcode simply recreates them.
What is the custom scheme of the shortcut app on the Watch? iOS app has shortcuts://, but it doesn't work on Watch :( I want to open it from Link in SwiftUI.
If anyone finds this post and is using Azure AD B2C for Oauth2/OIDC and you're getting the Invalid request invalid web redirect uri error, you need two redirect URLs that point to your Azure AD B2C tenant. The redirect URI config is under the ServiceID configuration in developer.apple.com https://yourorg.b2clogin.com//oauth2/authresp https://yourorg.b2clogin.com//oauth2/authresp
Topic:
App & System Services
SubTopic:
General
Tags:
You make no mention of where you are looking in Xcode for the option. First, you need to add the StoreKit configuration file to your project properly. Use Xcode -> File -> New -> File from template... Then on the template screen, scroll down to the Other section and select StoreKit Configuration File. Once that file is setup, you make use of it by going to Xcode -> Product -> Scheme -> Edit Scheme. Then select the Run/Debug tab on the left. Then select the Options tab on the right. There you will see the StoreKit Configuration option where you can select the configuration file you created as described above.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Create a new Unit Test Bundle target, File -> New Target ... -> Unit Test Bundle Add the target as a test target to your Command Line Tool scheme, Product -> Scheme -> Edit Scheme ... Select the Test action in the left hand list Add New Test Target by clicking at the + at the bottom left area of the dialog window Now you can Product -> Test your app.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I'm trying to publish an app I made using Aquafadas. When I try to upload my binary, I get the message theat my URL scheme is in the incorrect format, but I can't find that anywhere. I looked through all my setup in Aqaufadas and can't find it. Would this be something I accidentally set in iTunes connect? I'm stumped.
Hello there, I have worked for about 3 companies that did white label development. To get customer facing applications, for companies that could not afford to build their own apps. Like all the colleges or all the real estate brokerages. So I have been making a new scheme for each of my new customers. This allows them to have their own assets, UI flow, colors etc.. What I have noticed is around my 100th customer. xCode starts to exhibit some odd and slow behavior. Is there a better way? Maybe one Scheme, where I could run a script on at run time? Any feedback would be greatly appreciated.
Hello, We moved from Xcode10 to Xcode12.4, to port our applications for M1. One degradation that we experience is that Xcode12.4 isn't creating schemes for all targets with identical names. We work with large Xcode projects that contain other projects in them and many of them have targets with the same names, for example Target_X. When opening a project like I mentioned in Xcode12.4, only one random Target_X scheme is generated while opening the same project in Xcode10.3 will generate all Target_X(project name) schemes from all the included projects in the opened one. Please consult, Thanks.