Search results for

“file uri scheme”

81,725 results found

Post

Replies

Boosts

Views

Activity

iOS 26 Notification Extension open(uri) Fails on Cold Start (LSApplicationWorkspaceErrorDomain Code=115)
I'm experiencing a critical regression on iOS 26 with a Notification Content Extension. extensionContext.open(uri) fails to open external URLs with LSApplicationWorkspaceErrorDomain Code=115 under specific conditions. Problem: When the main app is killed, and a rich push notification is received and expanded, tapping a button (specifically one with a transparent background, cornerRadius=0, clipsToBounds=false) fails to open its associated URL. Key Details: iOS 26 Only: Works perfectly on iOS 17, 18, etc. App Killed State Only: Works if the app is running (foreground/background). Works on Subsequent Notifications: The link will open if a second notification is received. LSApplicationQueriesSchemes: Confirmed to be correctly configured in the main app's Info.plist and present in the app bundle. Delay No Help: Adding a 1s delay before open(uri) does not fix it. My os_log statements confirm the button tap
1
0
208
Nov ’25
Reply to How do I unittest a command line application?
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.
Jul ’22
Reply to Missing StoreKit configuration file option in Xcode
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.
Jul ’25
URL scheme does not always work
Good day team,I've faced s weird problem while updating to xCode 7.3.1.I've registered my URL Scheme to my app but when I launch Safari it works only for the first time, I run it again I got the error:-Invalid AddressThere is a strange walk around I tried and works that I've to refresh Safari page (ex. navigates to http://www.apple.com) then reenter my url scheme again and it works.But I can't launch the app like that.Any suggestions?
0
0
296
Aug ’16
100 schemes xcode starts to have issues
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.
3
0
1k
Jun ’20
Reply to Xcode randomly modifies my scheme content
I don't claim to know what all the XML means but the change happens in my watch app schemes when I switch the selected device between the simulator and a real watch. When I select the simulator, BuildableProductRunnable is in effect but when I select a real watch, RemoteRunnable is in effect. It's almost as if the scheme has to change to allow remote debugging when using a real watch. So the state of the scheme files depends on the device selected when you last built in Xcode.
Dec ’20
No Scheme Created For "Empty" Project
I recently reinstalled Xcode on my mac, and after opening up a new project and selecting empty i was dismayed to fin that i was unable to build and/or run any of my code. Further investigation found that opening up old saved xcode project files stored on an old external hard drive opened fine and could be built and run. I also discovered that opening other types of project (mac os game, external project, etc) would produce schemes for the projects but not when empty project was selected.Am I doing something wrong?
0
0
448
Sep ’16
Getting error using 2 of 3 schemes
I have a few build schemes in my app, they are not much different, but I needed to have different info.plists for each scheme.I created a class to store 2 strings, and made it conform to NSCoding so I could store it and retrieve it from standardUserDefaults.On the 2 schemes that are not working, I get the following error:I am running Xcode 7.2.1 (7C1002)*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Apps_Scheme_Test.UserLocationString) for key (root); the class may be defined in source code or a library that is not linked'The first thing I thought was that I may have not included UserLocationString.swift in the target membership of those schemes. However, those schemes are checked.I also checked the Build Phases and verified that UserLocationString.swift is included in the Compile Sources section.What I did notice, is that is says object of class (App
0
0
381
Mar ’16
Reply to HelloTriangle in Swift: error about depth attachment pixel format
Please refer this Toggle Metal API Validation via your Xcode Scheme: Scheme > Edit Scheme... > Run > Diagnostics > Metal API Validation. It's a checkbox, so the possible options are Enabled or Disabled. Disabling sets the key enableGPUValidationMode = 1 in your .xcscheme file. After disabling, Xcode no longer logs the Metal API Validation Enabled log message. Note: In Xcode 11 and below, the option appears in the Options tab of the Scheme Editor (instead of the Diagnostics tab).
Topic: Graphics & Games SubTopic: General Tags:
Dec ’21
iOS 26 Notification Extension open(uri) Fails on Cold Start (LSApplicationWorkspaceErrorDomain Code=115)
I'm experiencing a critical regression on iOS 26 with a Notification Content Extension. extensionContext.open(uri) fails to open external URLs with LSApplicationWorkspaceErrorDomain Code=115 under specific conditions. Problem: When the main app is killed, and a rich push notification is received and expanded, tapping a button (specifically one with a transparent background, cornerRadius=0, clipsToBounds=false) fails to open its associated URL. Key Details: iOS 26 Only: Works perfectly on iOS 17, 18, etc. App Killed State Only: Works if the app is running (foreground/background). Works on Subsequent Notifications: The link will open if a second notification is received. LSApplicationQueriesSchemes: Confirmed to be correctly configured in the main app's Info.plist and present in the app bundle. Delay No Help: Adding a 1s delay before open(uri) does not fix it. My os_log statements confirm the button tap
Replies
1
Boosts
0
Views
208
Activity
Nov ’25
Reply to How do I unittest a command line application?
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.
Replies
Boosts
Views
Activity
Jul ’22
Reply to Missing StoreKit configuration file option in Xcode
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.
Replies
Boosts
Views
Activity
Jul ’25
Custom URL Scheme for Setting on iOS 10?
Hello Friends.Any Idea what happened to the Setting's Custom URL Scheme on iOS 10?Is Apple still giving acess to third-pary apps to launch iOS Settings from the app via URL Scheme on iOS10? The Old URL scheme are not working anymore! 😟
Replies
9
Boosts
0
Views
22k
Activity
Jun ’16
URL scheme does not always work
Good day team,I've faced s weird problem while updating to xCode 7.3.1.I've registered my URL Scheme to my app but when I launch Safari it works only for the first time, I run it again I got the error:-Invalid AddressThere is a strange walk around I tried and works that I've to refresh Safari page (ex. navigates to http://www.apple.com) then reenter my url scheme again and it works.But I can't launch the app like that.Any suggestions?
Replies
0
Boosts
0
Views
296
Activity
Aug ’16
100 schemes xcode starts to have issues
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.
Replies
3
Boosts
0
Views
1k
Activity
Jun ’20
URL Scheme to open Music.app’s now-playing
We can open the music app with the URL Scheme music://, but I couldn't figure out a URL scheme to open the now-playing interface. Would be useful for directly opening the music.app now-playing interface from my app.
Replies
0
Boosts
0
Views
1.5k
Activity
Aug ’22
xcworkspace app unable to build scheme disappear
I recently tried to build my app by opening xcworkspace, but noticed that my app scheme with app icon have disappeared and only pod scheme remains. Also, the icon of my xcworkspace have changed from the apple icon to the folder icon, can no longer access the general settings page please send help
Replies
0
Boosts
0
Views
436
Activity
Jul ’21
Reply to Xcode randomly modifies my scheme content
I don't claim to know what all the XML means but the change happens in my watch app schemes when I switch the selected device between the simulator and a real watch. When I select the simulator, BuildableProductRunnable is in effect but when I select a real watch, RemoteRunnable is in effect. It's almost as if the scheme has to change to allow remote debugging when using a real watch. So the state of the scheme files depends on the device selected when you last built in Xcode.
Replies
Boosts
Views
Activity
Dec ’20
No Scheme Created For "Empty" Project
I recently reinstalled Xcode on my mac, and after opening up a new project and selecting empty i was dismayed to fin that i was unable to build and/or run any of my code. Further investigation found that opening up old saved xcode project files stored on an old external hard drive opened fine and could be built and run. I also discovered that opening other types of project (mac os game, external project, etc) would produce schemes for the projects but not when empty project was selected.Am I doing something wrong?
Replies
0
Boosts
0
Views
448
Activity
Sep ’16
Getting error using 2 of 3 schemes
I have a few build schemes in my app, they are not much different, but I needed to have different info.plists for each scheme.I created a class to store 2 strings, and made it conform to NSCoding so I could store it and retrieve it from standardUserDefaults.On the 2 schemes that are not working, I get the following error:I am running Xcode 7.2.1 (7C1002)*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Apps_Scheme_Test.UserLocationString) for key (root); the class may be defined in source code or a library that is not linked'The first thing I thought was that I may have not included UserLocationString.swift in the target membership of those schemes. However, those schemes are checked.I also checked the Build Phases and verified that UserLocationString.swift is included in the Compile Sources section.What I did notice, is that is says object of class (App
Replies
0
Boosts
0
Views
381
Activity
Mar ’16
Reply to localization: "Include Screenshots" grayed out
Have you tried any setup in your application scheme settings under Test? You must change it to add the .xctestplan file.
Replies
Boosts
Views
Activity
Apr ’20
Reply to Warning when setting up actions for a workflow
Nevermind. Please be sure to not only see the scheme file in xcshareddata, but also that it is in the repository (as the warning stated 🤦🏻‍♂️). If needed — adjust your .gitignore file contents.
Replies
Boosts
Views
Activity
Nov ’21
url scheme for iTunes movies/shows
Has anyone been able to deep link into the iTunes movies or iTunes shows to bring up a particular item?The current iTunes url scheme does not seem to be working.
Replies
1
Boosts
0
Views
791
Activity
Sep ’15
Reply to HelloTriangle in Swift: error about depth attachment pixel format
Please refer this Toggle Metal API Validation via your Xcode Scheme: Scheme > Edit Scheme... > Run > Diagnostics > Metal API Validation. It's a checkbox, so the possible options are Enabled or Disabled. Disabling sets the key enableGPUValidationMode = 1 in your .xcscheme file. After disabling, Xcode no longer logs the Metal API Validation Enabled log message. Note: In Xcode 11 and below, the option appears in the Options tab of the Scheme Editor (instead of the Diagnostics tab).
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21