Search results for

“file uri scheme”

81,721 results found

Post

Replies

Boosts

Views

Activity

Scheme is not currently configured for the build action.
In the Resolve package dependencies step I see this error occur: Scheme is not currently configured for the build action. I cannot reproduce locally. When I run the command: xcodebuild -resolvePackageDependencies it finishes fine. I'm on Xcode 13.4.1 and MacOS 12.4.1 Other things I've tried: Verified scheme is in the workspace (not the project) Deleted all schemes and auto created schemes again Recreating the build action in the scheme Enabled all actions in the scheme
5
0
5.3k
Sep ’22
TARGET_OS_IOS evalutes to 0 when using iOS scheme
In a cross-platform project (iOS/macOS) some files are shared between platforms i.e. they have the Target Membership checkbox set for both the iOS and the OS X target. But TARGET_OS_IOSevaluates to 0 in both the iOS and the OS X scheme. Consequently, TARGET_OS_OSX evaluates to 1 in both schemes. A cmd-click on the macro opens TargetConditionals.h in the OS X SDK for both schemes.Only when I remove the OS X checkbox under Target Membership, both macros evaluate correctly in both schemes.When I copy the complete project folder over to another user on the same machine, some of the files suddenly work correctly, but not all of them !?!?!Does anybody know what's going on? I made a clean Xcode re-install just before I started this new project.
0
0
2.1k
Nov ’16
Add Siri Shortcut with URL Scheme
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.
1
0
758
Nov ’20
Reply to Swift Package Tests in Test Plan: “Module was not compiled for testing”
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.
Oct ’22
Does iBooks support URL Scheme?
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
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
1.4k
May ’17
Xcode creates schemes for some referenced Swift Packages
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.
3
0
2.5k
Sep ’22
Incorrect URL scheme format
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.
1
0
395
Jul ’16
Xcode12.4 schemes auto-creation degradation
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.
0
0
431
Jun ’21
Using Settings.app URL scheme
Hi all!We're going to let users launch Settings.app from our application, so is it possible to add URL scheme prefs to our application URL types?Is it private API or not? Will we get rejected in AppStore review for using that?let url = NSURL(string: prefs:root=Settings) UIApplication.sharedApplication().openURL(url!)
Topic: UI Frameworks SubTopic: UIKit Tags:
7
0
10k
Oct ’15
Managing multiple schemes, environments and teams
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
0
0
1k
Oct ’16
Reply to Invalid redirect_uri in Apple sign in
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:
Nov ’22
Scheme is not currently configured for the build action.
In the Resolve package dependencies step I see this error occur: Scheme is not currently configured for the build action. I cannot reproduce locally. When I run the command: xcodebuild -resolvePackageDependencies it finishes fine. I'm on Xcode 13.4.1 and MacOS 12.4.1 Other things I've tried: Verified scheme is in the workspace (not the project) Deleted all schemes and auto created schemes again Recreating the build action in the scheme Enabled all actions in the scheme
Replies
5
Boosts
0
Views
5.3k
Activity
Sep ’22
Reply to Project Won't Build with .h File
I got a version of XCode from December when I installed this version using Time Machine. This doesn't help. Since the analyzer thinks that the .h files aren't in the scheme I deleted the scheme and built a new one. No help either.
Replies
Boosts
Views
Activity
Jun ’23
TARGET_OS_IOS evalutes to 0 when using iOS scheme
In a cross-platform project (iOS/macOS) some files are shared between platforms i.e. they have the Target Membership checkbox set for both the iOS and the OS X target. But TARGET_OS_IOSevaluates to 0 in both the iOS and the OS X scheme. Consequently, TARGET_OS_OSX evaluates to 1 in both schemes. A cmd-click on the macro opens TargetConditionals.h in the OS X SDK for both schemes.Only when I remove the OS X checkbox under Target Membership, both macros evaluate correctly in both schemes.When I copy the complete project folder over to another user on the same machine, some of the files suddenly work correctly, but not all of them !?!?!Does anybody know what's going on? I made a clean Xcode re-install just before I started this new project.
Replies
0
Boosts
0
Views
2.1k
Activity
Nov ’16
Add Siri Shortcut with URL Scheme
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.
Replies
1
Boosts
0
Views
758
Activity
Nov ’20
Reply to Limits on the MSMessage URL string Length
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:
Replies
Boosts
Views
Activity
Aug ’16
Reply to Swift Package Tests in Test Plan: “Module was not compiled for testing”
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.
Replies
Boosts
Views
Activity
Oct ’22
Does iBooks support URL Scheme?
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
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
0
Boosts
0
Views
1.4k
Activity
May ’17
Xcode creates schemes for some referenced Swift Packages
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.
Replies
3
Boosts
0
Views
2.5k
Activity
Sep ’22
Incorrect URL scheme format
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.
Replies
1
Boosts
0
Views
395
Activity
Jul ’16
Xcode12.4 schemes auto-creation degradation
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.
Replies
0
Boosts
0
Views
431
Activity
Jun ’21
URL Scheme For Apple Developer App
In our App we have a need to open Apple Developer App from our iOS App to guide user to Developer App. But looks like there is no confirmed URL Scheme provided. Can you help on this.
Replies
2
Boosts
0
Views
182
Activity
Oct ’25
Using Settings.app URL scheme
Hi all!We're going to let users launch Settings.app from our application, so is it possible to add URL scheme prefs to our application URL types?Is it private API or not? Will we get rejected in AppStore review for using that?let url = NSURL(string: prefs:root=Settings) UIApplication.sharedApplication().openURL(url!)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
7
Boosts
0
Views
10k
Activity
Oct ’15
Managing multiple schemes, environments and teams
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
Replies
0
Boosts
0
Views
1k
Activity
Oct ’16
Reply to Invalid redirect_uri in Apple sign in
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:
Replies
Boosts
Views
Activity
Nov ’22
URL scheme of shortcut app on Watch
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.
Replies
0
Boosts
0
Views
937
Activity
Oct ’20