I have edited the default widget with Intent, but am being hit with the following errors… it runs perfectly fine if I don’t use an Intent in a static widget
Could not find an intent with identifier ConfigurationAppIntent, mangledTypeName: Optional("27trainWidgetsConfigExtension22ConfigurationAppIntentV")
associateAppIntent(forUserActivity:) Error converting INIntent to App Intent: AppIntents.PerformIntentError.intentNotFound
I think it may be something to do with Info.plist?
Post
Replies
Boosts
Views
Activity
I was wondering if there was any way to get the dd:hh:mm:ss style when formatting a date as timer? Currently the following code only does hh:mm:ss - Text("\(Date(timeIntervalSince1970: 1686330135), style: .timer)")...
Any help appreciated!
Is it possible to send a notification to an iPhone from the paired Apple Watch on a button press in my app on the watch?
I have a quick question, how would I create a calendar complication, like the one called "Untitled" in this folder - https://www.icloud.com/iclouddrive/08yLlO48KSeES5t8Pho9lLS8g#Untitled?
Any help appreciated!
I am trying to get the data from this API - (api.solunar.org/solunar/42.66,-84.07,20180207,-4). I found this tutorial (youtube.com/watch?v=gfOhBmU2cPM), but it is for a list of objects JSON API, whereas mine is just 1 single object... Does anyone know how to edit the code from the video to work with my API?
I am trying to archive my app as an .ipa to upload to TestFlight, and I get an error saying:
Command CompileSwift failed with a nonzero exit code
this error is that same for my watch app and widget...
If I click into the error, it says that there is no error: imgur.com/a/O0yJDKg
any help appreciated!
I would like to show when there is an event on the selected day in a DatePicker (maybe using an array of dates or something)... Or would I have to create a custom calendar to do this?
Example (the coloured dots under 6th, 15th and 25th):
imgur.com/a/Oow8kNR
I have just fixed an issue where its solution was to move my code to different .swift files and then reference them as views in ContentView.swift. I have modal views in my new view swift files, using this repo - https://github.com/ViktorMaric/HalfModal, and now my Modal views show up as their own tab in my TabView, whereas they didn't before. My code is below...
ContentView.swift - https://developer.apple.com/forums/content/attachment/80e41ced-67a1-4083-8bbb-49d1e9caa610
rocketView.swift - https://developer.apple.com/forums/content/attachment/00da3f2e-0be2-4ec9-8eb5-c7131****48d
aboutView.swift - https://developer.apple.com/forums/content/attachment/e7e9d046-7637-48c0-aee5-8bb4fc43a278
launchesView.swift - https://developer.apple.com/forums/content/attachment/673078c5-6506-42ee-a150-f0f0db625afc
I am trying to write my first app, after adding another item to tab view, I get the error
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
How do I stop this error?
my code is:
my code - https://developer.apple.com/forums/content/attachment/30e42482-cc67-416a-b859-861c81bac7ff