Post

Replies

Boosts

Views

Activity

Reply to WidgetKit with Intent on iOS 17
Thank you, I had the same problem and for me removing the configuration fixed the error. Before trying to fix the problem, I asked myself a question, why this custom configuration was in the project in the first place, and is it needed? The preference I had under both targets can and should be removed. Since the preference was the only entry on the plist file. I could delete the entire file. Supported Intents sections are empty in every target. In conclusion, I have one less Info.plist file in the project and fewer configurations associated with the project. I would provide a link to my blog but the forum doesn't like my domain.
Aug ’24
Reply to Unable to distribute watchOS only build
I've been trying to fix this issue and I have tried many things. The problem remains, the "Validate App" Button is disabled. I can build the app on real hardware, but I can't upload it to the App Store Connect. Clicking Distribute opens this sheet, I can export .ipa, but then there will be issue with the Transporter described in the original question. Possibly, Transporter is not yet updated to support watchOS 10 builds. So the Xcode 15 is my only hope. I suspect that the issue is with my project configuration. The problem is that it is too many unknowns, the default template doesn't work, and there's no proper documentation for watchOS only apps. What I am trying to do With Xcode 15, I will attempt to build a minimal reproducible scenario. Using Xcode 15 and creating a new project will make sure I am using an up-to-date default template. I have created a new project with a Bundle identifier ending with the product name, e.g. "MYApp", com.company.MYApp. Selected "Watch-only App". Include tests checked. Select main app target, Bundle ID would show .watchkitapp, replaced with com.company.MYApp. Archiving the product, leads to a problem. The archive is classified as "Other items". I would expect it under "watchOS Apps" I already know how to fix it by SKIP_INSTALL to YES. And with this change, it's no longer "Generic Xcode Archive", it's "watchOS App Archive" //:configuration = Release SKIP_INSTALL = NO I am restless regarding .watchkitapp, does the bundle ID need to have it? I have tried with and without it, and the only difference I can observe is in Organizer GUI, I can see "watchOS app" in the oval brackets before the bundle ID. I have tried all 6 permutations for the following flags. INFOPLIST_KEY_WKWatchOnly = YES INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp = NO As the target device for archiving I have tried a generic, simulator (which is new in Xcode 15) and real hardware. The main problem remains. The "Validate App" button is disabled.
Sep ’23
Reply to Smart Stack widgets, error message
I have managed to fix this warning by providing the background for all families. var body: some View { switch family { case ... // Return your custom widget here for families you support default: // Fallback for not supported families Image(systemName: "xmark.circle") .containerBackground(Color.black, for: .widget) } }
Sep ’23
Reply to Building complex navigation stack in watchOS 10
In case anyone wonders, I wasn't able to solve it. AFAIK there's no way to preserve the navigation stack. I ended up dismissing my first sheet before presenting a second sheet. Weirdly, I still see the warning. Luckily my UX doesn't suffer from this, it's just a warning that I am curious about. In case I would need to build an application with behaviour like Apple Mail, this would be a show stopper.
Sep ’23
Reply to Help understanding the US Tax forms as an Australian sole trader
Hello, I am sole trader in UK, I believe the right option is "Disregarded Entity". A disregarded entity is a business that is not seen as a separate entity from the business owner for tax purposes. Rather than the IRS taxing the business, the income of the business is passed through to the owner’s income tax return. In this way, the business and the owner are considered one entity. https://www.nav.com/blog/what-is-a-disregarded-entity-635010/ If a business entity (other than a per se foreign corporation) has only one owner, it is classified as either a corporation or a disregarded entity. If the single owner does not have limited liability, the non-U.S. entity is disregarded as an entity separate from its owner and the single owner should complete the applicable U.S. tax form in its own name.  https://www.citibank.com/icg/sa/emea/romania/romanian/assets/docs/W-8BEN-E_Completing_Guide_February_20150708.pdf Good luck, I hope this is helpful.
Jun ’21