So...I lost most of the Lunch Card files to a factory reset. There was an issue with Disk Utility - it's a whole thing. But I've managed to recover most of the files. But there's something that isn't working anymore within the code. In SettingsView, where the color scheme (Appearance) picker is located, you choose between light, dark, and system default. But when calling the sheet for AddView in CardsView (using SheetInfo() from Info.swift), it just defaults to whatever the system is set at. When I previewed it, it was light mode when the app setting was dark. Thing is, before I lost all my files, it worked perfectly normal, and consumer versions reflected that. I recovered (and rewrote some of) SettingsView and AddView (thank goodness I showed the full code for AddView here). I may have missed something, so here's my code for both, plus ContentView, CardsView, and Info.swift. SettingsView.swift - https://developer.apple.com/forums/content/attachment/91ff1182-42d3-48b8-9f8d
Search results for
file uri scheme
78,789 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
This is due to a change in WebKit (https://github.com/WebKit/WebKit/commit/78a55cf3976ce0b4543df42b03c335c5b89d27dd) to match the HTML spec with regards to pushState and file: URLs: https://html.spec.whatwg.org/multipage/history.html#can-have-its-url-rewritten If targetURL's scheme is file, and targetURL and documentURL differ in their path component, then return false. (Differences in query and fragment are allowed for file: URLs.) So it's fine to use pushState with file: URLs to go from index.html to index.html#/dashboard, but it is not allowed to go from index.html to index.html/dashboard. Maybe your framework has an option to use hash-based URLs for routing? The other alternative would be to use a custom scheme to serve your content instead of file: URLs.
Topic:
Safari & Web
SubTopic:
General
Tags:
a URL can point at a local file (the scheme is 'file', so such URLs begin file://). For example, if you use NSOpenPanel on macOS to enable the user to select the file(s) to open, you'll get an array of URLs from the panel. See https://developer.apple.com/documentation/appkit/nsopenpanel. NSImage supports jpeg format input.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi guys, I'm a flutter developer on BTG Pactual digital. I was working in a solution to make our app as white-label. In this process, I had to make it select an icon set according to the selected scheme. Searching for a solution, all tips were speaking about Asset Catalog App Icon Set Name on Build Settings, which apparently isn't available on xcode > 13 anymore. After reading the Xcode 13's release notes I think that the Primary Icon Set Name is like this previous one. But, it wasted a lot of my time, because the icon preview isn't gotten according to the icon setted on this new variable. Take a look at this sample: As you can see, the icon preview is equal for all of them, but both the EqiAppIcon and NectonAppIcon has different icon images. Have I forgot some thing?
I've looked at it before but it does not explain it very well and it doesn't make any sense is there any way i can share a file with a url scheme attached so I can access that URL when the user opens it?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hi everyone, I had a quick question regarding how the devices are named under iOS Simulators. Typically, I expect the naming scheme to look like:iPad 2 (9.0)iPad 2 (9.2)iPad Air (9.0)iPad Air (9.2)iPad Air 2 (9.0)iPad Air 2 (9.0)And so on, and then when it gets to iPhone:iPhone 4s (9.0)iPhone 4s (9.2)iPhone 5 (9.0)iPhone 5 (9.2)And so on. But what I'm seeing is the device type and then the device ID, so it looks like:iPhone 4s (3b1a......)iPhone 4s (5d3e......)I was wondering what would cause this. Is it a setting I can change ? Or is this happening because both devices are running the same iOS version so it does this to differentiate ? I ask because it doesn't seem to happen on my MacBook Pro but it is happening on my iMac. I tried reinstaling both Xcode and the simuators but this issue persists.
Hi. In Monterey beta 5 (the same was observed in previous betas) our application is not launched from Safari browser. The Bundle URL is properly registered in Info.plist (this is working OK in previous OS versions and also it is working ok in Monterey using other browser) The custom URL is registered in this way CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLName NNNN CFBundleURLSchemes NNNN NNNN represents out custom url scheme I didn't find any reference about some change on this API on Monterey (https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app) Thanks
Well, the Signature is what gets base64url encoded. The actual pathing doesn't when it gets returned to the SnapshotUrl. Will try URI encoding the annotation and playing around with it. Will update this post if it works.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
When bringing up the 'Test' panel in a project's scheme, then closing the scheme editor or switching to another panel (e.g. 'Build'), Xcode will crashHas consistently occurred in all my projects and in new single-view iOS app project.Filed rdar://27267460No workaround to my knowledge.
Xcode has an Other DocC Flags build setting—for additional flags to pass to DocC—that you can specify either in the build settings of your Xcode project or on the command line (as OTHER_DOCC_FLAGS). On the command line you can either override a build setting by directly specifying it as a key-value pair: xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' OTHER_DOCC_FLAGS='--warnings-as-errors' or you can specify any number of build settings in an xcconfig file and pass that file for the -xcconfig command line option: # create a 'xcconfig' file echo OTHER_DOCC_FLAGS = --warnings-as-errors > MyBuildSettings.xcconfig # pass it to xcodebuild xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' -xcconfig MyBuildSettings.xcconfig
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
A little more information....I downloaded the container from my app on to my computer and looked inside. In the m3u8 file that's saved into the movpkg bundle, the segments are always preceeded by a key, like this:#EXT-X-KEY:METHOD=AES-128,URI=https://myKeyURL.com/keypath,IV=0x00000000000000000000000000000000#EXTINF:4.0960,https://mySegmentURL.com/slices/segment1.tsAlso... the frag files from apple's sample app... if I change the extension to .ts, they play fine in QuickTime. But the frag files from my video do not. So my current theory is that when in airplane mode, it's trying to reach the key at the remote server to decrypt the segment, and of course it's unreachable when offline.Any ideas?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
To reiterate the information @jeffhunterx received from our SiriKit engineering team, please consider the following things to address this issue in your app:Localize your intent definition file to all languages that your app supportsEnsure that your Xcode project identifies localizations by the ISO 639-1 language identifier scheme (additional information on the schemes). Older Xcode projects may use a different language identification scheme and should be updated.If your app has not yet been localized, ensure that the selected Siri language in Settings matches the CFBundleDevelopmentRegion of your Xcode project, and the value of this key is in ISO 639-1 format
Topic:
App & System Services
SubTopic:
General
Tags:
I have reviewed this document: https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html.It says:To perform a search, supply a properly encoded URL string as the value of the q parameter. For example:http://maps.apple.com/?q=Mexican+RestaurantHowever, I'm wondering if there are certain keywords that I can enter for the q parameter. What I'm trying to do is display the user's home address. I was hoping that if I ended the URL with ?q=Home it would accomplish what I want, but it just pulls up a Home Depot from another state.Does anyone know of a way to accomplish this? I'm working on the premise that the user has selected their contact card under My Info in the Contacts app, that they have programmed their home address into the contact, and that Maps is able to read that (if I manually type in Home into the search field in Maps, it does suggest my home address as a result).
On iOS9.2 Apple made changaes to Safari which made it impossible to use URI schemas and redirect to the store when the app is not installed. The reason was user privacy which now prevent checking programatically if an app is installed. Apple are pushing to use Universal Links instead of URI schemas as this solution is more secured and the user expirience is better.The problem you described is not related to AppsFlyer - Universal Links fails on iOS when there's a dash on the bundle ID. Try to change com.te-st.ios to com.test.ios.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
I will test on this basis. Thanks.EDITED.I tested and it works without any change to the app.What has changed is the way schemes are organized.Before, there was an IOS scheme and a Watch scheme, the watch scheme including both targets : iPhone and APpleWatch.Nos, there are 2 schemes, but the watch scheme includes only the watch.However, when compiling, it creates both (and opens the 2 simulators).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: