Search results for

“file uri scheme”

81,708 results found

Post

Replies

Boosts

Views

Activity

Reply to Passing URL parameters with LSApplicationQueriesSchemes
This is a new security feature of iOS 9.Any app built with SDK 9 needs to provide a LSApplicationQueriesSchemes entry in its plist file, declaring which schemes it attempts to query.<key>LSApplicationQueriesSchemes</key> <array> <string>urlscheme</string> <string>urlscheme2</string> <string>urlscheme3</string> <string>urlscheme4</string> </array>As a point of clarification, do not include :// in the string of a specific app to be whitelisted in the LSApplicationQueriesSchemes array, i.e. comgooglemaps://. If you do include :// canOpenUrl: will return NO and provide the This app is not allowed to query for scheme xxx syslog/error. However, when you make the actual call of canOpenUrl: you must still include the colon i.e. canOpenUrl:@comgooglemaps:Watch WWDC 2015 Session 703 for more information.And the following article clearly explains what to look out for:awkwardhare.com/post/121196006730/quick-take-on-ios-9-ur
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Reply to Xcode 14 and proxies
What now always works for me now is (after weeks of real pain with SPM behind a corporate proxy): On the terminal xcodebuild -scmProvider system -resolvePackageDependencies -disablePackageRepositoryCache -workspace MyProject.xcworkspace -scheme MyScheme On XCode after the xcodebuild finishes XCode - File - Packages - Resolve Package Versions. I hope this is of any help.
Nov ’22
Reply to Protecting resources in the application bundle?
You can extract from zip files in the bundle on the fly...perhaps that will slow down the curious when configured properly.Just remember that the more you want to protect it, the more work you'll have to do, so at some point you risk a counter-productive scheme that still won't stop the determined. And whatever that amounts to, I wouldn't discuss here in public 😉Listen to Eskimo on this.
Topic: Privacy & Security SubTopic: General Tags:
Apr ’16
Podcasts URL scheme does not follow podcast due to HTTP URL
Hello! In our website, we allow members to follow private RSS feeds on their Podcasts app easily with the click of a button. Underneath the button is a link in the format of: podcast://example.rssurl.com # Example With this URL scheme, the Podcasts app launches correctly and shows the Follow a Show by URL input box, with the private RSS feed URL prefilled. However, the prefilled URL uses HTTP instead of HTTPS. So, the example link above (podcast://example.rssurl.com) when clicked is converted to: http://example.rssurl.com in the Follow a Show by URL input box in the Podcasts app. We noticed the HTTP form of the URL does not work well, as it sometimes fail to follow the show. Clicking on Follow would simply close the box and cause nothing to happen, not even error messages. We then tested with HTTPS by manually inserting the URL like so: https://example.rssurl.com and this would always work. However, this is not ideal as our users would have to manually paste in the URL all the time. It'd be great if
0
0
882
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
Dec ’16
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
285
Jul ’25
Reply to Target is null when adding an extension (Device Activity Monitor Extension)
Same Question: This scheme has been created for the “(null)” target. Choose Activate to use this scheme for building and debugging. Schemes can be chosen in the toolbar or Product menu. This problem caused the app extension not working. I used Xcode on another mac to create the app extesion and solve this problem. But not a good idea..
Replies
Boosts
Views
Activity
Oct ’23
Reply to "nw_endpoint_handler_set_adaptive…" coming from XPC service
If you want to hide these errors do this: 1 - From Xcode menu open: Product > Scheme > Edit Scheme 2 - On your Environment Variables set OS_ACTIVITY_MODE = disable
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Passing URL parameters with LSApplicationQueriesSchemes
This is a new security feature of iOS 9.Any app built with SDK 9 needs to provide a LSApplicationQueriesSchemes entry in its plist file, declaring which schemes it attempts to query.<key>LSApplicationQueriesSchemes</key> <array> <string>urlscheme</string> <string>urlscheme2</string> <string>urlscheme3</string> <string>urlscheme4</string> </array>As a point of clarification, do not include :// in the string of a specific app to be whitelisted in the LSApplicationQueriesSchemes array, i.e. comgooglemaps://. If you do include :// canOpenUrl: will return NO and provide the This app is not allowed to query for scheme xxx syslog/error. However, when you make the actual call of canOpenUrl: you must still include the colon i.e. canOpenUrl:@comgooglemaps:Watch WWDC 2015 Session 703 for more information.And the following article clearly explains what to look out for:awkwardhare.com/post/121196006730/quick-take-on-ios-9-ur
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Cannot create a shared texture with iosurface on Apple silicon mac.
This worked for me You should be able to work around it by turning off Metal Validation in Scheme -> Edit Scheme -> Run -> Diagnostics -> Metal API Validation
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
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 Xcode 14 and proxies
What now always works for me now is (after weeks of real pain with SPM behind a corporate proxy): On the terminal xcodebuild -scmProvider system -resolvePackageDependencies -disablePackageRepositoryCache -workspace MyProject.xcworkspace -scheme MyScheme On XCode after the xcodebuild finishes XCode - File - Packages - Resolve Package Versions. I hope this is of any help.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Protecting resources in the application bundle?
You can extract from zip files in the bundle on the fly...perhaps that will slow down the curious when configured properly.Just remember that the more you want to protect it, the more work you'll have to do, so at some point you risk a counter-productive scheme that still won't stop the determined. And whatever that amounts to, I wouldn't discuss here in public 😉Listen to Eskimo on this.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’16
Podcasts URL scheme does not follow podcast due to HTTP URL
Hello! In our website, we allow members to follow private RSS feeds on their Podcasts app easily with the click of a button. Underneath the button is a link in the format of: podcast://example.rssurl.com # Example With this URL scheme, the Podcasts app launches correctly and shows the Follow a Show by URL input box, with the private RSS feed URL prefilled. However, the prefilled URL uses HTTP instead of HTTPS. So, the example link above (podcast://example.rssurl.com) when clicked is converted to: http://example.rssurl.com in the Follow a Show by URL input box in the Podcasts app. We noticed the HTTP form of the URL does not work well, as it sometimes fail to follow the show. Clicking on Follow would simply close the box and cause nothing to happen, not even error messages. We then tested with HTTPS by manually inserting the URL like so: https://example.rssurl.com and this would always work. However, this is not ideal as our users would have to manually paste in the URL all the time. It'd be great if
Replies
0
Boosts
0
Views
882
Activity
Sep ’23
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 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 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 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
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
285
Activity
Jul ’25