Search results for

build disappears

50,310 results found

Post

Replies

Boosts

Views

Activity

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
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
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
507
Aug ’18
Subscription products disappeared in App Store Connect after resubmission – cannot attach subscription again
Hello, My app uses auto-renewable subscriptions. I submitted an update and at first the subscription products appeared properly under the monetization section in App Store Connect. However, after resubmitting the binary for review, the subscription product attachment disappeared, and now it is not possible to re-attach them. Even sandbox testing cannot retrieve the subscription identifiers anymore, because the monetization section no longer shows the products. Questions: Why did the subscription products disappear after a resubmission? How can I re-attach subscription products to the new version? Do I need to remove the current version submission to make subscriptions appear again? Does App Review need to finish processing subscription approval separately? Notes: The first version binary showed subscription products. After internal rejection and resubmission, they disappeared. Using StoreKit 2 restore flow in production code. Sandbox accounts cannot fetch product identifiers. Any gu
1
0
81
Dec ’25
displayModeButtonItem disappears when detail view expands
I can't tell if this is the correct default behavior, or if I've configured something incorrectly. But title says it all: When I tap the displayModeButtonItem in the navbar of my detail view controller, the master view controller goes away (as expected), and the detail expands to fill the display (as expected).But, the displayModeButtonItem dissappears, which makes it impossible for a user to tap it again, to bring the master view controller back.The weirdest part is, if I tap just to the right of the back button text, I can tap an invisible displayModeButtonItem which brings the master detail back!This makes me thing something about my app's configuration (such as how I've themed my navbars) may be causing this screwy behavior. On the other hand, google as I might, I can't tell if this is just default expected behavior.NOTE: My split view controller is configured to use preferredDisplayMode = UISplitViewControllerDisplayMode.AllVisible
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
1.2k
Aug ’15
How do I recover iOS 13 simulators if they disappear?
I had the latest XCode 11 beta installed side by side with the XCode 11 GM (first), but was strictly using the GM at this point. Today, I decided to get rid of the beta for good and deleted it, but it seems to have taken all of the iOS 13 simulators with it. I've tried reinstalling GM 1 and 2, but neither action has brought back the simulators.When attempting to run my code on an iOS 13 simulator, I get The iOS 13 simulator runtime is not available.Details: When I go to XCode > Preferences > Components, no iOS 13 simulator is listed:When I try to add an iOS simulator manually via XCode > Devices and Simulators, I get The operation couldn't be completed. Invalid argument
1
0
1.4k
Sep ’19
Old transactions disappear from receipt in sandbox
Hello,We noticed, that old non-consumable purchase can dissappear from application receipt for test user in sandbox (we test it by sending receipt to Apple). It's really strange, because when we try to purchase it again, system says You've already purchased this. Would you like to get it again for free?. Refreshing receipt doesn't help.I tend to think, that this is some kind of Sandbox bug. Of course there's a chance, that we missed something along the way, but I can't think of any possible action on our side, that could have caused this problem.If someone else faced same issue or have some piece of advice, please do let us know in this thread.Thank you!
0
0
1.1k
Jul ’18
wifi splash page not disappearing
Hi all,I am trying to add a splash page/ wifi landing page/ wifi agreement page (or whatever the name is) to my network by modifying my dns server.We know this is not the so call correct way to do it, and will not block attacks in a meaningful way. (as they can always use a better DNS server)Here is how my implementation works:1) DHCP point device to use my DNS server2) DNS server reslove all request as an local ip address, in which it host a web server for the agreement page3) After user agree to the terms, DNS server will start resloving the request correctly, thus, user will be able to get to the webIt works on computers, however, when I tested it on iOS devices, here's what happen1) connect iPhone to wifi network2) iPhone tried resolve a number of sites to determine if the system has internet connection3) DNS server reslove all these request as a local web server's ip address, with ttl=14) splash page comes up on iPhone5) user click I agree, and DNS server starts giving out correct ip, the page also redir
1
0
585
Feb ’17
WatchKit app disappears from Recents in Dock
Hello, I've noticed a problem with my Watch app. There is a button for launching directions in one of the pages. Some users are reporting that when they navigate away from my app to the Map app, my app no longer appears as the Recent app in the dock so there is no quick way to go back. I haven't been able to reproduce this issue, but for some people it happens every time.Is this something I can try to fix in my app or is it a bug in the system?Thanks
0
0
410
Sep ’17
File attributes disappearing on move in iOS
File attributes seem set properly when we save files in our app, but if the files are moved, the attributes (including icon) are lost until we re-save and recreate them. This is being tested on devices, so it's not a simulator feature. These files are often stored in iCloud, so that might be the culprit, but I don't see any diagnostics in the file attributes area -- I'm probably looking right at it.
0
0
426
Sep ’17
Navigation Bar disappearing when using RootViewController
I am trying to see if the user is logged in using the userdefaults, and if he is, to display the main view controller. This is the scene delegate code. var window: UIWindow? func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { if UserDefaults.standard.bool(forKey: isLoggedIn) && false { let homeViewController = UIStoryboard(name: Main, bundle: nil).instantiateViewController(withIdentifier: MainStoryBoard) as! MainViewController let navigationController = UINavigationController(rootViewController: homeViewController) window?.rootViewController = navigationController } else { let homeViewController = UIStoryboard(name: Main, bundle: nil).instantiateViewController(withIdentifier: InitialViewController) as! InitialViewController let navigationController = UINavigationController(rootViewController: homeViewController) window?.rootViewController = navigationController } window?.makeKeyAndVisible() } This is what it's supposed to look lik
2
0
1k
Apr ’23