Search results for

“file uri scheme”

81,707 results found

Post

Replies

Boosts

Views

Activity

Reply to WKURLSchemeHandler and fetch
I believe I know the root of this issue. In my case, the webview has its base URL set as a valid location, with a scheme of https. WKWebView sees custom schemes as insecure. WKWebView also does not allow pages loaded with a secure scheme to fetch from domains which are not secure. If I set the base url of my page to nil or an http URL, fetch loads from the custom scheme handler as expected. I haven't yet found any way to change the policy to allow the insecure fetch to proceed.
Topic: Safari & Web SubTopic: General Tags:
Mar ’23
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
"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 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
881
Sep ’23
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 Opening the Extension menu in the System Preferences
Any chance you could push to get the x-apple.systempreferences URL scheme properly documented? The best first step here is for you to file a bug against the docs. 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: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24
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 WKURLSchemeHandler and fetch
I believe I know the root of this issue. In my case, the webview has its base URL set as a valid location, with a scheme of https. WKWebView sees custom schemes as insecure. WKWebView also does not allow pages loaded with a secure scheme to fetch from domains which are not secure. If I set the base url of my page to nil or an http URL, fetch loads from the custom scheme handler as expected. I haven't yet found any way to change the policy to allow the insecure fetch to proceed.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’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
"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.
Replies
1
Boosts
0
Views
7.8k
Activity
Oct ’18
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
881
Activity
Sep ’23
ARKit Replay Data scheme option not available in Xcode 15.0 beta
The Run scheme > Options section in Xcode 14.x used to contain the ability to utilize a recorded video from Reality Composer as the replay data for an ARSession. That option is now gone in the Xcode 15.0-beta. Is this intentional?
Replies
1
Boosts
0
Views
643
Activity
Jun ’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 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