Posts

Sort by:
Post not yet marked as solved
16 Views

XCode doesn't pick up a new team assigned to my account

I've been added to the apple development team (organization) as an admin (with developer rights). Access to Certificates, Identifiers & Profiles has been granted for my account as well. I've been trying to remove the account, and add it to XCode accounts over and over again, but still, the only Team I have - my "Personal Team". Is there something I am missing so far? MacOS: 10.15.7 (19H1713) XCode: 12.4 (12D4e)
Asked
by IvTs.
Post not yet marked as solved
5 Views

JSON DATA CORRUPTED ERROR

I don't why, my json file is throwing an error as being corrupted even though json file is valid. (I have checked from json validator). Here is my code: My model: `import Foundation class Person:Identifiable,Decodable{     var id:UUID?     var Name:String     var Address:String     var Company:String     var YearsofExperience:Int } My JSON File [{     "Name":"Inigo Montoya",    "Address":"555 YouKilled My father Street",    "Company":"CodeWithChris",    "YearsofExperience":35  },  {      "Name":"Edna Mode",     "Address":"123 Nocape Lane",     "Company":"CodeWithChris",     "YearsofExperience":177  },  {      "Name":"Travis Bickle",     "Address":"99 Youtalkingtome Road",     "Company":"CodeWithChris",     "YearsofExperience":99  },  {      "Name":"Walter Sobchak",     "Address":"8 Dude Place",     "Company":"CodeWithChris",     "YearsofExperience":23       },  {      "Name":"Jullis Winnfield",     "Address":"25 Ezekiel Ave",     "Company":"CodeWithChris",     "YearsofExperience":17  }] ViewModel: import Foundation class EmployeeModel:ObservableObject{ @Published var person = [Person]() init(){     person.self = DataFetching.getLocalData() } }
Asked
Post not yet marked as solved
10 Views

Sidecar option missing on my macbook pro 2021

I want to use my ipad 9 as a second display for my macbook pro 2021 and I am missing the sidecar option on my mac. What can I do to connect the two.
Asked
by AlexChiru.
Post not yet marked as solved
11 Views

CloudKit query error

Hi All, I am working on iOS app using CloudKit. But on some devices it occures query error that could be resolved by resigning-in apple id. But sometimes it's not resolved. I want to know the device condition requirements that cloudkit works well. best regards. Maik
Asked
Post not yet marked as solved
12 Views

How can I do paymentQueue(_:shouldAddStorePayment:for:) method by IAP from AppStore as Sandbox tester?

As the apple document, paymentQueue(_:shouldAddStorePayment:for:) method should be called when an app user purchased a product including any subscriptions from App Store. doc So, I implemented the delegate method, however the method wasn't called when Sandbox Tester purchased it. How can I catch the payment request by the method in Sandbox or I cannot do that in Sandbox environment?
Asked
by sugiken.
Post not yet marked as solved
10 Views

CoreData CloudKit Sync not working between iOs and MacOS

Hi All, I work on a cross platform app, iOS/macOS. All devises on iOS could synchronize data from Coredata : I create a client, I see him an all iOS devices. But when I test on macOs (with TestFlight) the Mac app could not get any information from iOs devices. On Mac, cloud drive is working because I could download and upload documents and share it between all devices, so the account is working but with my App on MacOS, there is no synchronisation. idea????
Asked
by docgg.
Post not yet marked as solved
14 Views

Kernel Died Importing Keras on Mac M1

Hi, I am trying to import keras as followed on my Mac M1 running on MacOS 11.6 but the kernel died during the process. from keras.models import Sequential from keras.layers import Dense The error message in the terminal: [I 15:44:39.003 NotebookApp] Kernel started: e0bec9a2-cde8-42ed-be9d-747ea2841818, name: python3 2022-01-27 15:44:43.203092: F tensorflow/c/c_api_experimental.cc:739] Non-OK-status: tensorflow::RegisterPluggableDevicePlugin(lib_handle->lib_handle) status: FAILED_PRECONDITION: 'host_callback' field in SP_StreamExecutor must be set. Not sure if it's related, I have read the documentation on https://developer.apple.com/metal/tensorflow-plugin/ and the OS requirement is MacOS 12.0+. Is there anyway to solve this issue on my current OS?
Asked
by Zen26.
Post not yet marked as solved
22 Views

Wrong TrueDepth (meta) data in AV and ARKit sessions on IPads

Hi, while working with TrueDepth RGB-D data both in AVFoundation sessions and ARKit sessions, we stumbled across a significant issue with meta data and depth to RGB alignment on the following iPads: iPad 11'' 2gen, 11'' 3gen, 12.9'' 4gen and 12.9'' 5gen. We compiled an elaborate report: https://arxiv.org/abs/2201.10865 that details the issues we faced: and how you can correct them in post processing. Actually there are actually 2 different problem TL;DR; On 7Mpix TrueDepth modules (11'' 2gen and 12.9''4gen) the depth is not aligned to the RGB correctly in an ARKit session (this was remarked in this post over a year ago for some iPhones): https://developer.apple.com/forums/thread/660388 On 12MPix wide angle TrueDepth modules (11''3gen and 12.9''5gen) the issue is more severe. Here the depth map align in both ARKit and AV session, however the factory calibrated camera focal length that you get in both sessions is wrong. In AVSession it's off around 7.5% and in ARKit session about 15%. We verified this across several iPads with camera calibration and object measurements. Especially the second issue makes ALL measurements derived with those iPad generations and the TrueDepth camera wrong. Over a week ago we already posted a ticket using the feedback assistant (FB9848651). And we also opened a ticket using the TSI (Technical Support Incident) interface. However so far no reaction :/ Does anyone have an idea what we could do? Cheers Steffen
Asked
by urbste.
Post not yet marked as solved
20 Views

