Search results for

“file uri scheme”

84,459 results found

Post

Replies

Boosts

Views

Activity

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
How to format the start and end time in iOS URL schemes in Shortcuts
I created a shortcut 'Add New Event' on my iPad. I need to automate the start and end time, so I use the iOS shortcuts URL schemes. I asign date variable to the start time and end time. Here's the URL I wrote for a start time 2024-01-01-06:00:00 and end time 2024-01-01-07:00:00 shortcuts://run-shortcut?name=Addevent&input=2024-01-01T06:00:00 I can't figure out how to properly write the end time so the URL will get me open the iOS calendar to create an event with a specified start and end time. I wanted to attach an image of the shortcut I created on iPad, but it won't allow me. You can view the image here. https://drive.google.com/file/d/1PIVAjg9Cta2SQr7eUMEpBSrZJpORVaMK/view?usp=sharing note: I actually just need the end time an hour later than the start time. so if there's a better solution, please feel free to comment.
0
0
655
Jun ’23
Reply to multi language swiftUI app not working
From the screenshot, it looks like you manually created .lproj groups in Xcode. Instead, can you try keeping just one Localizable.strings file and then using the Localizations inspector on the right to vary the file for each language? Xcode will automatically create .lproj folders for you on disk and in the built application. You can then use the Options tab of the scheme editor to run the application in Chinese, Simplified.
Aug ’22
Xcode schemes and targets messed up
I was having trouble with Xcode and it was telling me that multiple versions of derived data were being produced and I could not build the project. I started to mess around with some build settings and finally got the issue fixed and the project built. However, now when I run the project on my iPhone, my app icon does not appear and the app crashed immediately with the error: Could not find a storyboard named 'Main' in bundle NSBundleI realized that something was wrong with my project. Something looks different on the sidebar now, and when I click on my actual Xcode project, it does not show me the general information like normal.Instead, it shows me the general information in under the Target Hostend instead of the project like it usually would. Also, my Assets.xcassets, my Main.storyboard, and any of my other files don't have the Target Membership checkbox checked for my target, and I cannot enable it because it is grayed out.What is happening with my project and how can I fix this? I'm really stuc
3
0
8.8k
Sep ’19
Reply to Content Steering Error in Handling Steering Manifest
Thank you for the fast reply! I removed the aws pathway as suggested, but the error remains. I've validated the playlists and verified that I can play the media from both the azure and edge CDNs. In fact, I can switch between the CDNs using content steering as long as both pathway ids are specified in the manifest. For example, using manifest #EXTM3U #EXT-X-CONTENT-STEERING:SERVER-URI=https://example.com/content-steering?switching=true,PATHWAY-ID=azure #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS=avc1.64001e,mp4a.40.2,PATHWAY-ID=azure https://azure.com/contentsteering/stream_0/stream.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS=avc1.64001e,mp4a.40.2,PATHWAY-ID=edge https://edge.com/contentsteering/stream_0/stream.m3u8 and steering manifest { VERSION: 1, TTL: 10, RELOAD-URI: https://example.com/content-steering?&switching=true, PATHWAY-PRIORITY: [ edge, azure, aws ], PATHWAY-CLONES: [] } (It works with and without aws in the priority list, even thoug
Topic: Media Technologies SubTopic: Streaming Tags:
Dec ’22
Reply to XCODE SwiftUI Preview
My suggestion then would be to: create a framework to host the View and PreviewProviders create a dummy app to be used for previews have both your real app and the dummy app link the framework when attempting to use previews select the dummy app as your active scheme I believe that should cause the previews system to use the dummy app as the context to render the previews. If that does not work, then another (perhaps easier?) workaround is to skip the framework part and just include the file with the View in both apps and again select the dummy app as the active scheme before attempting to preview.
Oct ’21
Reply to YouTube play video using app?
tvOS does support Custom URL Schemes, but support for a given scheme is up to the individual developer creating the app that will host said scheme. You will need to get in touch with the developer of the app you wish to interact with to determine if they will support the use case on tvOS.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Change Sign In With Apple button style based on current color scheme
I'm having some issues with SwiftUI's SignInWithAppleButton's signInWithAppleButtonStyle. I am trying to change the color of the button based on the user's current scheme or if it changes. This is iOS 14 and SwiftUI: @Environment(.colorScheme) var currentScheme @State var appleButtonWhite = false VStack{ SignInWithAppleButton( tttttttt.signUp, ttttttttonRequest: { request inttttttt ttttttttttrequest.requestedScopes = [.fullName, .email] tttttttt}, ttttttttonCompletion: { result in ttttttttttswitch result { ttttttttttcase .success (let authResults): ttttttttttttprint(Authorization successful.) ttt ttttttttttcase .failure (let error): ttttttttttttprint(Authorization failed: + error.localizedDescription) tttttttttt} tttttttt} tttttt) tttttt.frame(minWidth: 0, maxWidth: .infinity) tttttt.signInWithAppleButtonStyle(appleButtonWhite ? .white : .black) } .onChange(of: currentScheme, perform: { (scheme) in ttttif scheme == .light tttt{ ttttttappleButtonWhite = false tttt} ttttelse tttt{ tt
2
0
2.4k
Dec ’20
How to Handle Custom URL Scheme Fallback Gracefully in iOS Safari
We use a direct link mechanism in our app that attempts to open the app if it's already installed; otherwise, it redirects the user to the App Store. However, when the app is not installed, Safari displays an alert saying: Safari cannot open the page because the address is invalid. This popup appears to be caused by attempting to open a custom URL scheme that doesn't resolve. what is the recommendation from apple to have a smooth transition to our mobile App Here’s a sample link we’re using: https://new.oneclear.com/Asset/fe5f7fb6-205a-40f8-9efe-71678361aa2c?t=NTA0NQ==
Topic: Safari & Web SubTopic: General Tags:
1
0
204
Aug ’25
Reply to Using CoreData entity in SwiftUI view
Thank you, so now I have something like this var meeting: Meeting But the PreviewProvider now says it is missing an argument for the parameter 'meetings'. How do I initialize some dummy data for the preview if the data is in CoreData? I have 'meetingName' of type string, 'meetingLink' of type URI, and 'meetingTime' of type Date. Thank you!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’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
How to format the start and end time in iOS URL schemes in Shortcuts
I created a shortcut 'Add New Event' on my iPad. I need to automate the start and end time, so I use the iOS shortcuts URL schemes. I asign date variable to the start time and end time. Here's the URL I wrote for a start time 2024-01-01-06:00:00 and end time 2024-01-01-07:00:00 shortcuts://run-shortcut?name=Addevent&input=2024-01-01T06:00:00 I can't figure out how to properly write the end time so the URL will get me open the iOS calendar to create an event with a specified start and end time. I wanted to attach an image of the shortcut I created on iPad, but it won't allow me. You can view the image here. https://drive.google.com/file/d/1PIVAjg9Cta2SQr7eUMEpBSrZJpORVaMK/view?usp=sharing note: I actually just need the end time an hour later than the start time. so if there's a better solution, please feel free to comment.
Replies
0
Boosts
0
Views
655
Activity
Jun ’23
Reply to Why can I test Widget on simulator but not physical device?
Figured it out - needed to run the main target scheme, not the widgetextension scheme, oddly enough.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Memory leak? on Sample code
Self-solving! change below: product->Scheme->Edit Scheme: GPU frame capture : Disabled
Replies
Boosts
Views
Activity
Sep ’20
Reply to Xcode 12 is slow when launching apps (even sample projects)
This worked for xcode - 12.2 beta and IOS 14.2 Untick Debug executable from below paths worked for me. Product -> Scheme -> Edit scheme -> Select Run (left column) -> untick Debug executable Product -> Scheme -> Edit scheme -> Select Test (left column) -> untick Debug executable Then close and run again.
Replies
Boosts
Views
Activity
Nov ’20
Reply to ASWebAuthenticationSession's callbackURLScheme crash
Hi, had the same issue. The solution in my case was to create a new additional scheme only for authentication purpose e.g. myappauth Don't forget to add the scheme to your Info.plist (URL types - URL Schemes) Regards, Vlad
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to multi language swiftUI app not working
From the screenshot, it looks like you manually created .lproj groups in Xcode. Instead, can you try keeping just one Localizable.strings file and then using the Localizations inspector on the right to vary the file for each language? Xcode will automatically create .lproj folders for you on disk and in the built application. You can then use the Options tab of the scheme editor to run the application in Chinese, Simplified.
Replies
Boosts
Views
Activity
Aug ’22
Xcode schemes and targets messed up
I was having trouble with Xcode and it was telling me that multiple versions of derived data were being produced and I could not build the project. I started to mess around with some build settings and finally got the issue fixed and the project built. However, now when I run the project on my iPhone, my app icon does not appear and the app crashed immediately with the error: Could not find a storyboard named 'Main' in bundle NSBundleI realized that something was wrong with my project. Something looks different on the sidebar now, and when I click on my actual Xcode project, it does not show me the general information like normal.Instead, it shows me the general information in under the Target Hostend instead of the project like it usually would. Also, my Assets.xcassets, my Main.storyboard, and any of my other files don't have the Target Membership checkbox checked for my target, and I cannot enable it because it is grayed out.What is happening with my project and how can I fix this? I'm really stuc
Replies
3
Boosts
0
Views
8.8k
Activity
Sep ’19
Reply to Content Steering Error in Handling Steering Manifest
Thank you for the fast reply! I removed the aws pathway as suggested, but the error remains. I've validated the playlists and verified that I can play the media from both the azure and edge CDNs. In fact, I can switch between the CDNs using content steering as long as both pathway ids are specified in the manifest. For example, using manifest #EXTM3U #EXT-X-CONTENT-STEERING:SERVER-URI=https://example.com/content-steering?switching=true,PATHWAY-ID=azure #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS=avc1.64001e,mp4a.40.2,PATHWAY-ID=azure https://azure.com/contentsteering/stream_0/stream.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS=avc1.64001e,mp4a.40.2,PATHWAY-ID=edge https://edge.com/contentsteering/stream_0/stream.m3u8 and steering manifest { VERSION: 1, TTL: 10, RELOAD-URI: https://example.com/content-steering?&switching=true, PATHWAY-PRIORITY: [ edge, azure, aws ], PATHWAY-CLONES: [] } (It works with and without aws in the priority list, even thoug
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to XCUITest Failure - Error: activate application (current state: Running Background)
Can you try this with the most recent version of Xcode? What platform / OS is this on? Have you tried disabling the debugger in the Test action of your scheme? If you're still seeing this in recent versions of Xcode, please file a Feedback Report if you can, and attach the result bundle from a run that failed like this.
Replies
Boosts
Views
Activity
Aug ’21
Reply to XCODE SwiftUI Preview
My suggestion then would be to: create a framework to host the View and PreviewProviders create a dummy app to be used for previews have both your real app and the dummy app link the framework when attempting to use previews select the dummy app as your active scheme I believe that should cause the previews system to use the dummy app as the context to render the previews. If that does not work, then another (perhaps easier?) workaround is to skip the framework part and just include the file with the View in both apps and again select the dummy app as the active scheme before attempting to preview.
Replies
Boosts
Views
Activity
Oct ’21
Reply to YouTube play video using app?
tvOS does support Custom URL Schemes, but support for a given scheme is up to the individual developer creating the app that will host said scheme. You will need to get in touch with the developer of the app you wish to interact with to determine if they will support the use case on tvOS.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Change Sign In With Apple button style based on current color scheme
I'm having some issues with SwiftUI's SignInWithAppleButton's signInWithAppleButtonStyle. I am trying to change the color of the button based on the user's current scheme or if it changes. This is iOS 14 and SwiftUI: @Environment(.colorScheme) var currentScheme @State var appleButtonWhite = false VStack{ SignInWithAppleButton( tttttttt.signUp, ttttttttonRequest: { request inttttttt ttttttttttrequest.requestedScopes = [.fullName, .email] tttttttt}, ttttttttonCompletion: { result in ttttttttttswitch result { ttttttttttcase .success (let authResults): ttttttttttttprint(Authorization successful.) ttt ttttttttttcase .failure (let error): ttttttttttttprint(Authorization failed: + error.localizedDescription) tttttttttt} tttttttt} tttttt) tttttt.frame(minWidth: 0, maxWidth: .infinity) tttttt.signInWithAppleButtonStyle(appleButtonWhite ? .white : .black) } .onChange(of: currentScheme, perform: { (scheme) in ttttif scheme == .light tttt{ ttttttappleButtonWhite = false tttt} ttttelse tttt{ tt
Replies
2
Boosts
0
Views
2.4k
Activity
Dec ’20
How to Handle Custom URL Scheme Fallback Gracefully in iOS Safari
We use a direct link mechanism in our app that attempts to open the app if it's already installed; otherwise, it redirects the user to the App Store. However, when the app is not installed, Safari displays an alert saying: Safari cannot open the page because the address is invalid. This popup appears to be caused by attempting to open a custom URL scheme that doesn't resolve. what is the recommendation from apple to have a smooth transition to our mobile App Here’s a sample link we’re using: https://new.oneclear.com/Asset/fe5f7fb6-205a-40f8-9efe-71678361aa2c?t=NTA0NQ==
Topic: Safari & Web SubTopic: General Tags:
Replies
1
Boosts
0
Views
204
Activity
Aug ’25
Reply to Using CoreData entity in SwiftUI view
Thank you, so now I have something like this var meeting: Meeting But the PreviewProvider now says it is missing an argument for the parameter 'meetings'. How do I initialize some dummy data for the preview if the data is in CoreData? I have 'meetingName' of type string, 'meetingLink' of type URI, and 'meetingTime' of type Date. Thank you!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’21