Search results for

file uri scheme

79,857 results found

Post

Replies

Boosts

Views

Activity

Reply to Why can't I see build warnings for target dependencies within the workspace?
Add your dependency build target to your current scheme. Product > Scheme > Edit Scheme > Build > +The same problem is explained at this link.https://github.com/CocoaPods/CocoaPods/issues/5299I'm not sure that it is really a Xcode bug. Maybe its just a change in functionality, but this allows me to see all compiler warnings.Tested in Xcode 8.1 (8B62)Hope this helps.Sincerely,Jacques
Dec ’16
Reply to Very dumb Xcode question about provisioning profiles
One could argue Finder is actually a more logical place for this. In Xcode you don’t work directly with .mobileprovision files, so they aren’t present as project files that you could click on and see in an inspector pane. They just exist as free files in a known location. And it turns out Xcode does have a feature to show details for the profile for a target, though it seems to be limited to the profile used by the current scheme’s Run build configuration. It’s a little ⓘ button in the target’s Signing & Capabilities tab.
Apr ’22
Reply to Preview of SwitftUI View used in multiple targets
I found the same issue when testing with SwiftUI tutorial - creating a watchos/macos app. I can't get away with the error The run destination iPhone 12 Pro Max is not valid for Running the scheme 'WatchLandmarks'. anyway even when only WatchKitExtension is selected as the target. It only happens to the watchos scheme, but not the macos scheme. This seems to be a defect of XCode Previews.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’20
iOS 26 web page with script is terminated on custom scheme WKURLSchemeHandler
Something has changed in iOS 26 and now if custom scheme is used and web page contains scripts WebKit is terminated. 0x1130bc170 - [PID=47858] WebProcessProxy::didClose: (web process 0 crash) 0x1130bc170 - [PID=47858] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash final class CustomSchemeViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let sampleConfiguration = WKWebViewConfiguration() sampleConfiguration.setURLSchemeHandler( SampleURLSchemeHandler(), forURLScheme: sample ) let webView = WKWebView(frame: view.bounds, configuration: sampleConfiguration) webView.autoresizingMask = [.flexibleWidth, .flexibleHeight] view.addSubview(webView) webView.navigationDelegate = self webView.load(URLRequest(url: URL(string: sample://pages/sample.html)!)) } } extension CustomSchemeViewController: WKNavigationDelegate { func webViewWebContentProcessDidTerminate(_ webView: WKWebView) { print(webViewWebContentProcessDidTerminate) } } final class SampleURLSchemeHa
2
0
234
Jul ’25
Custom url scheme for a java application on OSX
Hi,I have a java application that works on osx. The way it works is :1.An xcode project is created with cocoa framework.2.The jar is built and copied to the resources folder via the build phase.3.In the main method of the xcode project I use int (*jliLaunchFunctionPointer)() = dlsym(handle, JLI_Launch);to launch the application.jliLaunchFunctionPointer(argvArrSize, argv2, / main argc, argc */ 0, NULL, / java args */ 0, NULL, / app classpath */ FULL_VERSION, / full version defined */ DOT_VERSION, / dot version defined */ Name, / program name */ launch name,/ launcher name */ FALSE, / JAVA_ARGS */ FALSE, / classpath wildcard*/ FALSE, / windows-only javaw */ 0); / ergonomics class policy */ I have added the required values in the info.plist for the application such that my application gets launched when the url is fired.However i cannot pass arguments in the url to the java application.To do this I used the following code in CustomUrl.m file:- (void)getUrl:(NSAppleEventDescriptor *)eventwithReplyEvent:(
0
0
563
Sep ’16
Reply to Doesn't work proxy auto config on iOS 15
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15-release-notes Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(::::). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845)
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’21
Reply to Xcode 9 produces invalid Code Signature
Yes I did, but somehow forgot to post it here. In my case, both targets (MAS & Dev ID version) depend on other targets, like helper apps and app extensions, which are being copied into the main app bundle. I've configured the schemes of the main apps to automatically build the schemes of their dependencies, but for some reason this configuration got messed up (Xcode sometimes crashed when I edited the schemes). Xcode ended up building the wrong dependencies which themselves were signed with a code signature not matching the one of the main app. After fixing the schemes I was able to create a valid bundle.
Jan ’18
Reply to Implementing A Direct Link to App Settings
Is there a URL scheme that I can use to directly open that panel? No. I have general advice on this topic in this post. Many settings show up both some centralised area within Settings and in the app-specific settings, and you could file an enhancement request for Apple to do that with Sign in with Apple. Alternatively, file an ER for a way to open its entry in the the centralised area. If you do file any bugs about this, 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: Programming Languages SubTopic: Swift Tags:
Apr ’24
Reply to impersonation for os x.
>impersonationI think/hope you meant synchronization...Once you've connected to the other macs via sharing, I'd use applescript to read files/permissions and sync folders accordingly. See the docs on both.Just keep in mind that Apple already provides user-facing schemes for this, so you may be attempting a new wheel.
Topic: App & System Services SubTopic: Drivers Tags:
Jul ’19
Reply to Reduced CPU usage w/ Time Profiler?
By default, the profile action uses a release configuration, while the run action uses debug. If you change your scheme so the run action uses a release configuration (from the Product menu, select Scheme, then Edit Scheme), does it match the performance you see while profiling?Note that using the release configuration can make debugging more difficult, so you normally want it on debug while you're working on your app.
Sep ’15
Reply to jump to watch app on first tab
so we should not use it?The general rule for Apple URL schemes is that, if it’s not documented, you shouldn’t use it. Lots of folks have discovered the hard way that relying on undocumented URL schemes usually ends in binary compatibility tears down the line.is there any correct and proper way how to jump to watch app?I’m not aware of such an option, although it seems like a reasonable enhancement request based on the existence of UIApplicationOpenSettingsURLString. If you do file an ER, please post your bug number, just for the record.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’17
Reply to Failed to load DataDetectorsUI.framework ()
I've been seeing Failed to load DataDetectorsUI.framework () for a number of days now, but I've been ignoring it up to now, since it hasn't posed any functional problems for me. I suspect it's because I'm doing API calls to various external services, and tvOS probably does not support URL schemes for sending files to another app.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
"No scheme" when i open a project in xcode
Hi,I transferred a project from one mac to another through airdrop. In the destination mac,when i open the project, it is showing No scheme.In source mac it is working fine with no error.source mac :xcode : Version 9.3.1 (9E501)swift compiler : 4.1Destination mac:xcode : 9.2 (9C40b)swift compiler : 3.2help me in this regard.
1
0
7.8k
Oct ’18