Search results for

file uri scheme

78,602 results found

Post

Replies

Boosts

Views

Activity

Reply to external device http-based control API
According to manufacturer of external device, C# needs the following line of code:webclient.Credentials = new NetworkCredential(<username>, <pass- word>);using (Stream stream = webclient.OpenRead(new Uri ( http://<ipAd- dress>/Gadget/syncconnect/sdk.aspx?command=<command>)))Can anyone please point to examples or advise where this might be placed in viewcontroller?thanks
Apr ’17
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
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 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
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
554
Sep ’16
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 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 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 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
"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
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