Search results for

“file uri scheme”

84,483 results found

Post

Replies

Boosts

Views

Activity

Reply to Doesn't work proxy auto config on iOS 15
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15-release-notes Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(::::). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845)
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’21
Reply to Multiple schemas per entity
I am also curious about this! However, I think in this example, the File/Folder Scheme is explicitly about URL-based filesystem items. Now, your notes could be stored as files, and the folders could be literal folders. You could use two different Entities, each conforming to the appropriate Schemas and then allow them to be interchangeable with one another by implementing transferable on them. (I think!) I've gotten things like that to work for in-app-actions, but not yet for cross-app actions.
Jun ’26
Reply to impersonation for os x.
>impersonationI think/hope you meant synchronization...Once you've connected to the other macs via sharing, I'd use applescript to read files/permissions and sync folders accordingly. See the docs on both.Just keep in mind that Apple already provides user-facing schemes for this, so you may be attempting a new wheel.
Topic: App & System Services SubTopic: Drivers Tags:
Jul ’19
Reply to jump to watch app on first tab
so we should not use it?The general rule for Apple URL schemes is that, if it’s not documented, you shouldn’t use it. Lots of folks have discovered the hard way that relying on undocumented URL schemes usually ends in binary compatibility tears down the line.is there any correct and proper way how to jump to watch app?I’m not aware of such an option, although it seems like a reasonable enhancement request based on the existence of UIApplicationOpenSettingsURLString. If you do file an ER, please post your bug number, just for the record.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’17
Reply to Preview of SwitftUI View used in multiple targets
I found the same issue when testing with SwiftUI tutorial - creating a watchos/macos app. I can't get away with the error The run destination iPhone 12 Pro Max is not valid for Running the scheme 'WatchLandmarks'. anyway even when only WatchKitExtension is selected as the target. It only happens to the watchos scheme, but not the macos scheme. This seems to be a defect of XCode Previews.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’20
Reply to Reduced CPU usage w/ Time Profiler?
By default, the profile action uses a release configuration, while the run action uses debug. If you change your scheme so the run action uses a release configuration (from the Product menu, select Scheme, then Edit Scheme), does it match the performance you see while profiling?Note that using the release configuration can make debugging more difficult, so you normally want it on debug while you're working on your app.
Sep ’15
Reply to Timestamps in AVPlayer
As an additional background, I use a m3u8 file, which contains the following metadata. #EXT-X-VERSION:5 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio,NAME=Original Audio,LANGUAGE=qag,AUTOSELECT=YES,URI=audio-13-64000/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls,DEFAULT=YES #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio,NAME=Original Audio 1,LANGUAGE=qaf,AUTOSELECT=YES,URI=audio-12-64000/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls #EXT-X-STREAM-INF:BANDWIDTH=388328,RESOLUTION=426x240,CODECS=avc1.4dc01f,mp4a.40.2,AUDIO=audio 300/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=388328,RESOLUTION=426x240,CODECS=avc1.4dc01f,URI=300/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03
Topic: Media Technologies SubTopic: Video Tags:
Sep ’23
Reply to Xcode 9 produces invalid Code Signature
Yes I did, but somehow forgot to post it here. In my case, both targets (MAS & Dev ID version) depend on other targets, like helper apps and app extensions, which are being copied into the main app bundle. I've configured the schemes of the main apps to automatically build the schemes of their dependencies, but for some reason this configuration got messed up (Xcode sometimes crashed when I edited the schemes). Xcode ended up building the wrong dependencies which themselves were signed with a code signature not matching the one of the main app. After fixing the schemes I was able to create a valid bundle.
Jan ’18
Reply to Implementing A Direct Link to App Settings
Is there a URL scheme that I can use to directly open that panel? No. I have general advice on this topic in this post. Many settings show up both some centralised area within Settings and in the app-specific settings, and you could file an enhancement request for Apple to do that with Sign in with Apple. Alternatively, file an ER for a way to open its entry in the the centralised area. If you do file any bugs about this, post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’24
AssetCacheLocatorService does not support HTTPS URL schemes for PAC
With the release of iPadOS 17 we began noticing that the AssetCacheLocator service on iOS/iPadOS was reliably returning a no caching server response even when we had active caching servers on the network. default 2023-09-27 18:40:17.970429 +1000 AssetCacheLocatorService #11553fbd [AssetCacheLocatorService.queue] found no caching servers This behaviour was also apparent during the beta releases of iPadOS 17 but vanished around beta 8 before returning during the production release. For a bit of back story our network environment makes use of proxy servers which devices are configured to use via PAC discovery methods. Either via specifying a pac url in config payload or via auto-discovery means via DHCP option 252 or dns. We have been compliant with https PAC file delivery since it was first brought in for the iPadOS 15 release. After continued testing the behaviour was being cause by a failure in the trust daemon to validate certificates used in SSL handshakes for the AssetCacheLocatorService. This wou
0
0
1.2k
Oct ’23
Reply to How can I connect to a proxy server?
OK, these old proxy techniques use the HTTP CONNECT verb. The request line is supposed to be CONNECT myHost:myPort HTTP/1.1 (or 1.0). The thing is that myHost:myPort is not a URL. It is a URI, though. But you have to initiallize a URLRequest with a URL. (I tried with URLComponents and defining just the host and port, and I got //myHost:myPort. The extra slahses at the start make it useless here, unless you know some form of CONNECT-URI that allows slash prefixes.)Is there another type of proxy that lets you put full URLs on the CONNECT line? Or doesn't use CONNECT at all? I want to know what kind of proxy connections the authors at Apple (at least the ones at WWDC 2015) had in mind when designing the data-request-to-stream-task conversion delegate method.If I can't customize URLRequest the way I need, then I have to resort to the CFHTTPMessage API (or straight up manual work).
Sep ’17
Reply to invalid_client in 'Sign in with Apple' /auth/authorize
We have the same problem here, the new Service ID does not work: invalid_client The old one works like a charm (we did not delete it though) We also cannot use newly added redirect URIs to old Service IDs, invalid_redirect_uri Looks like something does not get updated correctly on the Apple side
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Doesn't work proxy auto config on iOS 15
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15-release-notes Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(::::). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Multiple schemas per entity
I am also curious about this! However, I think in this example, the File/Folder Scheme is explicitly about URL-based filesystem items. Now, your notes could be stored as files, and the folders could be literal folders. You could use two different Entities, each conforming to the appropriate Schemas and then allow them to be interchangeable with one another by implementing transferable on them. (I think!) I've gotten things like that to work for in-app-actions, but not yet for cross-app actions.
Replies
Boosts
Views
Activity
Jun ’26
Reply to impersonation for os x.
>impersonationI think/hope you meant synchronization...Once you've connected to the other macs via sharing, I'd use applescript to read files/permissions and sync folders accordingly. See the docs on both.Just keep in mind that Apple already provides user-facing schemes for this, so you may be attempting a new wheel.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Jul ’19
Reply to jump to watch app on first tab
so we should not use it?The general rule for Apple URL schemes is that, if it’s not documented, you shouldn’t use it. Lots of folks have discovered the hard way that relying on undocumented URL schemes usually ends in binary compatibility tears down the line.is there any correct and proper way how to jump to watch app?I’m not aware of such an option, although it seems like a reasonable enhancement request based on the existence of UIApplicationOpenSettingsURLString. If you do file an ER, please post your bug number, just for the record.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’17
Reply to Preview of SwitftUI View used in multiple targets
I found the same issue when testing with SwiftUI tutorial - creating a watchos/macos app. I can't get away with the error The run destination iPhone 12 Pro Max is not valid for Running the scheme 'WatchLandmarks'. anyway even when only WatchKitExtension is selected as the target. It only happens to the watchos scheme, but not the macos scheme. This seems to be a defect of XCode Previews.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’20
Reply to Reduced CPU usage w/ Time Profiler?
By default, the profile action uses a release configuration, while the run action uses debug. If you change your scheme so the run action uses a release configuration (from the Product menu, select Scheme, then Edit Scheme), does it match the performance you see while profiling?Note that using the release configuration can make debugging more difficult, so you normally want it on debug while you're working on your app.
Replies
Boosts
Views
Activity
Sep ’15
Reply to Error Domain=SKErrorDomain Code=2 "(null)" when making in-app purchase
I solved the issue I had. Turns out I didn't set the StoreKit config in my scheme. Go to Edit Scheme -> Run and check if the config is set. If not, follow this guide: https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode/ It should look something like this if the scheme is set up correctly:
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Timestamps in AVPlayer
As an additional background, I use a m3u8 file, which contains the following metadata. #EXT-X-VERSION:5 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio,NAME=Original Audio,LANGUAGE=qag,AUTOSELECT=YES,URI=audio-13-64000/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls,DEFAULT=YES #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=audio,NAME=Original Audio 1,LANGUAGE=qaf,AUTOSELECT=YES,URI=audio-12-64000/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls #EXT-X-STREAM-INF:BANDWIDTH=388328,RESOLUTION=426x240,CODECS=avc1.4dc01f,mp4a.40.2,AUDIO=audio 300/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03-01T11%3A09%3A18%2B0000&sourcetimestamps=1&returnType=hls #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=388328,RESOLUTION=426x240,CODECS=avc1.4dc01f,URI=300/prog_index.m3u8?start=2023-03-01T10%3A29%3A04%2B0000&end=2023-03
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Xcode 9 produces invalid Code Signature
Yes I did, but somehow forgot to post it here. In my case, both targets (MAS & Dev ID version) depend on other targets, like helper apps and app extensions, which are being copied into the main app bundle. I've configured the schemes of the main apps to automatically build the schemes of their dependencies, but for some reason this configuration got messed up (Xcode sometimes crashed when I edited the schemes). Xcode ended up building the wrong dependencies which themselves were signed with a code signature not matching the one of the main app. After fixing the schemes I was able to create a valid bundle.
Replies
Boosts
Views
Activity
Jan ’18
Reply to Implementing A Direct Link to App Settings
Is there a URL scheme that I can use to directly open that panel? No. I have general advice on this topic in this post. Many settings show up both some centralised area within Settings and in the app-specific settings, and you could file an enhancement request for Apple to do that with Sign in with Apple. Alternatively, file an ER for a way to open its entry in the the centralised area. If you do file any bugs about this, post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’24
AssetCacheLocatorService does not support HTTPS URL schemes for PAC
With the release of iPadOS 17 we began noticing that the AssetCacheLocator service on iOS/iPadOS was reliably returning a no caching server response even when we had active caching servers on the network. default 2023-09-27 18:40:17.970429 +1000 AssetCacheLocatorService #11553fbd [AssetCacheLocatorService.queue] found no caching servers This behaviour was also apparent during the beta releases of iPadOS 17 but vanished around beta 8 before returning during the production release. For a bit of back story our network environment makes use of proxy servers which devices are configured to use via PAC discovery methods. Either via specifying a pac url in config payload or via auto-discovery means via DHCP option 252 or dns. We have been compliant with https PAC file delivery since it was first brought in for the iPadOS 15 release. After continued testing the behaviour was being cause by a failure in the trust daemon to validate certificates used in SSL handshakes for the AssetCacheLocatorService. This wou
Replies
0
Boosts
0
Views
1.2k
Activity
Oct ’23
Reply to How can I connect to a proxy server?
OK, these old proxy techniques use the HTTP CONNECT verb. The request line is supposed to be CONNECT myHost:myPort HTTP/1.1 (or 1.0). The thing is that myHost:myPort is not a URL. It is a URI, though. But you have to initiallize a URLRequest with a URL. (I tried with URLComponents and defining just the host and port, and I got //myHost:myPort. The extra slahses at the start make it useless here, unless you know some form of CONNECT-URI that allows slash prefixes.)Is there another type of proxy that lets you put full URLs on the CONNECT line? Or doesn't use CONNECT at all? I want to know what kind of proxy connections the authors at Apple (at least the ones at WWDC 2015) had in mind when designing the data-request-to-stream-task conversion delegate method.If I can't customize URLRequest the way I need, then I have to resort to the CFHTTPMessage API (or straight up manual work).
Replies
Boosts
Views
Activity
Sep ’17
Reply to MTLTextureUsageShaderWrite & MetalKit
I have worked around this issue by disabling GPU Frame Capture in the application's Scheme. Find that setting under Edit Scheme > Run > Options > GPU Frame Capture. Set it to Disabled.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to how to compile/build mac catalyst lib using clang -arch
I get the same error, but only when BuddyBuild tries to compile it. As far as I know, BuddyBuild uses the same schemes that I've checked into the project, and my schemes are not trying to build for Catalyst.
Replies
Boosts
Views
Activity
Mar ’20