Search results for

“file uri scheme”

81,720 results found

Post

Replies

Boosts

Views

Activity

How to specify what scheme is used by content previews
I have created custom schemes to setup my builds for different Firebase environments. These work perfectly for simulator builds and even for XCode Cloud builds. Sadly, the schemes are totally ignored when previewing content. My question is simple, do previews use schemes and if so how can I specify what scheme is used?
0
0
366
Oct ’22
Crash on Edit Scheme
Xcode crashes on Edit Scheme in 13.2.1 and it is reproducible in every scenario I could think of. I even tried reinstalling. I found something online that says to try without two screens, still crashes. I also tried something from a previous thread about Xcode 7 to try defaults delete com.apple.dt.Xcode in terminal. Still Crashing. Is there anything else that can be done or do I wait for it to be patched? full report attached xcode_crash_on_edit_scheme.txt
1
0
486
Feb ’22
calshow openURL scheme allowed?
Is using the calshow openURL scheme allowed in situations where it's useful?It's not in the Apple URL Scheme Reference but that might just be outdated.Since it's just a URL I wouldn't see it as an API, thus not as a private API either.But still, it'd be nice to get a clear statement on that.Code would look like this:UIApplication.shared.openURL(URL(string: calshow:(event.startDate.timeIntervalSinceReferenceDate))!)
0
0
2.9k
Nov ’16
Linguistic schemes not found on device
Does anyone understand why this is happening?On any simulator all of the schemes are found with the following code:NSArray<NSLinguisticTagScheme> *availSchemes = [NSLinguisticTagger availableTagSchemesForLanguage:@en]; for (NSLinguisticTagScheme scheme in availSchemes) { NSLog(@Tag scheme %@, scheme); }yielding the following:2018-02-13 09:12:54.066970-0500 MY_APP[79671:5737063] Tag scheme Language 2018-02-13 09:12:54.067160-0500 MY_APP[79671:5737063] Tag scheme Script 2018-02-13 09:12:54.067300-0500 MY_APP[79671:5737063] Tag scheme TokenType 2018-02-13 09:12:54.067425-0500 MY_APP[79671:5737063] Tag scheme LexicalClass 2018-02-13 09:12:54.067541-0500 MY_APP[79671:5737063] Tag scheme NameType 2018-02-13 09:12:54.067655-0500 MY_APP[79671:5737063] Tag scheme NameTypeOrLexicalClass 2018-02-13 09:12:54.067768-0500 MY_APP[79671:5737063] Tag scheme LemmaHowever, on my device (iPhone 6s iOS 11.2) I receive the foll
0
0
456
Feb ’18
Reply to Playing FairPlay streams with TVJS
That's how I did it initially. I then changed it to be like so:mediaItem.loadAssetID = getFPSAssetId; mediaItem.loadCertficate = getCertificate; mediaItem.loadKey = getFPSKey; where getFPSAssetId, getCertificate, getFPSKey are defined at the top of the JS page like so: function getFPSAssetId(uri, callback) { console.log(===== HERE === ); var assetID = fpsMgr.assetIDFromURI(uri); if (assetID != null) { console.log(======= [FPS] =============== [FPS]: Successfully parsed asset ID: + assetID); callback(assetID); } else { console.log(=============== [FPS]: Error parsing asset ID from URI: + uri); callback(null, Error parsing asset ID from URI: + uri); } }; function getCertificate(uri, callback) { console.log(==== Getting the certificate); var certUrl = fpsMgr.getFPSCertURL(); SkyChnlApi.debugLog(======= [FPS] certUrl: + certUrl); http.apiRequest(certUrl, GET, true, , function(certRequest) { if (certRequest.status == 200) { console.log(Received cer
Topic: App & System Services SubTopic: General Tags:
Feb ’16
Reply to SwiftData ModelContext Fetch Crashing
I have the exact same error. For me it does work when building for the iOS 17.5 simulator, and not for the iOS 18 simulator. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The specified URI is not a valid Core Data URI: x-coredata:///Workout/5F9352C2-50DA-422B-BDF6-C3BA3AD73067
Jun ’24
Reply to Xcode 11.1 code coverage data from xccov
Getting same kind of issue for code coverage report.Please provide the solution.Using Xcode 11.2.1.xccov[4508:118225] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverterError: Error Domain=XCCovErrorDomain Code=0 Failed to load coverage report for scheme action 'Testing with scheme' in result bundle UserInfo={NSLocalizedDescription=Failed to load coverage report for scheme action 'Testing with scheme' in result bundle, NSUnderlyingError=0x7fd4f401f3f0 {Error Domain=NSCocoaErrorDomain Code=260 The file “action.xccovreport” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/tmp/action.xccovreport, NSUnderlyingError=0x7fd4f4022980 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}}}
Nov ’19
Custom url scheme for key url
We are using custom url sheme for the key url eg. myscheme://twelve instead of skd://twelve. This (custom scheme) works on iOS. But it throwing up an error in Safari. Changing the scheme back to skd works in Safari. It there any limitation on the custom scheme that is supported by Safari? Or is there a method to register such custom sheme?
1
0
2.2k
Oct ’16
Reply to How to open Files app (iOS 11) programmatically?
It appears you can do this by taking a file URL and changing the scheme to shareddocuments://.
Replies
Boosts
Views
Activity
Jun ’20
How to specify what scheme is used by content previews
I have created custom schemes to setup my builds for different Firebase environments. These work perfectly for simulator builds and even for XCode Cloud builds. Sadly, the schemes are totally ignored when previewing content. My question is simple, do previews use schemes and if so how can I specify what scheme is used?
Replies
0
Boosts
0
Views
366
Activity
Oct ’22
Crash on Edit Scheme
Xcode crashes on Edit Scheme in 13.2.1 and it is reproducible in every scenario I could think of. I even tried reinstalling. I found something online that says to try without two screens, still crashes. I also tried something from a previous thread about Xcode 7 to try defaults delete com.apple.dt.Xcode in terminal. Still Crashing. Is there anything else that can be done or do I wait for it to be patched? full report attached xcode_crash_on_edit_scheme.txt
Replies
1
Boosts
0
Views
486
Activity
Feb ’22
calshow openURL scheme allowed?
Is using the calshow openURL scheme allowed in situations where it's useful?It's not in the Apple URL Scheme Reference but that might just be outdated.Since it's just a URL I wouldn't see it as an API, thus not as a private API either.But still, it'd be nice to get a clear statement on that.Code would look like this:UIApplication.shared.openURL(URL(string: calshow:(event.startDate.timeIntervalSinceReferenceDate))!)
Replies
0
Boosts
0
Views
2.9k
Activity
Nov ’16
DTK "My Mac (Designed for iPhone)" scheme
In a Xcode 12 beta 5 project on the DTK I see a My Mac (Designed for iPad) scheme in my iOS target. I'd like to run the app as an iPhone app on the DTK instead. How do I either add a My Mac (Designed for iPhone) scheme or edit the Designed for iPad scheme to iPhone?
Replies
0
Boosts
0
Views
1.1k
Activity
Aug ’20
Linguistic schemes not found on device
Does anyone understand why this is happening?On any simulator all of the schemes are found with the following code:NSArray<NSLinguisticTagScheme> *availSchemes = [NSLinguisticTagger availableTagSchemesForLanguage:@en]; for (NSLinguisticTagScheme scheme in availSchemes) { NSLog(@Tag scheme %@, scheme); }yielding the following:2018-02-13 09:12:54.066970-0500 MY_APP[79671:5737063] Tag scheme Language 2018-02-13 09:12:54.067160-0500 MY_APP[79671:5737063] Tag scheme Script 2018-02-13 09:12:54.067300-0500 MY_APP[79671:5737063] Tag scheme TokenType 2018-02-13 09:12:54.067425-0500 MY_APP[79671:5737063] Tag scheme LexicalClass 2018-02-13 09:12:54.067541-0500 MY_APP[79671:5737063] Tag scheme NameType 2018-02-13 09:12:54.067655-0500 MY_APP[79671:5737063] Tag scheme NameTypeOrLexicalClass 2018-02-13 09:12:54.067768-0500 MY_APP[79671:5737063] Tag scheme LemmaHowever, on my device (iPhone 6s iOS 11.2) I receive the foll
Replies
0
Boosts
0
Views
456
Activity
Feb ’18
Reply to Playing FairPlay streams with TVJS
That's how I did it initially. I then changed it to be like so:mediaItem.loadAssetID = getFPSAssetId; mediaItem.loadCertficate = getCertificate; mediaItem.loadKey = getFPSKey; where getFPSAssetId, getCertificate, getFPSKey are defined at the top of the JS page like so: function getFPSAssetId(uri, callback) { console.log(===== HERE === ); var assetID = fpsMgr.assetIDFromURI(uri); if (assetID != null) { console.log(======= [FPS] =============== [FPS]: Successfully parsed asset ID: + assetID); callback(assetID); } else { console.log(=============== [FPS]: Error parsing asset ID from URI: + uri); callback(null, Error parsing asset ID from URI: + uri); } }; function getCertificate(uri, callback) { console.log(==== Getting the certificate); var certUrl = fpsMgr.getFPSCertURL(); SkyChnlApi.debugLog(======= [FPS] certUrl: + certUrl); http.apiRequest(certUrl, GET, true, , function(certRequest) { if (certRequest.status == 200) { console.log(Received cer
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’16
Reply to Stuck in Sign in With Apple modal flow
@rdlowrey is right ! Same domain and sub-domain for the redirect-uri works for me.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
Reply to SwiftData ModelContext Fetch Crashing
I have the exact same error. For me it does work when building for the iOS 17.5 simulator, and not for the iOS 18 simulator. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The specified URI is not a valid Core Data URI: x-coredata:///Workout/5F9352C2-50DA-422B-BDF6-C3BA3AD73067
Replies
Boosts
Views
Activity
Jun ’24
Reply to Xcode 11.1 code coverage data from xccov
Getting same kind of issue for code coverage report.Please provide the solution.Using Xcode 11.2.1.xccov[4508:118225] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverterError: Error Domain=XCCovErrorDomain Code=0 Failed to load coverage report for scheme action 'Testing with scheme' in result bundle UserInfo={NSLocalizedDescription=Failed to load coverage report for scheme action 'Testing with scheme' in result bundle, NSUnderlyingError=0x7fd4f401f3f0 {Error Domain=NSCocoaErrorDomain Code=260 The file “action.xccovreport” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/tmp/action.xccovreport, NSUnderlyingError=0x7fd4f4022980 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}}}
Replies
Boosts
Views
Activity
Nov ’19
Application with Settings url schemes
Hi All,Does apple reject applications that opens settings screen with url schemes such as App-prefs:root=wifi or prefs:wifi.Thanks in advance.
Replies
0
Boosts
0
Views
950
Activity
Apr ’18
Xcode randomly modifies my scheme content
I'm struggling with maintaining source-controlled collaboration when Xcode just cannot make up its mind about how to generate the schemes. I don't edit the scheme and I get these sort of changes in git. from: to: It's pretty incomprehensible to me, but has anyone run into similar?
Replies
18
Boosts
0
Views
13k
Activity
Oct ’20
Custom url scheme for key url
We are using custom url sheme for the key url eg. myscheme://twelve instead of skd://twelve. This (custom scheme) works on iOS. But it throwing up an error in Safari. Changing the scheme back to skd works in Safari. It there any limitation on the custom scheme that is supported by Safari? Or is there a method to register such custom sheme?
Replies
1
Boosts
0
Views
2.2k
Activity
Oct ’16
Reply to Native HTML5 HLS doesn't call child playlist with master playlist URL
It seems that Safari on iOS is closer to the http redirection spec than the desktop safari. We use a 302 redirection in our load balancer that tells not to use the redirected URI for subsequent requests.Is this wanted ?EDIT: 302 or 301 redirection have the same problem, they don't use the redirected URI for subsequent requests
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’19
Emoji as Custom URL Scheme
Hi fellow Saplings,I'm wondering if we can use Emoji as the header for custom URL schemes in iOS apps.For instance : U+1F4A9://
Replies
1
Boosts
0
Views
965
Activity
Sep ’17