Search results for

“file uri scheme”

84,440 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
366
Nov ’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
309
Aug ’16
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
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
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
1.1k
Jun ’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
462
Sep ’16
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
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
395
Mar ’16
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
366
Activity
Nov ’25
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
962
Activity
Oct ’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.6k
Activity
Aug ’22
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
309
Activity
Aug ’16
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
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
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
1.1k
Activity
Jun ’20
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
444
Activity
Jul ’21
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
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
462
Activity
Sep ’16
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
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
395
Activity
Mar ’16
Query parameters when opening a URL with custom scheme
In iOS 10 using a custom URL scheme for inter-app communication, how secure are query parameters? I want to pass an account id string from one app to another using a custom scheme, but want to make sure the account id isn't visible to anything in transit.
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’17
Reply to App crashes at launch on missing symbol AVPlayerView... except on first launch
In case others come here and don't look at the comments: Apple has acknowledged this as a bug. Fortunately, there is a workaround: Go to the scheme, say Edit Scheme. Go to Run (Debug) and find the checkbox for View Debugging and deactivate it. But please file a Feedback on this. In it, you can refer to my report: FB15492822
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24