Search results for

“file uri scheme”

84,483 results found

Post

Replies

Boosts

Views

Activity

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
441
Jul ’25
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
In Xcode's build phases section is it possible to enable/disable compile flags bases on scheme
If an Xcode project has some compiler flags set in Build Phases / Compile Sources, then is it possible to have those enabled if scheme A is selected and disabled if scheme B is selected. Same question for things in Build Settings, such as Other Compiler Flags. I suppose it could be achieved by having two targets, one with things enabled and one without, but for a very large complex project, duplicating targets is not necessarily an easy thing to do.
1
0
105
May ’25
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 How do I configure the binary so that I do only support A12 and A13 chips that support the AVCaptureMultiCamSession API?
While that scheme works for 'arkit', I don't yet see a more restrictive key for arkit 3.0https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3You may want to file an enhancement request for such a key via the bug reporter.Good luck
Sep ’19
Reply to SKRenderer freezes with xcode11 ios13
Hello all,As a workaround, I recommend that you try running your app with Metal API validation disabled (Click your build target -> Edit Scheme -> Options -> Metal API Validation -> Disabled).Additionally, please file a bug report for this issue using our feedback assistant tool at: https://developer.apple.com/bug-reporting/
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’19
Reply to What is the method to read Accessory Serial Number Characteristic value and this method will be deprecated soon?
>All the hardware people are still required to set itDon't conflate specific MFi licensing requirements and vendor firmware update schemes with general developer needs.As always, devs are encouraged to file bugs to help make themselves heard - be sure to add your report #(s) here for reference, thanks and good luck.
Topic: App & System Services SubTopic: General Tags:
Oct ’18
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
585
Sep ’16
Reply to Monterey - Uninstalling Revisited
I've just tried this on Monterey Beta 5. The problem persists however the systemextensionsctl command no longer crashes, but instead still prints out our system extension in a state of [activated enabled], but now two additional lines showing the Team ID, the URI of the system extension, the version, and then - [realizing]
Topic: App & System Services SubTopic: Drivers Tags:
Aug ’21
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
Replies
2
Boosts
0
Views
441
Activity
Jul ’25
Reply to Xcode 12 iOS 14 error purchase
This solved it for me: You must be signed in to the App Store with the same user as specified in: Menu: Product > Scheme > Edit Scheme > Test > info > Debug Process as: appstoreusername
Replies
Boosts
Views
Activity
Nov ’21
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.
Replies
Boosts
Views
Activity
Apr ’22
In Xcode's build phases section is it possible to enable/disable compile flags bases on scheme
If an Xcode project has some compiler flags set in Build Phases / Compile Sources, then is it possible to have those enabled if scheme A is selected and disabled if scheme B is selected. Same question for things in Build Settings, such as Other Compiler Flags. I suppose it could be achieved by having two targets, one with things enabled and one without, but for a very large complex project, duplicating targets is not necessarily an easy thing to do.
Replies
1
Boosts
0
Views
105
Activity
May ’25
Reply to invalid_client for newly created Service Id
We have the same problem here, the new Service ID does not work: invalid_client The old one works like a charm (we did not delete it though) We also cannot use newly added redirect URIs to old Service IDs, invalid_redirect_uri Looks like something does not get updated correcly on Apple side
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Apple Login not working on Safari in my Angular App
We have resolved the issue by modifying the redirect URL. The new redirect URL includes query parameters in the return URI, which enables us to manage the login process more effectively. Users will now be redirected to the homepage upon successful login. If anyone has a better standard alternative solution, please share it here. Thank you!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
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
Replies
Boosts
Views
Activity
Dec ’16
Reply to Xcode 12 beta 4 - error compiling for Simulator
kiji123 Thanks - Work your solution: I have multiple schemes, I searched in all documents of my project ONLYACTIVEARCH and then I changed the parameter ONLYACTIVEARCH = NO in the scheme whit error and fixed the issue.
Replies
Boosts
Views
Activity
Sep ’20
Reply to ld: symbol(s) not found for architecture arm64
I generated an Xcode project using CMake and just got this error. Unchecking the 'Shared' box solved the problem. I found it in Product -> Scheme -> Edit schemes -> Build Target
Replies
Boosts
Views
Activity
Feb ’23
Reply to How do I configure the binary so that I do only support A12 and A13 chips that support the AVCaptureMultiCamSession API?
While that scheme works for 'arkit', I don't yet see a more restrictive key for arkit 3.0https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3You may want to file an enhancement request for such a key via the bug reporter.Good luck
Replies
Boosts
Views
Activity
Sep ’19
Reply to SKRenderer freezes with xcode11 ios13
Hello all,As a workaround, I recommend that you try running your app with Metal API validation disabled (Click your build target -> Edit Scheme -> Options -> Metal API Validation -> Disabled).Additionally, please file a bug report for this issue using our feedback assistant tool at: https://developer.apple.com/bug-reporting/
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Sep ’19
Reply to What is the method to read Accessory Serial Number Characteristic value and this method will be deprecated soon?
>All the hardware people are still required to set itDon't conflate specific MFi licensing requirements and vendor firmware update schemes with general developer needs.As always, devs are encouraged to file bugs to help make themselves heard - be sure to add your report #(s) here for reference, thanks and good luck.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’18
Reply to MapKit crash on Catalyst after resizing the window
In Xcode, in the Product Menu, go to Scheme, then Edit Scheme.... In the left panel select Run (Debug) and in Diagnostic tab uncheck API Validation under Metal settings.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
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:(
Replies
0
Boosts
0
Views
585
Activity
Sep ’16
Reply to Monterey - Uninstalling Revisited
I've just tried this on Monterey Beta 5. The problem persists however the systemextensionsctl command no longer crashes, but instead still prints out our system extension in a state of [activated enabled], but now two additional lines showing the Team ID, the URI of the system extension, the version, and then - [realizing]
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Aug ’21