Xcode Canvas not working for a specific file - ios

I am new to xcode and is practicing coding an expense tracking app. However, all of my files are working properly except for this one file (transactionList), which I am trying to make my work show up on the canvas.
I have tried to delete and recode the file a couple times, but nothing seems to work and I don't exactly know the issue because there was no bugs/errors shown.
Can you guys help me fix it? Thank you so much! enter image description here

Related

Xcode saves my old codes whenever i selected core data and i cannot get rid of it in swiftUI

So i'm having trouble with trying to open xcode with core data checked.
everytime i do it my old file from years ago suddenly shows up with all the old codes attached and my core data already filled in with that previous attemp. i have tried everything from deleting xcode to deleting my files but i cannot understand where and how xcode saves that old codes and keeps popping it up again and again everytime i clicked that core data check mark. i don't know if its a cache thing because i saw you can delete xcode cache but you have to download some software and i believe apple probably has some built in thing to avoid this. i'm using xcode 13.2.1 please help i've been trying and wrapping my heads around this problem for sometime i can;t seem to find the right answer for it. i have tried to delete xcode profiles like in this article https://cocoacasts.com/how-to-delete-every-record-of-a-core-data-entity
even this https://www.advancedswift.com/batch-delete-everything-core-data-swift/#delete-everything-delete-all-objects-reset-core-data
i still don't understand how to delete them all or where the code should be placed
Thank you so much for your time and have an amazing day/evening

iOS 12 Model rendering issue

Having an iOS 12 model rending issue.
My app loads OBJ models with associated MTLs and textures.
On iOS 11 we were able to load up the models and they looked good:
On iOS 12, they look completely different:
We are able to make some changes after the model loads initially to make it look good, but it takes time for the iPhone to load the better looking version.
Has anyone heard about/experienced this issue and know what has changed in iOS 12 (and potentially MacOS Mojave) that is causing it?
There might be two issues: 1- texture issue (as seen in chair on left) and 2- Material/MTL issue as seen in the ‘delivery drone’ on the right
I don't have any code at this moment as I am not one of the developers on the project - I have been tasked with reaching out here. If you have any questions regarding the specific code I could definitely try to get some to show here. It seems to me like this might not be a code issue or bug, but rather some settings that have to changed due to changes made in iOS 12, but I can't find documentation for something that matches this.
I know this is not an answer, but I was asked for a screenshot. For the moment I use the OpenGL renderer instead of Metal as a workaround.
I solve the same issue by convert .obj file to .scn files in Xcode, and use this scenes as nodes. Editor -> Convert to SceneKit file format (.scn)
screenshot of this menu

xcode: ERROR ITMS-90022: "Missing required icon file.."

I've read numerous other answers for this, but I thought it was worth posting the same question with an addendum..
I actually solved this exact same problem once before by adding the correct images in my images.xcassets window, however I don't recall how I figured out which boxes to put the image in? How do I link the errors to the correct box?
Are you using Cordova? I see you tagged it but have no mention of it?
If you are just to save you some time and effort theres a really good npm plugin that generates all this for you & my xcode picked up all the different sizes automatically. cordova-icon.
It's really simple, just have an icon.png in your root and run cordova-icon in your console. It generates icons for android iOS and windows.

iOS still able to reference files after I remove them

I feel dumb for asking this, but I've spent like two hours trying to figure it out. I have a bunch of pictures that I included in my xcode project. I have them named background1.png, background2.png, background3.png etc.. I was renaming & messing around with the numbers of the photos and whatnot, and for some reason when I ran my code and I called [UIImage imagenamed #"background7.png"] I was getting background9.png instead. So I figured I have duplicate images in my project somewhere.
I deleted all the background images that I can find in my project. And when I run the code, even though I think they should all be gone, these images are still showing up. I opened up the finder and deleted any reference of background*.png I can find on my entire computer, and I tried moving the project to a different directory and it is still finding these photos. I thought that maybe the simulator/phone is caching the images so I deleted the app, didn't help. Any ideas on where these images might be hiding to where I can't find them anywhere but they can still be referenced?
You need to follow two simple steps :-
Clean your project. (Xcode->Product->Clean)
Delete application from device/simulator
Run again.
Hope this helps you..
You need to clean and build the project again. Press command + shift + K and then run(command + R) the code again. You can also try resetting the simulator or remove the app from there. If you are using device, you can remove the app from there.

QR De/Encoder SIGABRT error (switching between de/encoder)

hey guys i have to make an app for my school project which includes reading an creating of QR Codes...
No Problem so far. I started with making a tap bar application so that you can switch between the two settings.
I'm using the ZBarSDK to read the Codes and that works so far...
for creating the codes i am using the kuapay-iOS-QR-Code-Generator and that worke also...
but if i combine them in my app i get the SIGABRT error after switching between the views :/
i hope you can help me i uploaded the whole project, so that everybody can see the problem directly!
Link: http://www.mediafire.com/?01acxgitv27uj9n
I hope you can help me :)
I had the same problem, have you disabled the armv7s architecture in your build settings? Also, have you made sure to connect all your outlets to appropriately declared properties? I'm fairly new too, and I would have made this a comment instead of an answer, but it seems I don't have enough rep to do so/ can't find the link to comment.

Resources