Posts

Sort by:
Post not yet marked as solved
0 Replies
1 Views
I am using a Mac Catalyst app and saving the content of the app in core data. After uninstalling the app the saved core data file is not getting deleted. Due to this I am having major bugs during launch of the app. My requirement is core data contents should be removed once the app is uninstalled. Anybody with solutions for this?
Posted
by
Post not yet marked as solved
0 Replies
2 Views
Has anyone successfully persisted Color, particularly in SwiftData? So far my attempts have failed: Making Color conform to Codable results in a run time error (from memory something about ColorBox). Color.Resolved already conforms Codable but this results in "SwiftData/ModelCoders.swift:124: Fatal error: Composite Coder only supports Keyed Container" I am now attempting to save CGColor in the SwiftData model and handle the conversion to and from Color via a custom property wrapper. However, I have made mistake somewhere in its implementation down below I have seen that SwiftData has @Attribute(.transformable(by: CustomValueTransformer.self)) but I am not sure how to implement the ValueTransformer because the conversion between Color to CGColor needs to read from the environment when using the new Color.resolve(in: ) method (Color.cgColor is now deprecated). I could avoid using a custom property wrapper but before I do I want to know if anyone has solved my problem in a better way? import SwiftUI @propertyWrapper struct ColorBinding: DynamicProperty { @Binding var color: CGColor @Environment(\.self) var environment var wrappedValue: Color { get { Color(color) } nonmutating set { color = newValue.resolve(in: environment).cgColor } } var projectedValue: Binding<Color> { Binding { wrappedValue } set: { wrappedValue = $0 } } } struct View1: View { @State private var cgColor = CGColor( red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1), alpha: .random(in: 0...1) ) var body: some View { View2(color: $cgColor) // Cannot convert value of type 'Binding<CGColor>' to expected argument type 'ColorBinding' } } struct View2: View { @ColorBinding var color: Color var body: some View { ColorPicker("", selection: $color) } } #Preview { View1() }
Posted
by
Post not yet marked as solved
0 Replies
1 Views
Hello! I'm trying to capture socket state changes for an endpoint security product and have tried the Endpoint Security APIs as well as a Network Extension but there doesn't seem to be a way to detect listening sockets in real time. I've so far been able to capture all process, file and network flow/packet information in real-time but I'm also interested in getting an event when a server socket is opened for listening for incoming connections. Is there a way to do this? If yes, can someone please point me to the documentation or any other information on how to go about it? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
2 Views
Your in-app purchase has been returned. Fix the marked items and submit it again. For more information, see the Notes from App Review. And when I click on Notes from App Review: 3.1.1 - new IAP type New type: Non-Consumable Previous type: Non-Renewing Subscription, Consumable Recommend: Download I don't understand what's wrong here. I just created a non-consumable product and set everything. But it's not clear to me what's wrong and what kind of action I should take. Can you help me figure this out, please?
Posted
by
Post not yet marked as solved
0 Replies
4 Views
Hi Apple Team, We have a PWA which supports downloading and playback for audio and video content. Downloaded content is stored in IndexedDB in the form of blobs and blob URLs are generated on runtime through which content is played. We have observed that the blob URLs have stopped working on iOS 17.4.1. They work on iOS 17.4 and iOS 17.3 as well. This feature is very critical for us as it is the heart of the offline mode of the app. Thanks!
Posted
by
Post not yet marked as solved
0 Replies
4 Views
can not login successfully, if I input my password it will give my error hint. but when I type the right password and username, nothing happened, the cloud tab still appear like the one in the screenshot . I have already to to restart xcode, It do not help. the same usename and password can login into the forum app store connect. what should I do?
Posted
by
Post not yet marked as solved
0 Replies
5 Views
Hi everyone, Our app has been removed from App Store (the status is "Removed from App Store"). So I have prepared new build and tested it in a debug mode. Works fine. I have uploaded the release build to the App Store Connect and submitted it for Review. After couple of hours I received the message that the release build doesn't work for the apple reviewers. When I want to install the app through TestFlight it says that the app doesn't exist (I an see it after I press "Install" button in TestFlight, I guess the reason is because the app has been removed from App Store). IPA file doesn't work as well. IS there any way I can test the release build (through TestFlight or installing IPA)? Thank you in advance
Posted
by
Post not yet marked as solved
0 Replies
10 Views
I have my app already in live before the privacy manifest introduced. Now, I want to migrate from cocoapods to Swift Package Manager. Will this be considered like adding the third party SDKs as new ones or will it be considered existing ones? So far I have not received any emails from Apple regarding the privacy manifest. I do not want any issues with the privacy manifest.
Posted
by
Post not yet marked as solved
0 Replies
6 Views
I am using XCode on my Mac Book Pro M1 and trying to run the iOS app being developed on my iPad (5th generation, 12.9 inch) The devices are connected through USB-C cable. I have enabled developer mode on my iPad, trusted the M1 device, the developer, and the app. However the following appears on the iPad when trying to launch the app: Unable to Verify App An internet connection is required to verify trust of developer "Apple Development: ...". This app will not be available until verified This seems to be an issue with M1 specifically, as other people seem to have this problem, and the application successfully runs on other iOS devices
Posted
by
Post not yet marked as solved
0 Replies
7 Views
Dear Community, After logging into my Developer Account, I am unable to access MapKit JS link under Additional resources. Each time I try to access https://maps.developer.apple.com/ or specifically https://maps.developer.apple.com/token-maker the browser returns 403 forbidden error. I have tried to use different browser an device and I get the same error. My MapKit JS Authorization token has expired and I need to reissue fresh token ASAP. Kindly advice. Regards, Swapneel Shah
Posted
by
Post not yet marked as solved
0 Replies
3 Views
Hi everyone, I'm working on an iOS app where I need to implement content filtering functionality. I've successfully implemented a network extension target in my iOS app to filter data locally. However, I'm now aiming to extend this functionality to filter content over HTTPS. Currently, I'm utilizing a local data source for filtering, but I want to explore options for filtering content directly over HTTPS connections, like this URL: https://dns.nextdns.io/46d65d. I've reviewed the available Apple APIs and documentation but haven't found a straightforward solution for HTTPS content filtering. Can anyone provide guidance or suggest any relevant resources for implementing HTTPS content filtering within a network extension target on iOS? Any help or insights would be greatly appreciated! Thank you in advance!
Posted
by
Post not yet marked as solved
0 Replies
6 Views
In order to fetch the unexpected pop-up dialog window when executing e2e tests. For example: I write a simple Apple script get_popup_windows.scpt as follows: tell application "System Events" tell process "SystemUIServer" set securityAlertWindows to (every window whose subrole is "AXDialog") set securityAlertTitles to {} repeat with securityAlertWindow in securityAlertWindows set securityAlertTitle to (securityAlertWindow's title as text) set end of securityAlertTitles to securityAlertTitle end repeat end tell end tell return securityAlertTitles However, when I execute osascript get_popup_windows.scpt It returns empty even when there is a popup window in my mac. Does anyone know the reason? Thanks for help. Will
Posted
by
Post not yet marked as solved
0 Replies
3 Views
Hello everyone, I hope you're all doing well. I'm reaching out to seek guidance on automating a task that involves sending 50 messages simultaneously using data stored in a Google Sheets document. Here's a brief overview of what I'm trying to achieve: I have a Google Sheets document containing pre-written messages along with associated recipient phone numbers. My goal is to automate the process of retrieving this data and sending the corresponding messages to each recipient in one click. While I'm familiar with using Shortcuts on my iPhone to automate certain tasks, I'm unsure about the best approach to handle this particular scenario. I've explored options such as using the "Get Content of URL" action to fetch data from the Google Sheets document, but I'm unsure how to proceed from there to automate the message sending process efficiently. If anyone has experience or insights on how to accomplish this task effectively using Shortcuts or any other automation tool, I would greatly appreciate your guidance. My aim is to streamline this process and save time by sending these messages automatically with just one click. Thank you in advance for any assistance or suggestions you can provide!
Posted
by
Post not yet marked as solved
0 Replies
4 Views
I'm trying to add a Swift Package to my project, which is hosted on Azure Devops. I only have HTTPS access to Azure Devops, but I am able to connect with it using Git on the CLI and use my PAT in the header, etc. However, if I want to add this repo as a dependency for my project, XCode does not seem to support this. When adding the https-URL as a dependency, I get the option to authenticate using: Username / Password Github enterprise account Gitlab self-hosted Bitbucket Server I've tried all of them of course, but none of them work, either by throwing "authentication failed" issues, etc. Is it even possible to have (private) Swift Packages on an Azure Devops server and use those in XCode? Or am I forced to use local dependencies (I'd rather don't do that, because then I cannot fix them on a tag / branch / commit, etc.)? Any feedback would be greatly appreciated
Posted
by
Post not yet marked as solved
0 Replies
4 Views
In order to submit my new subscription for review I need to upload a screen. No matter what resolution image I upload it fails saying "Your file could'nt be save. Try again if the problem persists, contact us" I am using many different types of simulators (Iphone 15 - Iphone Xs) and physical devices to take a screenshot and nothing is accepted. I can see the error message being returned from apples API is "IMAGE_BAD_DIMENSIONS_SM_LESS_MIN" so assume its a resolution issue. I am following the current guidelines here: https://developer.apple.com/help/app-store-connect/reference/screenshot-specifications
Posted
by
Post not yet marked as solved
0 Replies
15 Views
After spending a lot of time trying to automate my processes, particularly on checking the emails I have on my software, and after talking with people in the field, I looked for a complete solution that could check with great precision in my email lists. I then looked at https://mailtester.ninja/ which in addition to being very complete, offers an API. So my question is whether any of you have other tools, other methods? thank you
Posted
by
Post not yet marked as solved
0 Replies
22 Views
I have created an intent using AppIntent and this intent(TWIntent in the code below) can be seen in the shortcuts app as an action to create the shortcut. I am using AppShortcutProvider to create the shortcut so that user can directly make use of it. However, my shortcut does not appear in the shortcut app. The phrases used also do not launch the intent in the spotlight search. Below is my AppShortcutProvider file: @available(macOS 13.0, *) struct TWShortcuts: AppShortcutsProvider { static var appShortcuts: [AppShortcut] { AppShortcut( intent: TWIntent(), phrases: [ "Open Intent in \(.applicationName)", "Open \(.applicationName) Intent", "Open my Intent in \(.applicationName)", "Open my \(.applicationName) Intent", "Open TWIntent" ], shortTitle: "Open TWIntent", systemImageName: "rectangle.stack.fill" ) } static var shortcutTileColor: ShortcutTileColor = .lightBlue } Is there something I m missing? Also can these phrases be used for siri launch in macOS because the documentation mentions that macOS does not have siri capability? Below is my AppIntent file: import SwiftUI @available(macOS 13, *) struct TWIntent: AppIntent { static let title: LocalizedStringResource = "TWIntent" static var description = IntentDescription("try adding this sample action as your TW shortcut") //launch app on running action static var openAppWhenRun: Bool = false static var parameterSummary: some ParameterSummary { Summary("Get information on \(\.$TWType)") } @Parameter(title: "TWType", description: "The type to get information on.") var TWType: String func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog { //perform essential task here to update the application content return .result(value: TWType, dialog: "Logged a 15 minute break.\(TWType)") } }
Posted
by
Post not yet marked as solved
1 Replies
8 Views
Hi, I am implementing in-app subscriptions in my application and would like to set up a module in my admin portal by which I can create subscription products via my custom module. For this purpose I need API's that allow me to create subscription products. Please let me know if such a solution is possible, if it is, then please share the API's and payload by which I could implement it. Thank you in advance.
Posted
by
Post not yet marked as solved
0 Replies
6 Views
Hi, I'm implementing in app purchase/subscriptions for my application and would like to setup a financial report module in my admin portal. I am bit confused, is it possible to get financial reports and invoices via the API when in sandbox account. Also I would greatly appreciate it if you could also share the API and parameters needed, by which we can get the finance reports and invoices. Thank You in advance.
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all