Search results for

“file uri scheme”

84,438 results found

Post

Replies

Boosts

Views

Activity

Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Nov ’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?
0
0
389
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
507
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
468
Feb ’18
target scheme test as root
Hi,In target scheme editor, Run, we can Debug Process As root.How can we set the same option in Test as Debug Process As root. The option is disabled.I'm using Xcode Version 9.0 (9A235). I couldn't find anything in .xcscheme file.Thanks 🙂
0
0
706
Oct ’17
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
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.3k
Oct ’16
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
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
Topic: App & System Services SubTopic: iCloud Tags:
Jun ’24
Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’20
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
389
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
507
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
468
Activity
Feb ’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
target scheme test as root
Hi,In target scheme editor, Run, we can Debug Process As root.How can we set the same option in Test as Debug Process As root. The option is disabled.I'm using Xcode Version 9.0 (9A235). I couldn't find anything in .xcscheme file.Thanks 🙂
Replies
0
Boosts
0
Views
706
Activity
Oct ’17
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
980
Activity
Apr ’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
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.3k
Activity
Oct ’16
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
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
979
Activity
Sep ’17
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
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’24