Posts

Post not yet marked as solved
0 Replies
812 Views
So I have a ARView using realitykit. I am reusing the ARView. I have a Entity that has animations (stored in .usdz file). I play the animation with the following line of code. hummingbird = try! Entity.load(named: "bird") for animation in hummingbird.availableAnimations {             hummingbird.playAnimation(animation.repeat(duration: 120.0)) } However I noticed there is a memory leak. using Instruments I found it was at the playAnimation line. I have no clue how to fix this. At the end of the ARView I do this: hummingbird.stopAllAnimations(recursive: true) hummingbird = nil I thought that should be enough. But it isn't. In the image there are 2 instances. That from running the same arview 2 times. Basically my set up is startVC->ARView->backToStartVC->backToSameARView (with new configuration). And so on. Any idea would be great. And if you have any question or need clarification. Please ask.
Posted
by bhavin84.
Last updated
.
Post not yet marked as solved
26 Replies
38k Views
Hi i get an error[TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <UITableView: 0x102094800; frame = (0 0; 320 568); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x282dac3f0>; layer = <CALayer: 0x2823fb9c0>; contentOffset: {0, -64}; contentSize: {320, 248}; adjustedContentInset: {64, 0, 49, 0}; dataSource: <IOUUOMe.UOMeViewController: 0x10140a340>>And really the question is what is this error stating and how do i fix it. This happens when i tap an UIBarButton on an Navigation Bar. I have put an symbolic breakpoint which is how i found the button that was causing the error but how do i get rid of this error. and fix it properly
Posted
by bhavin84.
Last updated
.
Post not yet marked as solved
0 Replies
696 Views
So, I am making a game using GKVoiceChat. And I want to make sure that the local player is able to participate in voice chats. So I use the .isPersonalizedCommunicationRestricted. No matter what account I uses (Sandbox or personal) the variable is always true! Im 18+. And have no restriction set on the phone/iCloud account. I know for a fact that I am authentication the player properly because I am able to start and play a multiplayer match. And also isMultiplayerGamingRestricted = false. And Ideas. If you need code just ask :)
Posted
by bhavin84.
Last updated
.
Post marked as solved
15 Replies
16k Views
So I previously had the iOS 12 beta profile in my iPhone SE. then I went to the website were I enrolled in the iOS 13 beta. It made me download a profile and install it. Then it told me to restart my device which I did. Then I checked my profile and the iOS 12 public beta profile was gone and the iOS 13 public beta was installed. Then I went to software update. And presses download and install. Then I got an error saying “Unable to install update. An error occurred installing iOS 13 Public Beta”. So I retried like 5 times. And then I surfed the internet and they said to try deleting the profile and/or the deleting the download in iPhone storage. I tried that like 3 time and tried pressing install. Never worked I always got the same error. I tried restarting my device and stuff. That never worked to. So just wondering how to fix that.Anybody got suggestions?
Posted
by bhavin84.
Last updated
.
Post not yet marked as solved
0 Replies
583 Views
So, recently I changed my App Icon for my watchOS and iOS app. But when I try and upload the build to App Store Connect I get an error about my App Icon for my watchOS application. stating this: App Store Connect Operation Error Invalid Icon. The watch application 'Bullet Defender.app/Watch/Bullet Defender.app' contains an icon file 'Icon Image-AppIcon-watch-29x29@2x.png' with an alpha channel. Icons should not have an alpha channel. And this message happens with all the watch image sizes. But here's the problem. I checked the file name. And these file names are no where in my project or on my computer. I don't Know where these Images icon files are coming from. In fact I checked the icon images used and the file name is different (never changed the names) and there is no alpha channel with any or my images. Any help would be amazing If you need more information just ask.
Posted
by bhavin84.
Last updated
.
Post not yet marked as solved
1 Replies
976 Views
So I am making a app. And am pretty far in the app. I was trying to add/update my constraints to a UIViewController and a UITableView with prototype cell. And I was adding constraints by using the "vary for traits". But when ever I tried to update constraints, add constraints, or reset to suggested constrints all automatically. an error message popped up.error messageFailed to automatically update constraintsInterface Builder encountered an internal error while attempting to automatically update constraints. Your most recent change has been automatically reverted.A folder of diagnostics files has been created. Please file a bug at https://bugreport.apple.com and attach an archive of the diagnostics folder.This has never happened before and I have been using "vary for traits" for a year or 2 as my way of adding constraints and this has never happened. I have tried quitting xcode. restarting my computer. and stuff but that didnt help. I have also submitted an apple feedback message. But they havent responded. I have read online saying that i should delete the labels and stuff but like i said im pretty far in the project and cant afford to delete the progress on the storyboard. And for some reason it doesnt happen on any other project i have. And on this one project I had automatic constraints in place before using the "vary for traits" but the the error never happeneed. the error has been happening for a week now. And im out of ideas.So my question is how do I stop the error message and make it normal again.
Posted
by bhavin84.
Last updated
.