Search results for

build disappears

49,461 results found

Post

Replies

Boosts

Views

Activity

One cell disappears from UICollectionView if height changed in process
I wanted to implement a self-sizing horizontal UICollectionView with self-sizing cells. I used the observer on contentSize of collectionView, so that when I change Dynamic Type size, the collection view resizes together with cells. But when I change the number of items to 1. The single cell disappears! The bug is reproducible when the estimatedItemSize = UICollectionViewFlowLayout.automaticSize, but if set some concrete value (e.g. CGSize(width: 100, height: 20)) everything works as expected. But I assume that automaticSize should have worked no matter how many cells need to be displayed. Environment: Simulator iPhone 15 Pro, iOS 17.0.1, Xcode 15.0.1 I've created a bug report. Bug Number: FB13379594 // ViewController.swift import UIKit class ViewController: UIViewController { var items: [String] = [] var horizontalInset: CGFloat = 10 var verticalInset: CGFloat = 5 @IBOutlet weak var collectionView: UICollectionView! @IBOutlet weak var collectionViewHeightConstraint: NSLayoutConstraint! override func
0
0
520
Nov ’23
Reply to iTunes Connect: Test Information Save Button Disabled
I've been having this same problem for a week or so now. I was able to get the save button to be enabled by taking the following steps:Before you upload your build:Log in iTunes Connect, select My Apps, select [your app], select TestFlight, then under Internal Testin (on the left), select Not Available for Testing.Upload your build, then wait for processing to disappear next to your build number and for the build number to turn blue and clickable under Activity.Then go to TestFlight > Internal Testing and select the new build number which should be there and clickable above Not Available for Testing. Then try to edit the info. The save button turned blue for me but when I clicked it did nothing.Who uploaded the build originally? I wonder if that has anything to do with it. I uploaded the version as an App Manager then I changed my role to Admin and its been giving me this problem near the time of th role switch. Wonder if that has anything to do with it
Nov ’15
UITableView HeaderView disappears on Tableview beginupdates
Hi,I have created custom headers which has buttons which will be used across the entire appAlso in the tableview we have textviews so i need to resize and scrollWhen i do that all the headerviews go blankFor headerview i am passing a uitableviewcell, since it needs a view override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { guard let cell1 = tableView.dequeueReusableCell(withIdentifier: header) as? CustomCell else { return UITableViewCell() } cell1.delegate = self cell1.btnHeader.setTitle(Test, for: .normal) return cell1On textview did change i call the following code let size = textView.bounds.size let newSize = textView.sizeThatFits(CGSize(width: size.width, height: CGFloat.greatestFiniteMagnitude)) / if size.height != newSize.height { UIView.setAnimationsEnabled(false) tableView?.beginUpdates() tableView?.endUpdates() UIView.setAnimationsEnabled(false) guard let cell = textView.superview?.superview?.superview as? CustomCell else { return } if let thisIndexP
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
4.5k
Feb ’18
Scheduled local notifications mysteriously disappearing
I have a feature in my app which is very similar to native Clock alarms, where users can set a time for a reminder and optional days of the week to repeat the reminder. Example Case User sets a reminder at 1:00 PM, repeating every day. I schedule 7 notifications, 1 for each weekday, each repeating. The user should get a notification every day at 1:00 PM unless they turn off the feature. Problem After successfully scheduling local notifications, and it working for the first day, the notifications stop working and printing pending notifications shows that they mysteriously got unscheduled. What I know I've heard of a 64 limit to notifications, but when testing with 7 notifications (1 reminder for each day of the week, repeating) it doesn't work either. Each notification has an ID in the format: . It consistently works on the first day, then fails on the 2nd or 3rd day The app is in production, the problem occurs in both development and production environments. Code for day in self.days { /* days is an array of
3
0
2.4k
Jan ’21
Reply to MacOS Build doesn`t works
The screenshot seems to have disappeared from your post, but I saw it earlier and noticed that your project path contains spaces and commas. Not necessarily your problem here but it’s worth looking into. You need to be careful about that when writing custom build phase scripts, using 3rd party tools that have their own scripting, etc. (I find it easiest to just avoid using paths with spaces or other characters that can cause scripting headaches.)
Aug ’21
Reply to Keyboard and View Flickering on TextInput with secureTextEntry from iOS 17
I observed the same behavior on a React website that I'm building. The 'password' bar briefly disappears, thereby giving the impression of flickering. Looking for solutions, I came across recent bug reports on this topic on react-native and flutter who all seem to agree that the problem must be lying deeper: https://github.com/facebook/react-native/issues/39411 https://github.com/flutter/flutter/issues/134723
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’24
Reply to Slow framework unit test failure (~5s)
Hmm... I just found out that I can set the Build Configuration to Release in the Test action and the pause is disappearing. Might be some default option which is set in the Debug configuration? Sorry... it seems that if you simply fiddle around enough, Xcode is somehow caching stuff... at least it is definitely not consistent in speed. Whenever I modify the tests (e.g. add an XCTFail in a different place) it takes again 5s to show up.
Aug ’22
Reply to Build is not appearing on Testflight store connect
Same issue here, using Unity for my project if that matters for common variables. It shows up first thing in test flight as status processing... then it disappears after that stage within 30 minutes. Just started happening in last 24 hours. I assume we are missing something required from the update yesterday and it's auto rejecting our builds when processing but I don't know why.... Edit: Noting that my machine is also a mac mini M1
Jun ’21
PencilKit SwiftUI issue (disappearing strokes) on iOS 16 Simulator
We are using a SwiftUI view backed by PencilKit and are experiencing an issue on iOS 16 where drawn strokes disappear from the drawing (the drawing is empty after the stroke ends). Debugging the issue shows that PKCanvasView's drawing collection of strokes is increasing, yet they are not being rendered. Details: I'm on macOS 12.6 Monterey The bug surfaces in Xcode 14.1 / iOS 16.1 (I didn't check the Xcode 14.0 / 14.0.1). The code works as expected in Xcode 13.4.1 / iOS 15.5. The bug appears not to happen on device (iPhone 13 Pro / iOS 16.1.1) Example code demonstrating the issue: I have added a couple of print statements to show what is happening and to count the brush strokes of the PKDrawing. Please see the attached GIFs below that demonstrate the issue. import SwiftUI import PencilKit public struct TestCanvas { private static let defaultTool = PKInkingTool(.pen, color: .darkGray, width: 5) } // MARK: UIViewRepresentable extension TestCanvas: UIViewRepresentable { public func makeUIView(context: Co
3
0
2.5k
Nov ’22
UIButton image disappears when “debug executable” is unchecked in edit scheme
I have created a UIButton in storyboard, and have set an image for the UIButton (the image is in assets.xcassets). The button shows up in the simulator and when run on an iPhone. However, if I quit the app on the iPhone and open it again, the button disappears, but I am still able to click it and it works. The same thing happens when I uncheck debug executable. When I check the view hierarchy, the button is on top of the hierarchy but is invisible. Using infoButton.isHidden = false also does not work. In my button's view controller, I have called view.bringSubviewToFront(_: infoButton) in viewDidLoad(). I have also tried setting the button's image programmatically, but it still doesn't show up. However, when I set a background color for the button with infoButton.backgroundColor = UIColor.blue, I can see a blue box where the button should be, but no image. Here are my settings for the UIButton: I would appreciate any help, thank you.
2
0
2.0k
Jun ’22
macOS10.14b7: Disappearing shared/static NSToolbar buttons (radar #43246076)
Note, created radar #43246076.We are experiencing disappearing NSToolbar buttons in our application. I created a sample test app to help reproduce (included screenshot, executable, and project).Steps to Reproduce:1. Launch test app, it opens a window with 2 toolbar buttons.2. Click on Test1 button, another window opens.3. Notice on the first window, the Test1 button is now missing it's image.Reproduced on macOS10.14b6 and b7., and Xcode9.4 (latest production version, no betas).Note:1. Button Test1 is a static button (which is shared with other windows). Test2 button is local and is not shared.2. Moving the window that's missing a button to a second monitor fixes the missing button.3. This problems happens with existing apps, compiled with a previous Xcode a while ago.As a workaround, we could move our buttons to not be static, but that duplicate the buttons in memory.Note: works fine in macOS10.13.4 and previous versions.Anyone else experiencing this, or has more information?Thanks!
0
0
500
Aug ’18