Search results for

“file uri scheme”

85,506 results found

Post

Replies

Boosts

Views

Activity

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 Stuck in Sign in With Apple modal flow
I had the same problem testing on localhost. Popup window wouldn't disappear when clicking either Continue or Cancel button and neither the AppleIDSignInOnSuccess nor AppleIDSignInOnFailure events would fire unless clicking the browser's close button.I fixed it by using ngrok.com and updating all relevant URIs/domain names in the service ID upstream at apple and the redirect URI in my local scripts. The redirect-uri must specify the same fully qualified domain name (including subdomain) as the page where the popup is triggered from. Using something like ngrok.com and specifying the correct domain for the relevant service ID should solve it.Would be nice if the Apple JS SDK didn't fail silently in this particular case.
Topic: App & System Services SubTopic: General Tags:
Mar ’20
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
683
Jul ’17
Reply to Callkit auto call mute/unmute many times in iOS 17
we are having the same issue on our side on iOS 17, action was only requested once but after that call kit is triggering many times the provider performSetMuted function. Tested on Xcode 14.1 and Xcode 15.0 and we have this issue on both versions. [DEBUG] [6be8b000] 20:35:56.477: ims: ims.call.imscallkitmanager -[IMSCallKitManager requestAction:actionName:call:completion:] (204): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), actionName: CXSetMutedCallAction [INFO ] [6be8b000] 20:35:56.568: ims: ims.call.imscallkitmanager -[IMSCallKitManager provider:performSetMutedCallAction:] (1029): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), setMuted: NO, completion block: [INFO ] [6be8b000] 20:35:56.574: ims: ims.call.imscallkitmanager -[IMSCallKitManager provider:performSetMutedCallAction:] (1029): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), setMuted: YES, completion block: (null) [INFO ] [6be8b000] 20:35:56.593: ims: ims.call.imscallkitmanager -[IMSCallKitMan
Topic: App & System Services SubTopic: General Tags:
Oct ’23
How do you configure multiple iOS URL Schemes
Is it possible to register multiple URL schemes that are associated with different app ids for the same app. For example I have separate apps per environment of my application each with their own unique bundle id. E.Gcom.test.app-dev (testapp-dev://) com.test.app-qa (testapp-qa://) com.test.app (testapp://)If I want to launch the dev app from a url, I would use want to use testapp-dev://
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
911
Jan ’20
Apple's tvOS URL schemes?
I've got an app that lets people load user-defined content into it, and displays that content (for example for e-signage applications, interactive kiosks, et cetera).One of the things I'd like to do in it is put up a description of a podcast, and then put a button on the screen that tells Apple's Podcasts app to open it.I tried to do this via [[UIApplication sharedApplication] openURL: ]; with the URL for the podcast from the iTunes store, based on the claim I saw elsewhere that that works on iOS. It did not work for me on tvOS (9.2b2).I know our apps can provide custom URL schemes, and supposedly the openURL: method will work for one third-party app to open another third-party app. But right now I'm more interested in opening things in Apple's own apps (music, tv, movies, trailers, podcasts, and the app store).Do the tvOS versions of Apple's apps support any URL schems at all right now? Are they documented anywhere?
2
0
2.5k
Jan ’16
SchemeBuildError: Failed to build the scheme
I have an iOS app, and I am trying to add a companion WatchOS app. My iOS app depends on 2 libraries: GoogleMobileAds FirebaseAnalyticsWithoutAdIdSupport When I add a new target for WatchOS, the preview build starts to fail. I am not adding any libraries to WatchOS. The Google Ads and Firebase Analytics libs are only under the iOS target. I am unable to run the preview, I get an error when trying to build the watch scheme. The preview does not work. The build just crashes. I've included the error log below. But, here are the steps I've tried so far: Delete folders inside Derived Data Run a clean build (Cmd + Option + Shift + K) Delete scheme and create a new one Reset Package Cache Restart Xcode Restart Macbook But, it just does not work. I do not understand why the watchOS target is erroring for GoogleUserMessagingPlatform and GoogleMobileAdsTarget when those packages are not linked/used for the watchOS. SchemeBuildError: Failed to build the scheme “timerWatch Watch App” While buil
0
0
142
Apr ’25
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
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
xcstrings and scheme localization debugging issue
Hello, When I use xcstrings in my app, and I have my scheme's localization debugging enabled (when it renders all caps for any non-localized text). Prior to converting to xccstrings, my app shows non caps text for everything. After I convert to xcstrings, some of my app shows caps text for some items. I can see the keys in the xccstrings that I expect, so I do not think it is a bug in the conversion. Could it be a bug in the renderer somehow? FB13261276 Thanks! -- Greg
0
0
711
Oct ’23
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
Replies
Boosts
Views
Activity
Jan ’16
Reply to Stuck in Sign in With Apple modal flow
I had the same problem testing on localhost. Popup window wouldn't disappear when clicking either Continue or Cancel button and neither the AppleIDSignInOnSuccess nor AppleIDSignInOnFailure events would fire unless clicking the browser's close button.I fixed it by using ngrok.com and updating all relevant URIs/domain names in the service ID upstream at apple and the redirect URI in my local scripts. The redirect-uri must specify the same fully qualified domain name (including subdomain) as the page where the popup is triggered from. Using something like ngrok.com and specifying the correct domain for the relevant service ID should solve it.Would be nice if the Apple JS SDK didn't fail silently in this particular case.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
This app is not allowed to query for scheme...
Hi!WIth iOS 9 Beta 1 I always get This app is not allowed to query for scheme... message when trying to use UIApplication's canOpenURL: or openURL: methods. I didn't find any hint on how to grant permission for that query. Can anyone enlighten me?Thanks!Ingo.
Replies
5
Boosts
0
Views
34k
Activity
Jun ’15
Reply to How does one read/parse the NDEF Message from CoreNFC?
This looks to be the URI identification code. You can read more about it here: https://learn.adafruit.com/adafruit-pn532-rfid-nfc/ndef
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’17
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
Replies
0
Boosts
0
Views
683
Activity
Jul ’17
Reply to Callkit auto call mute/unmute many times in iOS 17
we are having the same issue on our side on iOS 17, action was only requested once but after that call kit is triggering many times the provider performSetMuted function. Tested on Xcode 14.1 and Xcode 15.0 and we have this issue on both versions. [DEBUG] [6be8b000] 20:35:56.477: ims: ims.call.imscallkitmanager -[IMSCallKitManager requestAction:actionName:call:completion:] (204): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), actionName: CXSetMutedCallAction [INFO ] [6be8b000] 20:35:56.568: ims: ims.call.imscallkitmanager -[IMSCallKitManager provider:performSetMutedCallAction:] (1029): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), setMuted: NO, completion block: [INFO ] [6be8b000] 20:35:56.574: ims: ims.call.imscallkitmanager -[IMSCallKitManager provider:performSetMutedCallAction:] (1029): call (uri=tel:6910, callId=sca-6d020a75-d04f400-no-ip), setMuted: YES, completion block: (null) [INFO ] [6be8b000] 20:35:56.593: ims: ims.call.imscallkitmanager -[IMSCallKitMan
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23
How do you configure multiple iOS URL Schemes
Is it possible to register multiple URL schemes that are associated with different app ids for the same app. For example I have separate apps per environment of my application each with their own unique bundle id. E.Gcom.test.app-dev (testapp-dev://) com.test.app-qa (testapp-qa://) com.test.app (testapp://)If I want to launch the dev app from a url, I would use want to use testapp-dev://
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
911
Activity
Jan ’20
Apple's tvOS URL schemes?
I've got an app that lets people load user-defined content into it, and displays that content (for example for e-signage applications, interactive kiosks, et cetera).One of the things I'd like to do in it is put up a description of a podcast, and then put a button on the screen that tells Apple's Podcasts app to open it.I tried to do this via [[UIApplication sharedApplication] openURL: ]; with the URL for the podcast from the iTunes store, based on the claim I saw elsewhere that that works on iOS. It did not work for me on tvOS (9.2b2).I know our apps can provide custom URL schemes, and supposedly the openURL: method will work for one third-party app to open another third-party app. But right now I'm more interested in opening things in Apple's own apps (music, tv, movies, trailers, podcasts, and the app store).Do the tvOS versions of Apple's apps support any URL schems at all right now? Are they documented anywhere?
Replies
2
Boosts
0
Views
2.5k
Activity
Jan ’16
SchemeBuildError: Failed to build the scheme
I have an iOS app, and I am trying to add a companion WatchOS app. My iOS app depends on 2 libraries: GoogleMobileAds FirebaseAnalyticsWithoutAdIdSupport When I add a new target for WatchOS, the preview build starts to fail. I am not adding any libraries to WatchOS. The Google Ads and Firebase Analytics libs are only under the iOS target. I am unable to run the preview, I get an error when trying to build the watch scheme. The preview does not work. The build just crashes. I've included the error log below. But, here are the steps I've tried so far: Delete folders inside Derived Data Run a clean build (Cmd + Option + Shift + K) Delete scheme and create a new one Reset Package Cache Restart Xcode Restart Macbook But, it just does not work. I do not understand why the watchOS target is erroring for GoogleUserMessagingPlatform and GoogleMobileAdsTarget when those packages are not linked/used for the watchOS. SchemeBuildError: Failed to build the scheme “timerWatch Watch App” While buil
Replies
0
Boosts
0
Views
142
Activity
Apr ’25
Reply to Authorize page shows "Invalid redirect_uri"
Hi Daniel,To help troubleshoot this, can you report this through the Feedback Assistant providing the following information1. your client_id2. Redirect URI
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’19
Can Custom scheme URL launch cached App Clip?
I am trying to add custom scheme (CFBundleURLSchemes) to my App Clip. I launch the app clip via TestFlight to cache it to the device then i try to access the custom scheme URL to launch App Clip but nothing happened. May I know if it is something I did wrongly or just App Clip does not support Custom Scheme?
Replies
0
Boosts
0
Views
501
Activity
May ’25
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).
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Sep ’24
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:
Replies
Boosts
Views
Activity
Dec ’19
xcstrings and scheme localization debugging issue
Hello, When I use xcstrings in my app, and I have my scheme's localization debugging enabled (when it renders all caps for any non-localized text). Prior to converting to xccstrings, my app shows non caps text for everything. After I convert to xcstrings, some of my app shows caps text for some items. I can see the keys in the xccstrings that I expect, so I do not think it is a bug in the conversion. Could it be a bug in the renderer somehow? FB13261276 Thanks! -- Greg
Replies
0
Boosts
0
Views
711
Activity
Oct ’23