Search results for

“file uri scheme”

81,733 results found

Post

Replies

Boosts

Views

Activity

Open iOS app from another app without URL scheme
Hi,I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?As i have already published apps and there were no URL scheme mentioned, and it is some how app dependent and URL scheme needs to be mentioned in each and every app.And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.Any help would be great.Thanks
4
0
19k
Jul ’17
Reply to How to open "Driver Extensions" on macOS 15 by using objective-C
Right. And that leads you to the last paragraph of Supported URL Schemes. That is, if there’s no documented way to achieve this goal, you should file an enhancement request for such a mechanism. That’s kinda the whole point of my Supported URL Schemes post. You can’t just cons up your own URL that happens to work, because if it’s not documented then it’s an implementation detail that you can’t rely on. If you do file an ER, please post the bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Oct ’24
Reply to Xcode creates schemes for some referenced Swift Packages
This is indeed undesirable behavior. I'm not sure whether Apple is aware but you should file a feedback for it. In the meantime, there's a workaround you can propose to your third party libraries' maintainers to adopt, and it consists on using an xcworkspace as the scheme container as opposed to .swiftpm. Example: https://github.com/sideeffect-io/AsyncExtensions/pull/29. As I said, unfortunately this is up to the maintainers to adopt, not you, as Xcode reads the checked in .swiftpm folder from your dependencies and grabs the schemes from there without you having a say in it. Again, probably undersirable behavior and an oversight from the Xcode team, so worth filing a radar.
Nov ’22
Reply to Strange behavior from FileManager.getRelationship(_:of:in:to)
I’m not sure if anything else is going on here but your isInTrash(…) function has a serious bug. Specifically, this code is incorrect: guard let fileURL = URL(string: file) else { You should be using init(fileURLWithPath:). What you’re constructing here is as scheme-less URL that just contains a path. While you want is a URL with the file scheme. Consider: import Foundation let u1 = URL(fileURLWithPath: /Users/quinn/Test) let u2 = URL(string: /Users/quinn/Test)! print(u1) // file:///Users/quinn/Test/ print(u2) // /Users/quinn/Test Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Dec ’21
Reply to mediastreamvalidator always signals 'unsupported sudo track codec' with AES sample encrypted streams
Hi, I have also observed the same error Unsupported audio track codec: Unknown for the below unencrypted playlist when i run with media stream validator (version - v1.20.7). Unsupported audio track codec: Unknown Rendition #5 Below is the playlist; #EXTM3U #EXT-X-VERSION:5 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-ac3,LANGUAGE=en,NAME=English,AUTOSELECT=YES,CHANNELS=6,URI=var7031966/aud135/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-aac,LANGUAGE=mul,NAME=Multiple,AUTOSELECT=YES,CHANNELS=2,URI=var7031966/aud138/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-aac,LANGUAGE=ang,NAME=Old English,AUTOSELECT=YES,CHANNELS=2,URI=var7031966/aud139/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,LANGUAGE=en,NAME=English,AUTOSELECT=YES,URI=subs/eng_2/playlist.m3u8?device_profile=hl s #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=6700000,CODECS=ac-3,avc1.64002a,RESOLUTION=1920x1080,AUDIO=a
Topic: Media Technologies SubTopic: Streaming Tags:
Aug ’23
Reply to Xcode 13 or iOS15 BUG?
If your app is linked on or after iOS 9.0, you must declare the URL schemes you pass to this method by adding the LSApplicationQueriesSchemes key to your app's Info.plist file. This method always returns false for undeclared schemes, whether or not an appropriate app is installed. Apps linked on or after iOS 15 are limited to a maximum of 50 entries in the LSApplicationQueriesSchemes key. https://developer.apple.com/documentation/uikit/uiapplication/1622952-canopenurl
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’22
ui testing - custom url scheme
Hi,I was wondering how we can test opening a custom url within an XCTestCase while performing UI testing. I am trying:// this custom url is registered within the application let customURL = NSURL(string: foo://localhost/doSomething let sharedApp = UIApplication.sharedApplication() let fileURL = // an NSURL file path UIPasteboard.generalPasteboard().setValue(fileURL, forPasteboardType: com.foo) XCTAssert(sharedApp.canOpenURL(customURL!), cannot open url) // this passes let status = sharedApp.openURL(customURL!) XCTAssert(status, did not open url) // this does NOT passcanOpenURL passes, but openURL does not succeed. Furthermore, the openURL delegate method in my application is never called. In the above snippet, I am also pasting a URL to the paste board because I am trying to open this test data file which was why I decided to try this with a custom URL.Any one have any ideas? Am I not approaching this correctly? I was trying to use an .xcappdata file but since that file loa
3
0
2.5k
Sep ’15
Reply to Preview crashes consistency in Xcode 16 beta
Posted in July, and filed Feedback about it with Apple. After some back and forth they said **Thank you so much for providing the built products! We’ve identified that object files for this project are built as universal. There’s a known issue with the new Previews execution mode that projects built in debug mode as universal can run into this exact error. We’re working on a fix. But in the meantime can you check your scheme build settings? Open up the scheme editor by choosing the “Product > Scheme > Edit Scheme” menu item. Click on the “Build” sidebar tap in the modal window. You should see a control in the middle labeled Override Architectures. We’re pretty sure you have yours set to Universal. If you set that to “Match Run Destination” then your debug build products will just focus on building the architecture that you’re targeting to build-and-run. That should be sufficient! Please let us know if now. Note that this only affects local developmen
Oct ’24
Open iOS app from another app without URL scheme
Hi,I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?As i have already published apps and there were no URL scheme mentioned, and it is some how app dependent and URL scheme needs to be mentioned in each and every app.And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.Any help would be great.Thanks
Replies
4
Boosts
0
Views
19k
Activity
Jul ’17
Reply to Can't retrieve name and email from Sign In flow
The change to include the email address in the ID token is currently being worked on and will be available soon. Currently the email address is provided to the application front-end through the post to the redirect uri.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’19
Reply to How to open "Driver Extensions" on macOS 15 by using objective-C
Right. And that leads you to the last paragraph of Supported URL Schemes. That is, if there’s no documented way to achieve this goal, you should file an enhancement request for such a mechanism. That’s kinda the whole point of my Supported URL Schemes post. You can’t just cons up your own URL that happens to work, because if it’s not documented then it’s an implementation detail that you can’t rely on. If you do file an ER, please post the bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Oct ’24
WKWebView how to work with the custom URL scheme in iOS 10.
We provide an option for the user to upload a photo from the phone into the WebView. I used WKSchemeHandler & WKWebView for iOS11. But how can use the WKWebView to work with the custom URL scheme for iOS10?
Replies
0
Boosts
0
Views
430
Activity
Sep ’20
Reply to Xcode7 code completion broken
Objective-C. The target membership seems fine ... how do I check whether there's something wrong with the scheme or not? It indexes most of the files just fine ... just a few (important ones) that are off
Replies
Boosts
Views
Activity
Jun ’15
Reply to Are App Store for iMessage search results limited to 40?
Feel free to file a bug against the process via the link, below right, adding your report # to your thread for reference.Otherwise I'm unaware of any petitioning scheme you might leverage.Good luck.
Replies
Boosts
Views
Activity
Feb ’18
Reply to Safari: "Manifest content_scripts section has no specified matches entry."
This is likely due to the match patterns for file and ftp. Safari does not support extensions for those schemes, so the matches array will appear empty after those unsupported patterns are filtered out.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’20
Reply to Xcode builds fail with spurious errors; whole tool is now unusable
I have a similar problem starting 6/18/2023. Expected identifier or '(' in a perfectly valid .h file also the analyzer thinks the header is not in the project's scheme. Did you ever fix this?
Replies
Boosts
Views
Activity
Jun ’23
Reply to Xcode creates schemes for some referenced Swift Packages
This is indeed undesirable behavior. I'm not sure whether Apple is aware but you should file a feedback for it. In the meantime, there's a workaround you can propose to your third party libraries' maintainers to adopt, and it consists on using an xcworkspace as the scheme container as opposed to .swiftpm. Example: https://github.com/sideeffect-io/AsyncExtensions/pull/29. As I said, unfortunately this is up to the maintainers to adopt, not you, as Xcode reads the checked in .swiftpm folder from your dependencies and grabs the schemes from there without you having a say in it. Again, probably undersirable behavior and an oversight from the Xcode team, so worth filing a radar.
Replies
Boosts
Views
Activity
Nov ’22
Reply to ITMS-90338: Non-public API usage automatic refuse
Make sure that you are distributing your app using the release scheme instead of the debug scheme. To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Then set the Build Configuration dropdown to Release.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Strange behavior from FileManager.getRelationship(_:of:in:to)
I’m not sure if anything else is going on here but your isInTrash(…) function has a serious bug. Specifically, this code is incorrect: guard let fileURL = URL(string: file) else { You should be using init(fileURLWithPath:). What you’re constructing here is as scheme-less URL that just contains a path. While you want is a URL with the file scheme. Consider: import Foundation let u1 = URL(fileURLWithPath: /Users/quinn/Test) let u2 = URL(string: /Users/quinn/Test)! print(u1) // file:///Users/quinn/Test/ print(u2) // /Users/quinn/Test Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to mediastreamvalidator always signals 'unsupported sudo track codec' with AES sample encrypted streams
Hi, I have also observed the same error Unsupported audio track codec: Unknown for the below unencrypted playlist when i run with media stream validator (version - v1.20.7). Unsupported audio track codec: Unknown Rendition #5 Below is the playlist; #EXTM3U #EXT-X-VERSION:5 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-ac3,LANGUAGE=en,NAME=English,AUTOSELECT=YES,CHANNELS=6,URI=var7031966/aud135/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-aac,LANGUAGE=mul,NAME=Multiple,AUTOSELECT=YES,CHANNELS=2,URI=var7031966/aud138/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio-aac,LANGUAGE=ang,NAME=Old English,AUTOSELECT=YES,CHANNELS=2,URI=var7031966/aud139/playlist.m3u8?device_profile=hls #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,LANGUAGE=en,NAME=English,AUTOSELECT=YES,URI=subs/eng_2/playlist.m3u8?device_profile=hl s #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=6700000,CODECS=ac-3,avc1.64002a,RESOLUTION=1920x1080,AUDIO=a
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode 13 or iOS15 BUG?
If your app is linked on or after iOS 9.0, you must declare the URL schemes you pass to this method by adding the LSApplicationQueriesSchemes key to your app's Info.plist file. This method always returns false for undeclared schemes, whether or not an appropriate app is installed. Apps linked on or after iOS 15 are limited to a maximum of 50 entries in the LSApplicationQueriesSchemes key. https://developer.apple.com/documentation/uikit/uiapplication/1622952-canopenurl
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
ui testing - custom url scheme
Hi,I was wondering how we can test opening a custom url within an XCTestCase while performing UI testing. I am trying:// this custom url is registered within the application let customURL = NSURL(string: foo://localhost/doSomething let sharedApp = UIApplication.sharedApplication() let fileURL = // an NSURL file path UIPasteboard.generalPasteboard().setValue(fileURL, forPasteboardType: com.foo) XCTAssert(sharedApp.canOpenURL(customURL!), cannot open url) // this passes let status = sharedApp.openURL(customURL!) XCTAssert(status, did not open url) // this does NOT passcanOpenURL passes, but openURL does not succeed. Furthermore, the openURL delegate method in my application is never called. In the above snippet, I am also pasting a URL to the paste board because I am trying to open this test data file which was why I decided to try this with a custom URL.Any one have any ideas? Am I not approaching this correctly? I was trying to use an .xcappdata file but since that file loa
Replies
3
Boosts
0
Views
2.5k
Activity
Sep ’15
Reply to Preview crashes consistency in Xcode 16 beta
Posted in July, and filed Feedback about it with Apple. After some back and forth they said **Thank you so much for providing the built products! We’ve identified that object files for this project are built as universal. There’s a known issue with the new Previews execution mode that projects built in debug mode as universal can run into this exact error. We’re working on a fix. But in the meantime can you check your scheme build settings? Open up the scheme editor by choosing the “Product > Scheme > Edit Scheme” menu item. Click on the “Build” sidebar tap in the modal window. You should see a control in the middle labeled Override Architectures. We’re pretty sure you have yours set to Universal. If you set that to “Match Run Destination” then your debug build products will just focus on building the architecture that you’re targeting to build-and-run. That should be sufficient! Please let us know if now. Note that this only affects local developmen
Replies
Boosts
Views
Activity
Oct ’24