Post

Replies

Boosts

Views

Activity

iPad App existing, now want to add MacOs App
Hi All, I have an application for iPad and iPhone, and now I would you to extend it with macOs Environnement. What is the best practice to use my iOS app on MacOs? I change my project with I can Run the App on my MacMini with Xcode but when I archive my project on TestFlight, there is a message that tell me that is not available for macOS only iOS !!! How could I archive with MacOs???
5
0
1.1k
Jan ’22
Xcode 14 - iOs 16.0.2 - attempt to insert nil object from objects[0]
Since I update Xcode (13 -> 14) and install iOs 16 on iPhone, I have this fatal error when I try to launch VNDocumentCameraViewController I do not understand why and where the error is? before the update, the scanner worked and I haven't got this message NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]' let scannerViewController = VNDocumentCameraViewController() scannerViewController.delegate = self present(scannerViewController, animated: true) code-block
4
0
3.4k
Oct ’22
local Core data and evolution in a distributed system
I develop a app with core data, to create invoices for individual use. I use Int64 ID (with increment) as primary key Today, I would like to expand possibility with the same database on several iPads... BUT I can't stay with Int64 ID because first iPad create index n°1 and second iPad create invoice n°1 too ! What is the best practice to change for a distributed system : create a new id with uuid string? thanx a lot
3
0
731
Jun ’21
VNDocumentCameraViewController - crash with fatal error (iOs16)
With iOS 16, I have a fatal error when I launch VNDocumentCameraViewController let myScanViewController = VNDocumentCameraViewController() myScanViewController.delegate = self self.present(myScanViewController, animated: false) On my project, this function worked file with older operating system (like iOS 14, iOS 15) info.plist --> NSCameraUsageDescription is present with description Before the camera view appear, I'v got a fatal error and I do not know where to check or add a breakpoint to know where it try to add a nil object Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: [__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
3
0
1.7k
Oct ’22
Coredata and CloudKit not synchronized
1/ Signing & capabilities background mode - > remote notification cloud -> cloudkit @ container created 2/ coredata ->used with cloudkit & all attributes are optionals 3/ appDelegate NSPersistentCloudKitContainer viewContext.automaticallyMergesChangesFromParent = true AND it's not working on my two devices (iPhone & iPad) under iOs 15.0.2 What did I forget?
2
0
866
Oct ’21
Cloudkit - Coredata and multiples database
Today, I'm working without cloudkit (all data are in a local Coredata), with one database on my Xcode project but with 2 containers on app.delegate : one for a test environment : with storeURL ---> test.sqlite one for a production environment : with storeURL --> production.sqlite Everything is ok, the test data, is really separate from production data. Now, I try to use cloudkit functions : I change NSPersistentContainer to NSPersistentCloudKitContainer it's working and I could use data on 2 iPads. BUT if I switch the test to the prod, now the data from test environnement is duplicate on the production environnement. what mistake am I making? How could I use my two storeURL with cloudkit coredata? Thanx for your help.
2
0
726
Jan ’22
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????
2
0
1.2k
Sep ’25
Xcode memory RAM - requirements
Last year, I changed my iMac i7 (2015) to a new Mac mini M1 with SD disk. I saw the difference, it was incredible fast...but now after one year of working on my project, I get freeze screen and automatic reboot I have 16Go RAM...and often more than 10Go for xcode ! I work with storyboard and I have more than 100 VC. Do I need to change parameter on Xcode to optimize or I must have now min 32 RAM. What is the best requirement for important project?
2
0
2.2k
Jul ’22
Collection view, cell size, image size
What is the best practice to have UIimage into cell that set the same width and same height on CollectionView cell size -> 200*200 Estimate size -> None On cell Uimage on cell leading, trailing,bottom,top ---> to cell even if I force the height and width, image do not set the same size of the cell the height is different???? I try with the delegate UICollectionViewDelegateFlowLayout to force size to 200*200 but no effect of UIimage inside What can I do to have the same size on Uiimage into cell ?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
722
Jul ’21
iPad App existing, now want to add MacOs App
Hi All, I have an application for iPad and iPhone, and now I would you to extend it with macOs Environnement. What is the best practice to use my iOS app on MacOs? I change my project with I can Run the App on my MacMini with Xcode but when I archive my project on TestFlight, there is a message that tell me that is not available for macOS only iOS !!! How could I archive with MacOs???
Replies
5
Boosts
0
Views
1.1k
Activity
Jan ’22
Xcode 13.3 - can't update
I update my iPhone and iPad on iOS 15.4....and need to update Xcode in 13.3....but on APPStore when I upload it, at the end, nothing happen just stay in loop ! know how to fix it?
Replies
5
Boosts
0
Views
2.3k
Activity
Mar ’22
csv file with Unicode character like \U0082
Hi All, How to transform or decode file with unicode? In debug, I see the text like this "r\U0082duc." , and I need to show text with accent --> réduc.
Replies
4
Boosts
0
Views
1.5k
Activity
Jun ’22
Xcode 14 - iOs 16.0.2 - attempt to insert nil object from objects[0]
Since I update Xcode (13 -> 14) and install iOs 16 on iPhone, I have this fatal error when I try to launch VNDocumentCameraViewController I do not understand why and where the error is? before the update, the scanner worked and I haven't got this message NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]' let scannerViewController = VNDocumentCameraViewController() scannerViewController.delegate = self present(scannerViewController, animated: true) code-block
Replies
4
Boosts
0
Views
3.4k
Activity
Oct ’22
local Core data and evolution in a distributed system
I develop a app with core data, to create invoices for individual use. I use Int64 ID (with increment) as primary key Today, I would like to expand possibility with the same database on several iPads... BUT I can't stay with Int64 ID because first iPad create index n°1 and second iPad create invoice n°1 too ! What is the best practice to change for a distributed system : create a new id with uuid string? thanx a lot
Replies
3
Boosts
0
Views
731
Activity
Jun ’21
tableview with multiple selection but without delete button
is there any way to hide "-" and keep only selection? When I switch the tableview in mode isediting and allowsMultipleSelection, there is a delete button instead of selection choice
Replies
3
Boosts
0
Views
1.3k
Activity
Jul ’21
VNDocumentCameraViewController - crash with fatal error (iOs16)
With iOS 16, I have a fatal error when I launch VNDocumentCameraViewController let myScanViewController = VNDocumentCameraViewController() myScanViewController.delegate = self self.present(myScanViewController, animated: false) On my project, this function worked file with older operating system (like iOS 14, iOS 15) info.plist --> NSCameraUsageDescription is present with description Before the camera view appear, I'v got a fatal error and I do not know where to check or add a breakpoint to know where it try to add a nil object Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: [__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
Replies
3
Boosts
0
Views
1.7k
Activity
Oct ’22
Coredata and CloudKit not synchronized
1/ Signing & capabilities background mode - > remote notification cloud -> cloudkit @ container created 2/ coredata ->used with cloudkit & all attributes are optionals 3/ appDelegate NSPersistentCloudKitContainer viewContext.automaticallyMergesChangesFromParent = true AND it's not working on my two devices (iPhone & iPad) under iOs 15.0.2 What did I forget?
Replies
2
Boosts
0
Views
866
Activity
Oct ’21
Cloudkit - Coredata and multiples database
Today, I'm working without cloudkit (all data are in a local Coredata), with one database on my Xcode project but with 2 containers on app.delegate : one for a test environment : with storeURL ---> test.sqlite one for a production environment : with storeURL --> production.sqlite Everything is ok, the test data, is really separate from production data. Now, I try to use cloudkit functions : I change NSPersistentContainer to NSPersistentCloudKitContainer it's working and I could use data on 2 iPads. BUT if I switch the test to the prod, now the data from test environnement is duplicate on the production environnement. what mistake am I making? How could I use my two storeURL with cloudkit coredata? Thanx for your help.
Replies
2
Boosts
0
Views
726
Activity
Jan ’22
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????
Replies
2
Boosts
0
Views
1.2k
Activity
Sep ’25
Xcode memory RAM - requirements
Last year, I changed my iMac i7 (2015) to a new Mac mini M1 with SD disk. I saw the difference, it was incredible fast...but now after one year of working on my project, I get freeze screen and automatic reboot I have 16Go RAM...and often more than 10Go for xcode ! I work with storyboard and I have more than 100 VC. Do I need to change parameter on Xcode to optimize or I must have now min 32 RAM. What is the best requirement for important project?
Replies
2
Boosts
0
Views
2.2k
Activity
Jul ’22
GIT - uncommitted changes
Since updating from Xcode 14 to Xcode 15, I've had to manually select all the changed files. Is there a preference setting or a way to automate this process, like before? I need to manually click on 'Stage Change' next to the 'M' in the 'Changes' view. Thank you very much for your heeeeelp!
Replies
2
Boosts
0
Views
1.8k
Activity
Oct ’23
My app folder document not appear in Files (iPad)
Hi All, Why on Files I do not see my App Folder? I check on debug and all my files exists in the document folder but on my iPad, I do not see my folder in Files? thanx a lot
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’21
Collection view, cell size, image size
What is the best practice to have UIimage into cell that set the same width and same height on CollectionView cell size -> 200*200 Estimate size -> None On cell Uimage on cell leading, trailing,bottom,top ---> to cell even if I force the height and width, image do not set the same size of the cell the height is different???? I try with the delegate UICollectionViewDelegateFlowLayout to force size to 200*200 but no effect of UIimage inside What can I do to have the same size on Uiimage into cell ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
722
Activity
Jul ’21
Cloudkit sync only on opening App
Hi all, I implement NSPersistentCloudKitContainer in AppDelegate, all settings (push notification, background mode, icloud, container etc...) With two devices (iPad), the synchronisation works well but ONLY when I open App.... I do not understand why...I missed a setting somewhere????
Replies
1
Boosts
0
Views
1.1k
Activity
Feb ’22