Posts

Post marked as solved
2 Replies
407 Views
Hi, I got this error when I try run the CreatingAPhotogrammetryCommandLineApp Sample code " Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)"). I haved taken pictures from the iOS app sample, then I have exported the photos folder from my iPhone 12 Pro to the Mac. After that I have added the photos folder into the app and assigned the photos folder into inputFolder variable, but It seems I have missed a step, and that caused the error.
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
2 Replies
2.4k Views
Error Domain=render service Code=12 "Rendering service was interrupted" UserInfo={NSLocalizedDescription=Rendering service was interrupted}Also, I use the MacOS Catalina beta 4
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
3 Replies
572 Views
Hello Enginners,I'm still looking for a way that would make Localization much easier for developers in Xcode. The current implementation is more complex, and it creates many ways to duplicate keys and to have runtime issues. Avoiding magic keys is one of the best practices that we can have.Proposal:Localizable. string en "HelloWorld" = "Hello World" "NumberOfRooms" = "Number of Rooms are %d"Once the user writes into localizable string file. Xcode automatically will generate a struct file to be used in the project. So, a developer can use it in this wayLocalizable.HelloWorld // print Hello World in en Localizable.NumberOfRooms(value: 5) // print Number of Rooms are 5 in enThis practice will avoid magic keys in the source code. Also, it will push the developer to remove duplicate keys, and we can make sure one hundered percent developer hits the right key in the localizable file.Best Regards,Faisal
Posted
by Faisal.
Last updated
.
Post not yet marked as solved
1 Replies
929 Views
I've seen multiple sessions for SwiftUI, but, unfortunately, not all the sessions have shared their samples code yet. Are we expecting to get it soon? And where I can find them?
Posted
by Faisal.
Last updated
.