Posts

Sort by:
Post not yet marked as solved
0 Replies
6 Views
Hello, I have a swift package that supports visionOS and one of its targets is a xcframework that also support visionOS and when I try to archive that swift package (using xcodebuild archive) I get this error: note: '<xcframework path>' is missing architecture(s) required by this target (x86_64), but may still be link-compatible. (in target '[library name]' from project '<swift package name>') But starting in Xcode 15.2 (I have Xcode 15.4 installed), you cannot develop for visionOS on Intel machines. So why does it require that the xcframework needs x86_64 support for the visionOS simulator? Any help would be great. Thanks!
Posted
by
Post not yet marked as solved
0 Replies
7 Views
Hi there. I've been trying to take a snapshot programmatically on apple vision pro but haven't succeeded. This is the code I am using so far: func takeSnapshot<Content: View>(of view: Content) -> UIImage? { var image: UIImage? uiQueue.sync { let controller = UIHostingController(rootView: view) controller.view.bounds = UIScreen.main.bounds let renderer = UIGraphicsImageRenderer(size: controller.view.bounds.size) image = renderer.image { context in controller.view.drawHierarchy(in: controller.view.bounds, afterScreenUpdates: true) } } return image } However, UIScreen is unavailable on visionOS. Any idea of how I can achieve this? Thanks Oscar
Posted
by
Post not yet marked as solved
0 Replies
23 Views
Hello! I've encountered an issue with the seller name on the App Store. It seems you can only change it once, during the initial app submission, and unfortunately, we missed that chance. Now, we're stuck with a long, non-English name for life. Here’s the problem: In my country, when choosing a company name, selecting a "field of activity" is mandatory. Let’s say our company is called "X". You can’t just name it "X Inc."; it has to be "X + Field of Activity + Entity Type." Since our language is not English, and aiming for a global market, our name ended up as "X + Foreign words nobody understands + Inc." When I reached out to support, after 7-8 tickets, they only removed the"Inc." but left our field of activity in the name: "X + Game Technologies (Not in english)." It seems Apple can make exceptions and change names, but in this frustrating situation, support is not helping. We want to use just the name "X". We were told to change our company name legally, and only then would they consider changing it on the App Store. The issue is that it’s not just a company name; it's including a descriptor of our field of activity, which legally cannot be omitted. Why is changing the seller name a one-time opportunity? If you miss it or make a mistake, you are forced to stick with something so critical for your company forever. Does anyone here have advice or solutions for this situation?"
Posted
by
Post not yet marked as solved
0 Replies
20 Views
I'm creating a slate pad for Ipad with several input fields to fill using Adobe XD. How can I obtain and attach a virtual keyboard to fill these input fields? I found a video with a similar concept but on Iphone: https://www.youtube.com/watch?v=O7tPI0VuKd4&list=PLWeIX-zcNnqII-nzviv_yxT2WNQRRYbiG&index=3 In this other link, the video mentions that the virtual keyboard was obtained from a UI kit that Apple provides. But I've looked and looked and I can't find a page to download this virtual keyboard. Any ideas? https://www.youtube.com/watch?v=rosf7-zVYjY&t=122s
Posted
by
Post not yet marked as solved
0 Replies
20 Views
Can anyone give me assistance on how to fix this. My preview crashed because a Fatal Error in ModelData. This is how my ModelData looks: import SwiftUI struct SutraokeDetail: View { @Environment(ModelData.self) var modelData var sutra: Sutras var body: some View { @Bindable var modelData = modelData ScrollView { CircleImage(image: sutra.image) .offset(y: -130) .padding(.bottom, -130) VStack(alignment: .leading) { HStack{ Text(sutra.name) .font(.title) Spacer() Text(sutra.text) } } } } } #Preview { let modelData = ModelData() return SutraokeDetail(sutra: modelData.sutras[0]) .environment(modelData) }
Posted
by
Post not yet marked as solved
1 Replies
24 Views
I'm in the process of submitting an app to the App Store and am preparing screenshots for various display sizes. I noticed that there's an option for a 13'' display, which corresponds to the new iPad Air. However, I can't find a simulator for the 13'' iPad Air in my XCode. Is it mandatory to upload screenshots for this size, or can I omit them? Additionally, how can I download the simulator for the new iPad Air? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
21 Views
Hello, we use apple ID as a sign-up/log-in method, when we released our appstore version, did the switch from beta to market app. Our bundle ids have changed, now we are wondering that is there any way to help users to reach their old accounts using the market app with a different bundle id or any smart idea to approach to to this problem
Posted
by
Post not yet marked as solved
0 Replies
21 Views
I've added my Vendor ID to the appropriate entitlement files but my binary fails validation when trying to upload it to the store for distribution. The embeded.mobileprovision file in the generated archive shows an asterisk instead of my approved Vendor ID. How can I make sure the embedded provisioning file has my Vendor ID?
Posted
by
Post not yet marked as solved
0 Replies
20 Views
I am developing an WKWebView app that runs on both mobile and mac platforms using a react website. Currently, an admin user can send a call request in which the user gets a pop-up to answer. on iOS it works as intended, the user is asked to grant permission to utilize camera and microphone and the user is immediately connected upon accepting, however I never receive the pop-up when running in Mac Catalyst. I have ensured to enable permissions in sandbox settings as well as adding NSCamera and NSMic permissions in the property list. in the safari debugging console I receive this error upon clicking the accept call ReferenceError: Can't find variable: RTCPeerConnection Ive attempted to use the webview callback requestMediaCapturePermissionFor, and this did not seem to trigger on attempting to answer the call. Is this an error on my development end? or is this an issue I should look to the react code for a fix. I appreciate any feedback possible. Thanks.
Posted
by
Post not yet marked as solved
0 Replies
33 Views
I am managing a subscribed calendar through my iPhone and am curious about how iOS handles 4xx error responses from calendar APIs. Specifically, I would like to know if there is a process that stops the iPhone from attempting to sync the calendar if it consistently receives 4xx errors from the server. Does iOS have a mechanism to pause or stop calendar sync under such error conditions to prevent unnecessary data usage and battery drain? Any guidance or insights on this behavior would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
28 Views
I have an online service where it lets people subscribe to iCalendar feed. I'm wondering if there is a way to force the subscriber (their Calendar client) to stop their subscription. I have some subscribers who subscribed to a feed that doesn't exist anymore. The annoying part is that these subscribers is fetching the data every 30 seconds! I looked at iCalendar specification and it doesn't look like this is supported. I tried few http response codes (404 and 410), but this doesn't stop the client. The user agent I'm seeing in the log shows "iOS/17.4 (21E219) dataaccessd/1.0". Any help is appreciated.
Posted
by
Post not yet marked as solved
0 Replies
32 Views
SwiftData includes support for CloudKit sync. However, I don't see any way to add conflict resolution behavior. For example, if different devices set different values for a field, or if a relationship is orphaned because of a deletion on another device, the application has to handle this somehow. In Core Data (which SwiftData wraps), you can handle this with the conflict resolution system (docs) and classes like NSMergePolicy. Is any of this accessible in SwiftData? If not, how do you deal with conflicts when syncing a SwiftData model with the cloud?
Posted
by
Post not yet marked as solved
1 Replies
33 Views
Recently, I have made quite extensive changes to my schema and need to migrate my CoreData + CloudKit model to a new version. The changes require me to use a custom NSEntityMigrationPolicy because I have a rather complex mapping between some old entities and new entities. I have added a new model version. Deleted some entities, and added some entities. I have defined the NSEntityMigrationPolicy with createDestinationInstances(forSource:in:manager:) and createRelationships(forDestination:in:manager:). I have created a new Core Data Mapping Model. This was probably unnecessary. Within the Core Data Mapping Model, I have specified Custom Policy for all entities. In my container setup, I added two options, as below: storeDescription.setOption(false as NSNumber, forKey: NSMigratePersistentStoresAutomaticallyOption) storeDescription.setOption(false as NSNumber, forKey: NSInferMappingModelAutomaticallyOption) I mostly followed a "Core Data Heavyweight Migration" guide. I'm unable to share the link, but it can be quite easily found on the web. (It's not for CloudKit specifically.) When I run my app, I am getting the most basic of errors, which is: The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store. So I guess that migration wasn't even attempted, which makes sense because I set NSMigratePersistentStoresAutomaticallyOption to false. I tried to go beyond what I could find on the web and attempted to manually initialize migration: let sourceModel = container.persistentStoreCoordinator.managedObjectModel guard let modelURL = Bundle.main.url(forResource: "MyModelName", withExtension: "xcdatamodeld") else { fatalError("Unable to locate model file.") } guard let destinationModel = NSManagedObjectModel(contentsOf: modelURL) else { fatalError("Unable to load destination model.") } let migrationManager = NSMigrationManager(sourceModel: sourceModel, destinationModel: destinationModel) let mappingModel = NSMappingModel(from: [Bundle.main], forSourceModel: sourceModel, destinationModel: destinationModel)! migrationManager.currentEntityMapping.entityMigrationPolicyClassName = "MyMigrationPolicyClassName" I am then stuck at the migrateStore(from:type:mapping:to:type:) method. It seems to target only local storage, not CloudKit. Otherwise, what do I provide for URLs and types? Any guidance for custom logic CoreData with CloudKit migration would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
34 Views
I ran it (Leaks) on a process for about 2 hours. It collected 68gytes of data. It cannot open the folder -- can't find a file (which is there as a .zip archive) or if I expand it, just an error about missing an index. Filing a bug about this is difficult, since it's 68gbyets of data.
Posted
by
Post not yet marked as solved
0 Replies
32 Views
Hello, we have a pkg file which used to be easily notarized using a particular apple id, but after we shifted to another account it is taking like forever. We have created an app-specific-password and made use of it. Anything that we have done incorrectly? Current status: In Progress........................................................[12:12:27.335Z] Info [API] Waiting 20 seconds before next poll... [12:12:47.337Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/submissions/***-xxxxxx?, Parameters: [:], Custom Headers: private<Dictionary<String, String>> [12:12:47.338Z] Debug [AUTHENTICATION] Using cached token value for app-specific password request: xxxxx:xxxxx@*** [12:12:47.338Z] Debug [AUTHENTICATION] Authenticating request to '/notary/v2/submissions/***-xxxxxx' with WebServices Token. AppleID: xxxx@***, Team ID: xxxxxxxxxx, Token: private<String> [12:12:47.339Z] Debug [TASKMANAGER] Starting Task Manager loop to wait for asynchronous HTTP calls. [12:12:47.886Z] Debug [API] Received response status code: 200, message: no error, URL: https://appstoreconnect.apple.com/notary/v2/submissions/***-xxxxxx?, Correlation Key: GBCZEFTI5NQ3263GKRANCEPD4I [12:12:47.887Z] Debug [TASKMANAGER] Completed Task with ID 58 has received a parsable response. [12:12:47.887Z] Debug [TASKMANAGER] Ending Task Manager loop. [12:12:47.888Z] Info [API] Received new status: In Progress
Posted
by
Post not yet marked as solved
1 Replies
40 Views
Hey there, I'm trying to decode an json with an dynamic dict as value. eg. "results": [ { "id": 1799, "created_at": "2024-05-09T14:21:13.289655Z", "updated_at": "2024-05-10T11:54:25.484537Z", "email": "test@test.testh", "name": "Test", "attributes": { "name": { "firstname": "max", "lastname": "mustermann" }, "anboolen": false, "anNumber": 1, "anString": "Test" } } ] The dictionary "attributes" is always an dictionary but the content inside could be everything. for the container of results I already created an struct and using JSONDecoder to decode, but now I have the issue with the attributes part. Can anyone help me with this issue? Thanks in advance!
Posted
by
Post not yet marked as solved
0 Replies
35 Views
Our app needs to scan QR codes (or a similar mechanism) to populate it with content the user wants to see. Is there any update on QR code scanning availability on this platform? I asked this before, but never got any feedback. I know that there is no way to access the camera (which is an issue in itself), but at least the system could provide an API to scan codes. (It would be also cool if we were able to use the same codes Vision Pro uses for detecting the Zeiss glasses, as long as we could create these via server-side JavaScript code.)
Posted
by
Post not yet marked as solved
1 Replies
47 Views
I created Keyboard extension and calling an api in it. Api is successfully called when i run the extension on iOS Simulator’s. But when i run the extension on iOS device Extension in loaded successfully but Api call is getting failed with error mentioned below. 2024-05-10 16:23:44.931827+0500 CustomKeyboardExtention[4073:48324] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:11 Err:-1 Errno:1 Operation not permitted 2024-05-10 16:23:44.932654+0500 CustomKeyboardExtention[4073:48324] [connection] nw_resolver_create_dns_service_locked [C1] DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563) 2024-05-10 16:23:44.935914+0500 CustomKeyboardExtention[4073:48324] Connection 1: received failure notification 2024-05-10 16:23:44.936849+0500 CustomKeyboardExtention[4073:48324] Connection 1: failed to connect 10:-72000, reason -1 2024-05-10 16:23:44.937747+0500 CustomKeyboardExtention[4073:48324] Connection 1: encountered error(10:-72000) 2024-05-10 16:23:44.942682+0500 CustomKeyboardExtention[4073:48324] Task .<1> HTTP load failed, 0/0 bytes (error code: -1003 [10:-72000]) 2024-05-10 16:23:44.949787+0500 CustomKeyboardExtention[4073:48324] Task .<1> finished with error [-1003] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorCodeKey=-72000, NSUnderlyingError=0x283aa35a0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0, ipv4, dns, _kCFStreamErrorCodeKey=-72000, _kCFStreamErrorDomainKey=10}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<1>" ), NSLocalizedDescription=A server with the specified hostname could not be found., NSErrorFailingURLStringKey=https://chatbotsf-vzt2zxsi7q-uc.a.run.app/chatbot/, NSErrorFailingURLKey=https://chatbotsf-vzt2zxsi7q-uc.a.run.app/chatbot/, _kCFStreamErrorDomainKey=10} Error fetching data: URLSessionTask failed with error: A server with the specified hostname could not be found.
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all