Search results for

file uri scheme

78,504 results found

Post

Replies

Boosts

Views

Activity

How to set destination flag when in edit scheme Xcode?
I am trying to set up a bot to run a test scheme in Xcode Server. I get the following error:Bot Issue for Tapestry Bot-Test (error) No destinations were specified with the -destination flag which were valid for the specified scheme 'TapestryTests'.In reading other posts and doing searches I have seen to set the destination flag in the edit scheme option in Xcode. I have tried several places and don't know where to put this option-destination 'platform=iOS,id=SomeDeviceID' testI tried to enter screenshot but dont see an option. I am under the edit scheme screen where you set your build and run option
0
0
406
Oct ’16
Reply to Xcode Archive issue in NFS (Network Drive)
#1 - I have used below command for archive xcode build xcodebuild clean archive -workspace ${workspace} -scheme ${scheme} -configuration Release -archivePath ${File share path} -verbose -destination 'generic/platform=iOS' CODE_SIGN_STYLE=Manual PROVISIONING_PROFILE_SPECIFIER='XXXXXX' CODE_SIGN_IDENTITY='iPhone Distribution'
Aug ’22
No Scheme Created For "Empty" Project
I recently reinstalled Xcode on my mac, and after opening up a new project and selecting empty i was dismayed to fin that i was unable to build and/or run any of my code. Further investigation found that opening up old saved xcode project files stored on an old external hard drive opened fine and could be built and run. I also discovered that opening other types of project (mac os game, external project, etc) would produce schemes for the projects but not when empty project was selected.Am I doing something wrong?
0
0
434
Sep ’16
Open ApplePay P2P from URL scheme
Hi,I was wondering if there was an URL scheme or other mechanism which could allow me to deep link into iMessage's Apple Pay P2P capabilities?My use case is to single click in my app and jump to an iMessage for a given address with the ApplePay iMessage extension already showing.Thanks,Glen
0
0
630
Jul ’17
How to make the extension's base URI unchanged after restarting Safari
Hello,I've filled a radar about this issue: FB7597364 but I'm wondering if anyone has a reliable workaround for this issue.I have made a Safari app extension which allows users to suspend tabs. Unfortunately, because the baseURI changes each time Safari starts the user sees a Cannot load page error in the tabs that were suspended in the previous session, see a suspended page is hosted by the extension it self.Steps to reproduce:- Extension opens a new tab with the url, eg: safari-extension://AAAAAAA-0000-1111-2222-A0A0A0A0/7075e8a3/suspended.html- User restarts Safari- The tab shows Page cannot be loaded beacause the baseURI changed, since, as far as I know, it's not possible to make the baseURI unachangeable like on other browsers.My temporary workaround (which fails sometimes) is to, when the extension first loads in that session, iterate all tabs and look for urls that match the suspended pattern:override func validateToolbarItem(in window: SFSafariWindow, validationHandler: @escaping ((Bool, String) ->
9
0
2.5k
Feb ’20
Launching MacOS app via Url Scheme
I'm looking for answer or documentation on gatekeeper and launching a MacOS app via a url scheme/custom protocol. Our application is delivered via a zip file downloaded from the web. We utilize a url scheme. The act of extracting the app from the zip registers the url scheme with the OS. From previous research/testing we found we had to break the gatekeeper lock (have the user move the app from the downloaded location) to ensure that the url is honored on first launch of the application. To ensure user compliance, we added a check to make sure that the lock has been removed by looking at the quarantine attribute. This flow is not ideal. I am looking for alternatives and was previously under the impression that if we were to move to a DMG then that would provide the user a better user experience for moving it. However, now that I am getting around to looking into it, I am seeing some implied statements that this is not the case and that the quarantine bit will just be moved
Topic: Safari & Web SubTopic: General
2
0
277
2w
Reply to ASK for Development Credentials
There isn't an ASk to use for development testing, only a derived dASk. You should only change to your deployment credentials once you are ready to deply and for final testing, the Key Server Module (KSM) can only be tested with the development credentials.With only a development KSM you can and should test most of your KSM and content before requesting the FPS Deployment Package. The only thing you won’t be able to test is the final step of the Key Server Module (KSM) securely providing the content keys to the FPS client app or webpage for playback, but this path is tested using the verify_ckc tool as described below.1) First, test your KSM with the verify_ckc tool and test vectors as instructed in the FairPlay Streaming Programing Guide. This is how you are supposed to test your KSM before deploying it and these tests are designed to test the entire development KSM. Note: The testing with the verify_ckc tool and test vectors will only work with the provided development credentials and will fail if the testi
Topic: Media Technologies SubTopic: Streaming Tags:
Dec ’19
OpenURLIntent to custom url scheme
Has anyone figured out how to use the new OpenURLIntent intent to open their own app using a custom URL scheme? I have the following code: @available(iOS 18, *) struct BarcodeScannerControlWidget: ControlWidget { var body: some ControlWidgetConfiguration { StaticControlConfiguration(kind: scannerIntent) { ControlWidgetButton(action: OpenBarcodeScannerIntent()) { Label(Scan Barcode, systemImage: barcode.viewfinder) } } .displayName(Scan Barcode) } } @available(iOS 18, *) struct OpenBarcodeScannerIntent: AppIntent { static var title: LocalizedStringResource = Scan Barcode func perform() async throws -> some IntentResult & OpensIntent { let url = myscheme:///barcodeScanner let openURLIntent = OpenURLIntent(url) return .result(opensIntent: openURLIntent) } } Running this intent doesn't seem to do anything. If I replace the URL with say https://www.apple.com, the intent opens up safari with that URL.
4
0
1.9k
Aug ’24
Reply to How to expose bash script errors?
Thanks for your response, Quinn.I understand that 'exit 1' and 'echo' works from a Build Phase Run Script, but my scripts are run from a scheme during Build pre-actions and post-actions. I have two schemes named Production and Test. My script accepts one parameter, PROD or TEST. This allows the script to differentiate between the Production or Test scheme. The script actually builds a .h file and must be run before the build starts. I don't think that I can use a Build Phase Run Script.I think that I define my Build pre-action script for my scheme like this:prebuildScript=${PROJECT_DIR}/BuildProcess/prebuild.sh errorFile=${buildProcessDir}prebuildErrors.txt $prebuildScript TEST 2>$errorFileThen, I could create a Build Phase Run Script that checks if the error file exists and has more than zero bytes. If the error file has content, the content could be echo'ed and exit 1 could be called. This seems cumbersome, but it may be a solution. Is there
Jan ’16
Reply to Can I generate a docc archive directly from Package.swift?
xcodebuild docbuild still works with a Package.swift file. You'll need to add a -scheme argument to tell xcodebuild which target to build; you can run xcodebuild -list to see the list. For example, you can run xcodebuild docbuild -scheme MyPackage to build a DocC Archive for the MyPackage scheme. The archive bundle will appear in your Derived Data directory (for example, ~/Library/Developer/Xcode/DerivedData/MyPackage-[hash]/Build/Products/Debug/MyPackage.doccarchive).
Jun ’21
Reply to link to open endpoint security extensions via swiftUI
My general advice on this topic is in Supported URL Schemes. does document some URL schemes for ES clients but AFAICT that doesn’t include the ones you were previously using. If you need URL schemes beyond those currently documented, I recommend that you file an enhancement request describing your requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Sep ’24