Search results for

file uri scheme

78,694 results found

Post

Replies

Boosts

Views

Activity

Reply to CD4CK Syncing after long-term usage concerns
Sad nobody responded.What I ended up doing was creating several Core Data configurations:* Cache* Cloud* LocalCloud of course has the syncing enabled on it. So in your scenario, users can start off on Local and have it sync against the Cloud configuration in the background. Are you actually storing the entire file contents within Core Data? If so, you might want to move to a model of storing just a URI to an iCloud document, after-which a user accessing it can trigger a separate iCloud sync.I'm also fairly sure I saw documentation that there is a hard restraint on cloudkit record sizes as well.
Sep ’19
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 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
Reply to StoreKit testing in Xcode for an existing macOS app
It sounds like you've performed the right steps: Create the .storekit file Add the product metadata to the file Select the .storekit configuration file in your scheme's run options Run the app If you're not seeing it at this point, would you be able to collect a sysdiagnose - https://download.developer.apple.com/OS_X/OS_X_Logs/sysdiagnose_Logging_Instructions.pdf and then submit feedback - https://feedbackassistant.apple.com with that sysdiagnose attached? If you reply with the feedback ID we can take a look at it.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Reply to Project Won't Build with .h File
More bad news: It isn't just the one .h file. If I select any .h file and use Product>Perform Action>Compile File I get an error 'headerFileName.h' is not a member of any targets in the current scheme that build for running. So it appears that the target is broken and doesn't know it has any headers. If I delete the target and re-build the project will XCode create a new target? Maybe one that works?
Jun ’23
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
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 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
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
677
Mar ’20
Reply to AVAssetResourceLoaderDelegate and TS files error: Error Domain=CoreMediaErrorDomain Code=-12881 "custom url not redirect"
Thanks for your reply. I am creating a custom playlists (m3u8) & passing it to player and it is working fine with the custom scheme. In this method shouldWaitForLoadingOfRequestedResource when there is a call for ts segment with the custom scheme . I am replacing the custom scheme with the https. NSURLRequest *redirect = nil; NSString *url = loadingRequest.request.URL.absoluteString; NSRange tldr = [url rangeOfString:@//]; if (![url hasPrefix:@http] && tldr.location != NSNotFound) { url = [url stringByReplacingCharactersInRange:NSMakeRange(0, tldr.location) withString:@https:]; } redirect = [NSURLRequest requestWithURL:[NSURL URLWithString:url]]; [loadingRequest setRedirect:redirect]; NSHTTPURLResponse *response = [[NSHTTPURLResponse alloc] initWithURL:[redirect URL] statusCode:302 HTTPVersion:nil headerFields:nil]; [loadingRequest setResponse:response]; [loadingRequest finishLoading]; and it is working fine .. My question is how I can pass downloaded ts file. i
Topic: Media Technologies SubTopic: Streaming Tags:
Jun ’20
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
Is it possible to view Xcode output from a scheme's archive post actions's script
In Xcode I've: select Product / Scheme / Edit scheme tap on Archive on the left hand side of the select post actions and + to add a new script Then in there I have added a script I want to run on the archive after its created. I'd like to be able to see the output the script churns out as it goes along but doesn't seem possible? If I just add something like echo hello to the start of the script then I don't see hello visible anywhere when I build an archive (via Product/Archive). I'm looking in the build navigator. Is there somewhere else to look or is it possible to get the logging into the navigator?
0
0
41
Apr ’25