Search results for

“file uri scheme”

81,720 results found

Post

Replies

Boosts

Views

Activity

Reply to extract asset id from playlist (fairplay)
Hi,The 'Host' parameter of the URI atrribute (in this example:- 'token'), can be retrirevd via the 'identifier' property of AVContentKeyRequest.This will work for Just In Time acquisition of the key(s).If you need to prefetch the keys, you will need to carry the assetId out of band or parse it from the playlist (EXT-X-KEY...)
Topic: Media Technologies SubTopic: Streaming Tags:
Nov ’18
Shortcut only works on one target/scheme
I added an AppIntent and Shortcut to an app. I have different targets all producing slightly different versions of the app (for testing purposes) but even though the files with the intents and shortcuts are included on all targets, when I run the app from one of the other targets the shortcuts stop working and appearing on the Shortcuts app. Only the version without parameters appears and when run produces an error: “The action (name) could not run because an internal error occurred” Is there anything I’m missing? if I duplicate the target where they run ok, everything is fine (and I might just recreate all the targets) thanks!
2
0
137
Feb ’25
Reply to Child View Controllers don't get correct topLayoutGuide length
I'm sorry, I didn't explain. Just go to openradar . appspot . com and login with a Google account. I didn't put a link to avoid moderation. To simplify filing and duplicating bugs, use the excellent QuickRadar . com app. It not only allows you to file a bug simultaneously to Apple and OpenRadar but also supports the rdar URL scheme. If the respective bug is published on OpenRadar, it automatically fetches the information so you can file a dupe in just 2 seconds.
Topic: App & System Services SubTopic: General Tags:
Aug ’16
Reply to UpdateApplicationContext Not Receiving updates
I don't know what was the problem but I figured out how to solve it. Basically, you need to recreate the target. In my case, I was using the old approach with watchOS app and extension app. Now Xcode 14 offers only a single target - maybe that was the problem. Steps that I used: Copy all files from your watchOS app to another location. Delete folder, target, and schemes, remove all remainings from watchOS app. Add watchOS app target using new Xcode. Add copied files from step. 1 Configure build settings, signing, and assets (whatever you need). Very important: set bundle identifier prefixed by your iOS bundle identifier. Very important: set WKCompanionAppBundleIdentifier in info.plist that equals your iOS app bundle identifier. Super important: go to your main iOS app target, general tab, frameworks, libraries... and click + and add your watchOS app. Now I like to use first watchOS scheme to install watchOS app first, then change scheme and install iOS app. Now you
Topic: App & System Services SubTopic: General Tags:
Sep ’22
Reply to Preprocessor is Nuts
Here are some possibilities:— Wrong target membership for files that are in the project.— Incomplete or inconsistent designation of frameworks header files as private or public vs. project.— Improperly updated include or frameworks header paths in the build settings.— Improper file referencing styles for the frameworks (e.g. absolute where you need build-products-relative, etc)— Inconsistent or unexpected use of modules (off/on) for frameworks.— Incorrect or conflicting module names for frameworks (it got parameterized a couple of Xcodes ago).— Errors/inconsistencies in schemes.I'd suggest you try working through your targets individually, starting with the ones that have no other project framework dependencies, then moving on to the ones that depend on them. Check (or create) the scheme for each target, set it as the current scheme and make sure you can build each framework in turn.Worst case, you can start looking at the compiler invocation lines for steps in the
Jan ’17
ios drop file wrong file name
ios drop file wrong file name I use the following simple JS code to drag file from the browser to the desktop. Works perfect on MacOS. onDragStart(event, ucpView) { let file = new BrowserFile([this.file.fileContent], this.file.displayName, { type: 'application/ucp-scenario' }); const fileURL = URL.createObjectURL(file); event.dataTransfer.setData(DownloadURL, `application/octet-stream:${file.name}:${fileURL}`); event.dataTransfer.setData(text/uri-list, fileURL); } but on iOS it keeps nameing the file Text1.txt Text2.txt ... and ignores the DownloadURL whats the best way to get it workng on both OS?
Topic: Safari & Web SubTopic: General
0
0
68
Apr ’25
Reply to Adding Widget Extension causes an error
Interesting... When creating a new project from scratch and then trying to add the extension, I've seen a dialog with the following message that hasn't shown when I was trying to add the extension in my other project: Activate “WidgetTestWidgetExtension” scheme? This scheme has been created for the “WidgetTestWidgetExtension” target. Choose Activate to use this scheme for building and debugging. Schemes can be chosen in the toolbar or Product menu. I was just trying to run the App's target because I didn't even had a scheme to run the extension's one... But if I manually create a scheme to run the extension's target, I get the same result. Yeah, I'd totally like to bump the deployment target, we might do soon, but for now, it is a requirement from the company so not much I can do there sadly... Thanks for having taken some time to look into this! 👍
Topic: App & System Services SubTopic: General Tags:
Jun ’20
Reply to Xcode unable to find a destination matching the provided destination specifier?
Check whether your runner scheme in Xcode also displays the simulators next to you physical devices? If not recreate the runner scheme by clicking New scheme .... The simulators should be available again. Otherwise delete derived data folder under Xcode > preferences > location
Replies
Boosts
Views
Activity
Dec ’21
Reply to extract asset id from playlist (fairplay)
Hi,The 'Host' parameter of the URI atrribute (in this example:- 'token'), can be retrirevd via the 'identifier' property of AVContentKeyRequest.This will work for Just In Time acquisition of the key(s).If you need to prefetch the keys, you will need to carry the assetId out of band or parse it from the playlist (EXT-X-KEY...)
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Nov ’18
Reply to Autocomplete not working in unit test code
Try creating a new scheme in which your tests are the only target. It worked for me. Also, ensure that your test target is part of your current scheme.
Replies
Boosts
Views
Activity
Sep ’20
Reply to How to handle URL Image if has non English characters SwiftUI
site didn't allow me to write scheme that's why I write url without scheme. I see. A really annoying restriction.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’21
Shortcut only works on one target/scheme
I added an AppIntent and Shortcut to an app. I have different targets all producing slightly different versions of the app (for testing purposes) but even though the files with the intents and shortcuts are included on all targets, when I run the app from one of the other targets the shortcuts stop working and appearing on the Shortcuts app. Only the version without parameters appears and when run produces an error: “The action (name) could not run because an internal error occurred” Is there anything I’m missing? if I duplicate the target where they run ok, everything is fine (and I might just recreate all the targets) thanks!
Replies
2
Boosts
0
Views
137
Activity
Feb ’25
Reply to HLS Video in Simulator getting `segPumpRequestCustomURLForCryptKey` crash:
I was able to stop the crash by adding KEYFORMAT=indentity to the #EXT-X-KEY tag in the .m3u8 files. (I'm guessing the bug involves an Xcode assumption that we're using FairPlay for encryption when utilizing a custom url scheme.) Still can't get AVAssetResourceLoaderDelegate to fire in the Simulator, though...
Replies
Boosts
Views
Activity
Nov ’21
Reply to Unable to implement OAuth2 using ASWebAuthenticationSession
The behavior you've described sounds like the scheme you're passing to ASWebAuthenticationSession doesn't match the scheme for the URL being redirected to. Please double check that they match. (Keep in mind that a scheme itself doesn't include any special characters, such as : or /.)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Extraneous http request being made by AVFoundation
I thought reserved schemes like HTTP and HTTPS will not work if we use AVAssetResourceLoaderDelegate. It's great if these schemes also work with that mechanisms.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to How to handle URL Image if has non English characters SwiftUI
Actually it does the reason I didn't write https:// because site didn't allow me to write scheme that's why I write url without scheme.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’21
Reply to How to I archive macros into a static library as xcframework?
[quote='806051022, DTS Engineer, /thread/764739?answerId=806051022#806051022'] What is the scheme here? [/quote] Scheme is name of my macros's target
Replies
Boosts
Views
Activity
Sep ’24
Reply to Child View Controllers don't get correct topLayoutGuide length
I'm sorry, I didn't explain. Just go to openradar . appspot . com and login with a Google account. I didn't put a link to avoid moderation. To simplify filing and duplicating bugs, use the excellent QuickRadar . com app. It not only allows you to file a bug simultaneously to Apple and OpenRadar but also supports the rdar URL scheme. If the respective bug is published on OpenRadar, it automatically fetches the information so you can file a dupe in just 2 seconds.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’16
Reply to UpdateApplicationContext Not Receiving updates
I don't know what was the problem but I figured out how to solve it. Basically, you need to recreate the target. In my case, I was using the old approach with watchOS app and extension app. Now Xcode 14 offers only a single target - maybe that was the problem. Steps that I used: Copy all files from your watchOS app to another location. Delete folder, target, and schemes, remove all remainings from watchOS app. Add watchOS app target using new Xcode. Add copied files from step. 1 Configure build settings, signing, and assets (whatever you need). Very important: set bundle identifier prefixed by your iOS bundle identifier. Very important: set WKCompanionAppBundleIdentifier in info.plist that equals your iOS app bundle identifier. Super important: go to your main iOS app target, general tab, frameworks, libraries... and click + and add your watchOS app. Now I like to use first watchOS scheme to install watchOS app first, then change scheme and install iOS app. Now you
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Preprocessor is Nuts
Here are some possibilities:— Wrong target membership for files that are in the project.— Incomplete or inconsistent designation of frameworks header files as private or public vs. project.— Improperly updated include or frameworks header paths in the build settings.— Improper file referencing styles for the frameworks (e.g. absolute where you need build-products-relative, etc)— Inconsistent or unexpected use of modules (off/on) for frameworks.— Incorrect or conflicting module names for frameworks (it got parameterized a couple of Xcodes ago).— Errors/inconsistencies in schemes.I'd suggest you try working through your targets individually, starting with the ones that have no other project framework dependencies, then moving on to the ones that depend on them. Check (or create) the scheme for each target, set it as the current scheme and make sure you can build each framework in turn.Worst case, you can start looking at the compiler invocation lines for steps in the
Replies
Boosts
Views
Activity
Jan ’17
ios drop file wrong file name
ios drop file wrong file name I use the following simple JS code to drag file from the browser to the desktop. Works perfect on MacOS. onDragStart(event, ucpView) { let file = new BrowserFile([this.file.fileContent], this.file.displayName, { type: 'application/ucp-scenario' }); const fileURL = URL.createObjectURL(file); event.dataTransfer.setData(DownloadURL, `application/octet-stream:${file.name}:${fileURL}`); event.dataTransfer.setData(text/uri-list, fileURL); } but on iOS it keeps nameing the file Text1.txt Text2.txt ... and ignores the DownloadURL whats the best way to get it workng on both OS?
Topic: Safari & Web SubTopic: General
Replies
0
Boosts
0
Views
68
Activity
Apr ’25
Reply to Adding Widget Extension causes an error
Interesting... When creating a new project from scratch and then trying to add the extension, I've seen a dialog with the following message that hasn't shown when I was trying to add the extension in my other project: Activate “WidgetTestWidgetExtension” scheme? This scheme has been created for the “WidgetTestWidgetExtension” target. Choose Activate to use this scheme for building and debugging. Schemes can be chosen in the toolbar or Product menu. I was just trying to run the App's target because I didn't even had a scheme to run the extension's one... But if I manually create a scheme to run the extension's target, I get the same result. Yeah, I'd totally like to bump the deployment target, we might do soon, but for now, it is a requirement from the company so not much I can do there sadly... Thanks for having taken some time to look into this! 👍
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’20