Solution for multiple commands produce in Xcode 13.2

I uploaded Xcode from 12.5 to 13.2. Therefore multiple commands produce '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist': 1) target 'unity-iphone' (project 'unity-iphone') has copy command from '/{User}/dev/unity/{project}/xc/info.plist' to '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist' 2) target 'unity-iphone' (project 'unity-iphone') has process command with output '/{User}/library/developer/xcode/deriveddata/unity-iphone-aehtbmwxjmiaaifiqqgdtivoodpw/build/products/releaseforrunning-iphoneos/{app}.app/info.plist' I get an error like this. At the time of 12.5, we corresponded by setting the build setting to Legacy Build System. However, in 13.2, an error occurs and the build cannot be performed because it is not recommended. Delete the copy source info.plist Turn on for install builds only for Embed Pods Framework However, the built application crashed or remained stuck with a black screen. What other fixes are there? Thank you.
Asked
Post not yet marked as solved
13 Views

Organization Name Change

I want to change my organization account name & if I do that, after migration in future will there be any reference to my older organisation name in url, App Store connect,bundle id external users?
Asked
Post not yet marked as solved
12 Views

screen time Outlook Web browser loophole

iPhone screentime loophole found and I need help please. How do I block Outlook for iOS from opening a link to a browser? I have set screentime so it does not open any browser at all in Safari without asking for time BUT I have found a loophole that opens what looks like Edge if you click on an email link that was sent in Outlook mail for IOS. From there, once the page is open, you can do a new search for anything and it does not show up in Safari history! How do I block a browser from opening at all without authorization from me on my child's phone please.
Asked
by katrim.
Post not yet marked as solved
14 Views

The operation couldn’t be completed. (OSStatus error -43.)

I was trying to free up space on my MacBook Air M1 2021 from storage management. I selected some large files and clicked delete. I waited for some time, but nothing happened. I again did the same, unfortunately, I am getting an error "The operation couldn’t be completed. (OSStatus error -43.)". Now I am not able to delete any files from storage management.
Asked
by rameeshoe.
Post not yet marked as solved
22 Views

PHPickerViewController fails to load image

I have been trying to load an image from the photo library on a swifui app. I am running Xcode 13.2.1 and building IOS 15.2 My code is as below     @Binding var image: UIImage?     func makeUIViewController(context: Context) -> PHPickerViewController {         var config = PHPickerConfiguration()         config.filter = .images         config.selectionLimit = 1         config.preferredAssetRepresentationMode = .compatible         let controller = PHPickerViewController(configuration: config)         controller.delegate = context.coordinator         return controller     }     func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) { }     func makeCoordinator() -> Coordinator {         Coordinator(self)     }     // Use a Coordinator to act as your PHPickerViewControllerDelegate     class Coordinator: NSObject, PHPickerViewControllerDelegate {         private let parent: PhotoPicker         init(_ parent: PhotoPicker) {             self.parent = parent         }         func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {             picker.dismiss(animated: true)             print(results)             guard !results.isEmpty else {                 return             }             guard let itemProvider = results.first?.itemProvider else { return }             print("Invoking getPhoto")             self.getPhoto2(from: itemProvider)             //parent.didFinishPicking(!results.isEmpty)         }         private func getPhoto2(from itemProvider: NSItemProvider) {             print("getPhoto")                       if itemProvider.canLoadObject(ofClass: UIImage.self) {                 itemProvider.loadObject(ofClass: UIImage.self) { image, error in                     self.parent.image = image as? UIImage                     print("Loaded Image \(error)")                 }             }         } } } On the console I see the following error 022-01-27 00:40:01.485085-0500 Vescense[3174:884964] [Picker] Showing picker unavailable UI (reason: still loading) with error: (null) Further when I print the result I see [PhotosUI.PHPickerResult(itemProvider: <PUPhotosFileProviderItemProvider: 0x2818fc980> {types = (     "public.jpeg",     "public.heic" )}, assetIdentifier: nil)] It doesn't appear like the error on loadObject has a value. And it's suspicious that assetIdentifier is nil. Any thoughts on what I might be missing here would be most helpful.
Asked
by pdny.
Post not yet marked as solved
20 Views

Getting OpenCV ObjectiveC++ errors while converting our swift app into Framework

We are trying to convert our Swift app into framework, In our app we are using OpenCV library. So far we have resolved many compiler errors. Now we are stuck in resolving below OpenCV Objective C++ compiler error. /Users/***/Desktop/Projects/**Framework/**Framework/OpenCV/OpenCV Neon/cvneon.h:15:29: No type named 'Mat' in namespace 'cv' Below is our framework's header #ifdef __cplusplus #import "opencv2/opencv.hpp" #import "exposure_compensate.hpp" #endif #import <Foundation/Foundation.h> //! Project version number for NewFrameworkV36. FOUNDATION_EXPORT double NewFrameworkV36VersionNumber; //! Project version string for NewFrameworkV36. FOUNDATION_EXPORT const unsigned char NewFrameworkV36VersionString[]; #import "RenderingModel.h" #import "Helper.h" #import "TJSpinner.h" #ifdef __OBJC__ #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #endif
Asked
Post not yet marked as solved
25 Views

When OS Sleep disabling network access

Hi, I am finding that network access is lost from my application when the computer goes to sleep. When I receive kIOMessageSystemWillSleep, I want to send a message to another computer. But I am finding it does not always make it to the other end. Sometimes it only get sent when the computer wakes back up.
Asked