Search results for

build disappears

49,325 results found

Post

Replies

Boosts

Views

Activity

Disappearing External link account entitlement
I've got a Flutter app that is a “reader” app. The External Link Account Entitlement has already been requested and granted. It is already added as an Additional Capability to the App ID. The com.apple.developer.storekit.external-link.account entitlement is already present in the .entitlements file. Also SKExternalLinkAccount key is added to the Info.plist file with the correct URL. ExternalLinkAccount.open() is invoked via a MethodChannel call handler and things work perfectly in debug mode. The modal appears as expected and opens the link in the external browser. Xcode archive is also sucessful and the entitlement seems to be in place when inspecting the app with: codesign -d --entitlements :- ./path/to/app But when trying to distribute the app via Xcode the entitlement disappears. Other entitlements are not affected by this issue, eg.: com.apple.developer.associated-domains for universal links. This happens with automatically managed singing and a manually selected provisioning profile as well. Wh
3
0
770
Jan ’25
Reply to XCode 14 compile errors immediately disappear or do not appear at all
Here, one more sample project can be reproduced, so please check this as well. https://github.com/gatherheart/XcodeIndexingError With this project, Xcode 14 build errors immediately disappear or do not appear at all. To reproduce the issue, please follow the steps below (based on the sample project XcodeIndexingError): Xcode version should be 14 or later. Add any xcframework to your project (e.g. SimpleFramework). Import the xcframework from another file (ImportFramework.swift). Switch the current build scheme to a configuration other than Debug. Select a real device as the build target, not a simulator. Clean the build. Check that the framework from step 1 is not copied to the DerivedData > Index.noindex > Build > Products > iphoneos directory (sometimes it is copied to iphonesimulator instead). With all the previous steps satisfied, open the BuildError.swift file in Xcode and build the project. The build error appears briefl
Feb ’23
local notification disappears from notification centre
I have an app that schedules a UILocalNotification on receiving silent push notification. Local notification appears just fine, but then after a period of time (sometimes minutes, sometimes hours) it disappears from the notification center while app still wasn't opened by a user, but it doesn't happen every time (tested multiple times on multiple devices). Occurrs in both iOS 8 and 9.I know that notifications are cleared when you set badge number to 0, but I do so only in -applicationWillEnterForeground: and in -application:didFinishLaunchingWithOptions: if app is not in background state.Any idea what might be causing local notification removal?
0
0
988
Nov ’15
Dock is not disappearing with HomeScreenLayout payload
We are pushing a HomeScreenlayout payload with no docks array . The behaviour in iOS's is the dock at the bottom is disappeared. But in ipadOS's , dock is still at the bottom with recent apps listed there. Attached is Screenshot for the ipad's behaviour . Payload : 1 PayloadUUID ____________- PayloadType com.apple.homescreenlayout PayloadOrganization MDM PayloadIdentifier _______________ PayloadDisplayName Homescreen Layout Pages BundleID com.apple.mobilephone Type Application BundleID com.apple.Preferences Type Application BundleID com.google.ios.youtube Type Application BundleID com.manageengine.mdm.iosagent Type Application Is it possible remove the dock from iPadOS or is there anything am i missing to disable the dock or distinguish between dock added apps and Recent Apps?
0
0
749
May ’22
NavigationSplitView's toolbar item disappears on resize
When a NavigationSplitView's sidebar has a default selected value, the detail's toolbar item disappears when resizing the view from compact to regular size. @State private var selectedId: String? = anything NavigationSplitView { List(selection: $selectedId) { Text(Sidebar) } } detail: { Text(Detail) .toolbar { Button(Button) {} } } There is no way to get the toolbar item back, other than reloading the view. I have no idea why this happens. In my example I have a dummy Text(Sidebar) without a value, but the problem occurs regardless of its content. Tested on Simulator iPadOS 18.0, and I've seen this happen in our production app.
3
0
725
Sep ’24
Back button disappears on NavigationLink SwiftUI
I'm combining a navigation view and a sheet the following way:struct ContentView: View { @State var showingDetail = false var body: some View { NavigationView { VStack { NavigationLink(destination: DetailView()) { Text(Go to view 2) } VStack { Button(action: { self.showingDetail.toggle() }) { Text(Show Detail) }.sheet(isPresented: $showingDetail) { SheetView() } } } .navigationBarTitle(Back) .navigationBarHidden(true) } } } struct SheetView: View { var body: some View { Text(Detail) } }The sheet works fine, but the new DetailView when you open it, the Back button seems to be there and then after 1 sec it disappears. How can I fix this?
0
0
1.1k
May ’20
Device management in Settings disappeared...
Dear all,I have just purchased my Apple Developer Membership for the first time (as I need CloudKit) and, suddenly, I cannot build my apps on my real devices anymore. I hit Cmd-R and I get the usual message Go to Settings > General > Device management to trust my device but, sadly, now there is no such option anymore on my iPhone as I used to have with the FREE membership... What has happened? How do I get out of this?I didnt really expect paying the Pro membership meant that I was locked out of my devices for development ...Thank you for your help.
7
0
3.4k
Jul ’19
Back button disappears when I have items in the toolbar
Hi, When I navigate between views, sometimes the back button disappears after 1 sec. From what I can see, this happens when I have items in the toolbar. If I remove the toolbar, it works as it should. Are my code below wrong, or is this a bug with iOS 14? .toolbar { ToolbarItem(placement: .primaryAction) { HStack(spacing: 40) { #if DEBUG && os(iOS) Button(action: { demodemo() }) { Label(Find artwork, systemImage: scribble) .labelStyle(IconOnlyLabelStyle()) } #endif #if !os(watchOS) && !os(tvOS) if let providerUrl = provider.url, let url = URL(string: providerUrl) { Button(action: { openURL(url) }) { Label(View (provider.name) in Safari, systemImage: safari) .labelStyle(IconOnlyLabelStyle()) } .accessibility(label: Text(View (provider.name) in Safari)) } #endif } } }
2
0
2.7k
Sep ’20
How to prevent TextField from disappearing in SwiftUI List?
There's a nasty SwiftUI bug in which a TextField disappears if placed in a HStack within a List.List { ForEach(0...200, id: .self) { index in HStack { Text(Text (index)) TextField(Test, text: .constant(TextField (index))) } }}- Screenshot: https://i.stack.imgur.com/HARDF.png- Video: https://recordit.co/X12uGct7gDThis happens when TextField is placed within a HStack / VStack / ZStack / .overlay() / .background(). It does not happen when TextField is the only child of ForEach. I have filed a bug (FB7500885) but I'm looking for ideas from the community to work around it. Here is what I've tried so far:Setting an explicit .frame() on TextFieldSetting .fixedSized() on TextFieldUsing a UITextField wrapped in a UIViewConvertible, with or without layout constraintsIs there anything else I could try?
4
0
2.5k
Dec ’19
Reply to Duplicate output file
hi I'm a noob on ios development. I develop my first app (webview app) and the first build works fine, with only a minor bug. I tried to fix it but the building process failed with the same errors that you have. I decided to roll back the changes but the errors didn't disappear. Can you help me to fix the problem? Any advice is wellcome I use Xcode 12.3
Jan ’21
Let View disappear automatically
Hi,I have a view that is triggred by a button touch. It appears nicely, all good. Now I want the View to disappear automatically again after a few seconds. How do I do that?!Below my test project// // ContentView.swift // FadeOut // // Created by Max on 2020-03-19. // Copyright © 2020 Max. All rights reserved. // import SwiftUI struct ContentView: View { @State private var presentClipboardView = false @State private var scale: CGFloat = 1.0 var body: some View { VStack{ Button(action: { let pasteboard = UIPasteboard() pasteboard.string = http://I_AM_A_URL.com withAnimation(.easeInOut(duration: 2)) { self.presentClipboardView.toggle() } }, label: { HStack { Image(systemName: list.dash) .padding(.trailing) VStack(alignment: .leading) { Text(Open URL) .font(.headline) } Spacer() } } ) if(self.presentClipboardView){ LabelView() } } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } struct LabelView: View { var body: some View { Text(URL copied to clipboa
3
0
1.8k
Mar ’20