Search results for

“file uri scheme”

81,707 results found

Post

Replies

Boosts

Views

Activity

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
"No scheme" when i open a project in xcode
Hi,I transferred a project from one mac to another through airdrop. In the destination mac,when i open the project, it is showing No scheme.In source mac it is working fine with no error.source mac :xcode : Version 9.3.1 (9E501)swift compiler : 4.1Destination mac:xcode : 9.2 (9C40b)swift compiler : 3.2help me in this regard.
1
0
7.8k
Oct ’18
Reply to ASWebAuthenticationSession + https iOS <17.4
If you want a callback URL that starts with https, you must use the .https(...) callback type, which is only available on iOS 17.4 and later. Prior to this, ASWebAuthenticationSession required the use of a custom scheme (i.e. a scheme that's not http/https). For example, your callback URL in that case might look like myapp://auth/callback. Some services may warn against using custom schemes, as they may have security difficulties on some platforms. This is because, unlike https callbacks, any app could claim the myapp:// scheme, potentially resulting in your auth callback going to the wrong app. However, ASWebAuthenticationSession was specifically built to mitigate this concern, ensuring only your app will receive callbacks for that scheme when it's opened via ASWebAuthenticationSession.
Topic: Privacy & Security SubTopic: General Tags:
Apr ’25
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 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 Failed to load DataDetectorsUI.framework ()
I've been seeing Failed to load DataDetectorsUI.framework () for a number of days now, but I've been ignoring it up to now, since it hasn't posed any functional problems for me. I suspect it's because I'm doing API calls to various external services, and tvOS probably does not support URL schemes for sending files to another app.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
In Xcode's build phases section is it possible to enable/disable compile flags bases on scheme
If an Xcode project has some compiler flags set in Build Phases / Compile Sources, then is it possible to have those enabled if scheme A is selected and disabled if scheme B is selected. Same question for things in Build Settings, such as Other Compiler Flags. I suppose it could be achieved by having two targets, one with things enabled and one without, but for a very large complex project, duplicating targets is not necessarily an easy thing to do.
1
0
80
May ’25
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.1k
Oct ’23
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 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
"No scheme" when i open a project in xcode
Hi,I transferred a project from one mac to another through airdrop. In the destination mac,when i open the project, it is showing No scheme.In source mac it is working fine with no error.source mac :xcode : Version 9.3.1 (9E501)swift compiler : 4.1Destination mac:xcode : 9.2 (9C40b)swift compiler : 3.2help me in this regard.
Replies
1
Boosts
0
Views
7.8k
Activity
Oct ’18
Reply to ASWebAuthenticationSession + https iOS <17.4
If you want a callback URL that starts with https, you must use the .https(...) callback type, which is only available on iOS 17.4 and later. Prior to this, ASWebAuthenticationSession required the use of a custom scheme (i.e. a scheme that's not http/https). For example, your callback URL in that case might look like myapp://auth/callback. Some services may warn against using custom schemes, as they may have security difficulties on some platforms. This is because, unlike https callbacks, any app could claim the myapp:// scheme, potentially resulting in your auth callback going to the wrong app. However, ASWebAuthenticationSession was specifically built to mitigate this concern, ensuring only your app will receive callbacks for that scheme when it's opened via ASWebAuthenticationSession.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25
ARKit Replay Data scheme option not available in Xcode 15.0 beta
The Run scheme > Options section in Xcode 14.x used to contain the ability to utilize a recorded video from Reality Composer as the replay data for an ARSession. That option is now gone in the Xcode 15.0-beta. Is this intentional?
Replies
1
Boosts
0
Views
643
Activity
Jun ’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 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 Failed to load DataDetectorsUI.framework ()
I've been seeing Failed to load DataDetectorsUI.framework () for a number of days now, but I've been ignoring it up to now, since it hasn't posed any functional problems for me. I suspect it's because I'm doing API calls to various external services, and tvOS probably does not support URL schemes for sending files to another app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Authorize page shows 'Invalid redirect_uri'
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 i need to see my newest app on my ipad2 not on a mac simulator using Xcode.
Are you choosing a scheme or a device. These are very different things. In xCode there is a dual drop down, on the leftis the scheme, on the right, is the device. Click on the right drop down and select your connected iPad.
Replies
Boosts
Views
Activity
Jun ’15
Reply to iPhone with iOS 14 beta 2 doesn't autorotate when connected to XCode debugger
Found the solution. Go to ProductSchemesManage Schemes Select your scheme and click edit Select the options tab for the run section For 'GPU Frame Capture', select 'Metal' or 'disable'
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Localization Tests in UI Testing
Hey. You can go into the Scheme Editor of the test scheme under Options, and change App Region/Language to one you prefer, and that will be independent of your current device language. Hope this helps.
Replies
Boosts
Views
Activity
Jun ’22
In Xcode's build phases section is it possible to enable/disable compile flags bases on scheme
If an Xcode project has some compiler flags set in Build Phases / Compile Sources, then is it possible to have those enabled if scheme A is selected and disabled if scheme B is selected. Same question for things in Build Settings, such as Other Compiler Flags. I suppose it could be achieved by having two targets, one with things enabled and one without, but for a very large complex project, duplicating targets is not necessarily an easy thing to do.
Replies
1
Boosts
0
Views
80
Activity
May ’25
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.1k
Activity
Oct ’23