Search results for

“file uri scheme”

81,725 results found

Post

Replies

Boosts

Views

Activity

Swift Package Manager - Crashes on release scheme
Hello, I'm encounter crashes when integrating a company internal package through SPM only when I compile my app with the release scheme. My solution so far was to directly integrate sources into my project to solve theses crashes. For the context, the library use Metal and AVPlayer to manipulate AVPlayerItem and render video. Crashes frequently happened on those following lines: self.playerItem = AVPlayerItem(asset: asset) self.videoOutput = AVPlayerItemVideoOutput(outputSettings: [ kCVPixelBufferPixelFormatTypeKey as String: NSNumber(value:kCVPixelFormatType_32BGRA), kCVPixelBufferMetalCompatibilityKey as String: NSNumber(value: true)]) self.playerItem?.add(self.videoOutput!) The videoOutput variable is becoming nil resulting a crash. I have tried to disable compilation optimization of Apple Clang and Swift Compiler in the app and in the package (I don't know if compilation parameters of a package have any influence at all). I tried this because theses compilation parameters are different in release
0
0
638
Nov ’21
macos notes:// url scheme
I see that notes:// url will open notes.app, but what is the syntax to show a specific note? I am interested in showing notes that are not explicitly shared. For example, I have a note with title Movies and note id x-coredata://1C50AF52-CC9F-4BBE-8122-D5F713B198E8/ICNote/p22972 I tried things like: notes://Movies notes://?name=Movies notes://1C50AF52-CC9F-4BBE-8122-D5F713B198E8/ICNote/p22972 but none of those work.
3
0
3.9k
Mar ’22
Reply to Perplexity's API Xcode integration
Ah. Correct, we only support /v1 prefixes at the moment. Please file a feedback request so we can bump the priority on this. As an alternative, you could have a local service act as a passthrough so you can make that service implement /v1 and then bounce to your other URL scheme from there.
Feb ’26
Using Simulator in Xcode 7.3.1 causes Xcode 8 projects to lose Scheme setting
Bug 27180467 submitted:NOTE: that there is no attached file in this forum, but it was attached to the bug report.Summary:Both Xcode 7.3.1 and Xcode 8 beta 2 are installed. Running a project on the 9.3 simulator in Xcode 7.3.1 works. However, closing Xcode and the simulator, then opening a different project in Xcode 8 beta 2 results in a loss of scheme setting, as shown in the attached file NoScheme.png.Steps to Reproduce:1. Start with Xcode 7.3.1 installed2. Install Xcode 8 beta 2 a. download b. drag Xcode-beta from Downloads folder to Applications folder c. run Xcode-beta3. Create an iOS project in Xcode 8 beta 24. Close Xcode 8 beta 25. Open Xcode 7.3.16. Run an iOS project (a different project not related in any way to the one just created in Xcode 8 beta 2) on a simulator (for example the iPad 2 (9.3) simulator)7. Exit Xcode 7.3.18. Exit Simulator9. Run Xcode 8 beta 210. Load the project created in step 3Expected Results:The Xcode 8 beta 2 project's Scheme should still
9
0
2.4k
Jul ’16
Reply to Unable to see source editor extension commands in Xcode 16
Geting Xcode to recognise your source editor extension can be tricky. There are two cases to consider: Debugging Production I recommend you start with the debugging case. When you create a new source editor extension target, Xcode create a scheme for it. That scheme isn’t very useful out of the box. Do this: Use your primary copy of Xcode for this work. Ideally it’d be the one in the Applications folder. Select the extension scheme in Product > Scheme. Choose Product > Scheme > Edit Scheme. In the Run action, switch to the Info tab. On the Executable popup, choose Other and select your primary copy of Xcode. Make sure Debug Executable is not checked. Close the sheet and then choose Product > Run. Xcode should launch a second copy of itself. In the Dock, you’ll see the icon with an orangey tint. Bring that to the front. In this copy, open a test project and navigate to a source file. Your extension should be visible at the bottom of the
Mar ’25
Reply to Export Localizations Build Error on Specific Pod's Umbrella.h File
I have a ton of issues Importing and Exporting Localisation files, and have burnt too many evenings ! I usually resort to the XCode command line , that seems pretty reliable .... I do a clean build maybe -SkipMacroValidation helps I cant recall ! /usr/bin/xcodebuild -sdk iphoneos -skipMacroValidation -configuration Debug -workspace my.xcworkspace -scheme myScheme build CODE_SIGNING_ALLOWED=NO Then an Import or export /usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace my.xcworkspace -scheme myScheme -importLocalizations -localizationPath path-to/my.xcloc CODE_SIGNING_ALLOWED=NO
May ’24
I am doing apple sign in with js. When click on continue with apple id after putting the credentials for next step. It doesnot redirects to the redirect uri. I can help with my client Id also if you need?
I am doing apple sign in with js. When click on continue with apple id after putting the credentials for next step. It doesnot redirects to the redirect uri. I can help with my client Id also if you need?I can see the apple authorize api is returning token as well as code in the network. But still it is not redirecting to the redirect uri. Why?? And also some time shows 403 forbidden. Am i missing something here?? clientId : clientId, scope : email name, redirectURI : https://www.publicissapient.com, responseMode:form_post, responseType:code id_token, state : 'DE', usePopup : trueCredentials i can provide if you need?
0
0
698
Mar ’20
Reply to After having received the key server the video doesn't start
This would appear to be a content authoring issue or .m3u8 playlist issue. For debugging purposes only, to determine if it is a content authoring issue we recommend you set your EXT-X-KEY tag KEYFORMAT attribute in the .m3u8 playlist to identity instead of com.apple.streamingkeydelivery, add the initialization vector (IV) of the key you are using to the IV attribute, and set the URI attribute to an http URL pointing to a (16-byte) resource containing only the raw, unencrypted AES key. For example, instead of something like this:#EXT-X-KEY:METHOD=SAMPLE-AES,URI=skd://key67,KEYFORMAT=com.apple.streamingkeydelivery,KEYFORMATVERSIONS=1do something like this:#EXT-X-KEY:METHOD=SAMPLE-AES,URI=http://mysite.com/my16ByteKey.bin,KEYFORMAT=identity,IV=0xA30FE123ECBF1BE323A775A119C553BCand make your 16-byte key available on your mysite.com web server.This allows the client to receive the same content, but instead of decrypting it with FairPlay Streaming it decrypts it with a clear text AES key
Topic: Media Technologies SubTopic: Streaming Tags:
Aug ’15
custom url scheme launches the app but doesn't call open url
I have a custom url scheme for my app, prior to building with Xcode 10 when a user taps on a URL with the custom scheme my app would launch and a delegate call would be made to:```func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool```However, now that I am building with Xcode 10 this functionality is broken. The app continues to launch when a user taps on the custom url, however the open url method in my app delegate does not get called.I've been trying everything I can think of here and can't seem to figure out why it is not getting called. If I create a sample app using the same URL scheme it works just fine and open url is called. Something has got to be going wrong inside my app, some other item in my info.plist or build settings that could be interfering maybe?Has anyone else seen this?
Topic: UI Frameworks SubTopic: UIKit Tags:
4
0
3.2k
Sep ’18
Reply to Xcode copy release build signed target
Thank you for explaining. We discussed your case here and we recommend doing an archive build and then copying the app out of the archive. We expect this will give you the best results using code paths that are currently supported. You can copy the app out of the .xarchive by changing the file name ending from .xarchive to .zip. Then you can open the .zip file and copy the app into the Applications folder. Note ~ Searching on the web I found some folks talking about duplicating the run Scheme and changing the Build Configuration to Release and using the result from that. That may work in some cases, but it may not produce correct results in others. This is not a supported code path. We do not recommend using this duplicate Scheme approach.
Mar ’25
Reply to HLS Video in Simulator getting `segPumpRequestCustomURLForCryptKey` crash:
It appears to be centered around the usage of a custom scheme in the HLS m3u8 file link to the encryption key: if I use http(s) to link the encryption key, it works fine. If I use something custom like fakey, it never even makes it to the delegate method for AVAssetResourceLoaderDelegate called resourceLoader(_ resourceLoader: AVAssetResourceLoader, shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest) where I'd swap out the scheme for a real one, because it crashes first. So far, I can only replicate this on the iOS 15 simulator. I've opened a feedback: FB9764319
Nov ’21
Swift Package Manager - Crashes on release scheme
Hello, I'm encounter crashes when integrating a company internal package through SPM only when I compile my app with the release scheme. My solution so far was to directly integrate sources into my project to solve theses crashes. For the context, the library use Metal and AVPlayer to manipulate AVPlayerItem and render video. Crashes frequently happened on those following lines: self.playerItem = AVPlayerItem(asset: asset) self.videoOutput = AVPlayerItemVideoOutput(outputSettings: [ kCVPixelBufferPixelFormatTypeKey as String: NSNumber(value:kCVPixelFormatType_32BGRA), kCVPixelBufferMetalCompatibilityKey as String: NSNumber(value: true)]) self.playerItem?.add(self.videoOutput!) The videoOutput variable is becoming nil resulting a crash. I have tried to disable compilation optimization of Apple Clang and Swift Compiler in the app and in the package (I don't know if compilation parameters of a package have any influence at all). I tried this because theses compilation parameters are different in release
Replies
0
Boosts
0
Views
638
Activity
Nov ’21
macos notes:// url scheme
I see that notes:// url will open notes.app, but what is the syntax to show a specific note? I am interested in showing notes that are not explicitly shared. For example, I have a note with title Movies and note id x-coredata://1C50AF52-CC9F-4BBE-8122-D5F713B198E8/ICNote/p22972 I tried things like: notes://Movies notes://?name=Movies notes://1C50AF52-CC9F-4BBE-8122-D5F713B198E8/ICNote/p22972 but none of those work.
Replies
3
Boosts
0
Views
3.9k
Activity
Mar ’22
Reply to Launch Apple Maps app with a destination and "No Highways" automatically selected?
Not all the Map app settings are surfaced in the URL scheme so please file a bug report asking for this feature. I know it's not what you're looking for but does dirflg=w give you an appoximation of what you want to see? -M
Replies
Boosts
Views
Activity
Nov ’16
Reply to Perplexity's API Xcode integration
Ah. Correct, we only support /v1 prefixes at the moment. Please file a feedback request so we can bump the priority on this. As an alternative, you could have a local service act as a passthrough so you can make that service implement /v1 and then bounce to your other URL scheme from there.
Replies
Boosts
Views
Activity
Feb ’26
Using Simulator in Xcode 7.3.1 causes Xcode 8 projects to lose Scheme setting
Bug 27180467 submitted:NOTE: that there is no attached file in this forum, but it was attached to the bug report.Summary:Both Xcode 7.3.1 and Xcode 8 beta 2 are installed. Running a project on the 9.3 simulator in Xcode 7.3.1 works. However, closing Xcode and the simulator, then opening a different project in Xcode 8 beta 2 results in a loss of scheme setting, as shown in the attached file NoScheme.png.Steps to Reproduce:1. Start with Xcode 7.3.1 installed2. Install Xcode 8 beta 2 a. download b. drag Xcode-beta from Downloads folder to Applications folder c. run Xcode-beta3. Create an iOS project in Xcode 8 beta 24. Close Xcode 8 beta 25. Open Xcode 7.3.16. Run an iOS project (a different project not related in any way to the one just created in Xcode 8 beta 2) on a simulator (for example the iPad 2 (9.3) simulator)7. Exit Xcode 7.3.18. Exit Simulator9. Run Xcode 8 beta 210. Load the project created in step 3Expected Results:The Xcode 8 beta 2 project's Scheme should still
Replies
9
Boosts
0
Views
2.4k
Activity
Jul ’16
Reply to Unable to see source editor extension commands in Xcode 16
Geting Xcode to recognise your source editor extension can be tricky. There are two cases to consider: Debugging Production I recommend you start with the debugging case. When you create a new source editor extension target, Xcode create a scheme for it. That scheme isn’t very useful out of the box. Do this: Use your primary copy of Xcode for this work. Ideally it’d be the one in the Applications folder. Select the extension scheme in Product > Scheme. Choose Product > Scheme > Edit Scheme. In the Run action, switch to the Info tab. On the Executable popup, choose Other and select your primary copy of Xcode. Make sure Debug Executable is not checked. Close the sheet and then choose Product > Run. Xcode should launch a second copy of itself. In the Dock, you’ll see the icon with an orangey tint. Bring that to the front. In this copy, open a test project and navigate to a source file. Your extension should be visible at the bottom of the
Replies
Boosts
Views
Activity
Mar ’25
Reply to Stuck in Sign in With Apple modal flow
Did you try making sure that the redirect uri has https:// in front of it? I was stuck with this same issue until I came across this post https://forums.developer.apple.com/thread/130197. Now, the popup is closing, and I'm getting the DOM events to fire. 😅
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
Reply to Can't debug on watchOS 2
Select the phone scheme first, then select the watch scheme.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Unable to submit watch OS 2 (Swift 2) for internal testing via TestFlight
Are you trying to submit the archive build using the Watch scheme or the iOS scheme?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Export Localizations Build Error on Specific Pod's Umbrella.h File
I have a ton of issues Importing and Exporting Localisation files, and have burnt too many evenings ! I usually resort to the XCode command line , that seems pretty reliable .... I do a clean build maybe -SkipMacroValidation helps I cant recall ! /usr/bin/xcodebuild -sdk iphoneos -skipMacroValidation -configuration Debug -workspace my.xcworkspace -scheme myScheme build CODE_SIGNING_ALLOWED=NO Then an Import or export /usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace my.xcworkspace -scheme myScheme -importLocalizations -localizationPath path-to/my.xcloc CODE_SIGNING_ALLOWED=NO
Replies
Boosts
Views
Activity
May ’24
I am doing apple sign in with js. When click on continue with apple id after putting the credentials for next step. It doesnot redirects to the redirect uri. I can help with my client Id also if you need?
I am doing apple sign in with js. When click on continue with apple id after putting the credentials for next step. It doesnot redirects to the redirect uri. I can help with my client Id also if you need?I can see the apple authorize api is returning token as well as code in the network. But still it is not redirecting to the redirect uri. Why?? And also some time shows 403 forbidden. Am i missing something here?? clientId : clientId, scope : email name, redirectURI : https://www.publicissapient.com, responseMode:form_post, responseType:code id_token, state : 'DE', usePopup : trueCredentials i can provide if you need?
Replies
0
Boosts
0
Views
698
Activity
Mar ’20
Reply to After having received the key server the video doesn't start
This would appear to be a content authoring issue or .m3u8 playlist issue. For debugging purposes only, to determine if it is a content authoring issue we recommend you set your EXT-X-KEY tag KEYFORMAT attribute in the .m3u8 playlist to identity instead of com.apple.streamingkeydelivery, add the initialization vector (IV) of the key you are using to the IV attribute, and set the URI attribute to an http URL pointing to a (16-byte) resource containing only the raw, unencrypted AES key. For example, instead of something like this:#EXT-X-KEY:METHOD=SAMPLE-AES,URI=skd://key67,KEYFORMAT=com.apple.streamingkeydelivery,KEYFORMATVERSIONS=1do something like this:#EXT-X-KEY:METHOD=SAMPLE-AES,URI=http://mysite.com/my16ByteKey.bin,KEYFORMAT=identity,IV=0xA30FE123ECBF1BE323A775A119C553BCand make your 16-byte key available on your mysite.com web server.This allows the client to receive the same content, but instead of decrypting it with FairPlay Streaming it decrypts it with a clear text AES key
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Aug ’15
custom url scheme launches the app but doesn't call open url
I have a custom url scheme for my app, prior to building with Xcode 10 when a user taps on a URL with the custom scheme my app would launch and a delegate call would be made to:```func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool```However, now that I am building with Xcode 10 this functionality is broken. The app continues to launch when a user taps on the custom url, however the open url method in my app delegate does not get called.I've been trying everything I can think of here and can't seem to figure out why it is not getting called. If I create a sample app using the same URL scheme it works just fine and open url is called. Something has got to be going wrong inside my app, some other item in my info.plist or build settings that could be interfering maybe?Has anyone else seen this?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
4
Boosts
0
Views
3.2k
Activity
Sep ’18
Reply to Xcode copy release build signed target
Thank you for explaining. We discussed your case here and we recommend doing an archive build and then copying the app out of the archive. We expect this will give you the best results using code paths that are currently supported. You can copy the app out of the .xarchive by changing the file name ending from .xarchive to .zip. Then you can open the .zip file and copy the app into the Applications folder. Note ~ Searching on the web I found some folks talking about duplicating the run Scheme and changing the Build Configuration to Release and using the result from that. That may work in some cases, but it may not produce correct results in others. This is not a supported code path. We do not recommend using this duplicate Scheme approach.
Replies
Boosts
Views
Activity
Mar ’25
Reply to HLS Video in Simulator getting `segPumpRequestCustomURLForCryptKey` crash:
It appears to be centered around the usage of a custom scheme in the HLS m3u8 file link to the encryption key: if I use http(s) to link the encryption key, it works fine. If I use something custom like fakey, it never even makes it to the delegate method for AVAssetResourceLoaderDelegate called resourceLoader(_ resourceLoader: AVAssetResourceLoader, shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest) where I'd swap out the scheme for a real one, because it crashes first. So far, I can only replicate this on the iOS 15 simulator. I've opened a feedback: FB9764319
Replies
Boosts
Views
Activity
Nov ’21