Post

Replies

Boosts

Views

Activity

Xcode Error Account Authentication Error
I keep having my xcode app crash over and over while is am trying to write and test app. This has started happening since I upgraded to a Mac Studio. I never happened with my mac pro. It start show communication and then going to failure. Some apps work fine with the mac pro and were run on my iPad Air with the Mac Pro. It said to sign out of the Apple Id and back in and this does no good. Xcode is 14.2. I have beed using Xcode for years with out problems. My Apple ID have worked for years and now Xcode crashes randomly. I attached a pdf of the error /Users/jack_reigh/Desktop/Screenshot Xcode of Error.pdf
3
0
507
Feb ’23
XCODE 13.0 is the worst delivery I have received from Apple (Bad Bugs)
The Simulator does not execute the code the last version 12 worked. I will not prepare my device the last version of 12 did. The code below worked on the simulator and real iPad Air 4th gen. 1.) I can not even get the iPad Air connected with nothing running on the iPad. 2.) The simulators can not run the CardView correctly. When going from isFaceUp true to false the back ground to not complete refresh in the simulator or active preview. The right top card works but it begins not the refresh the top of the card as it goes left on the screen and get worse when the cards on that are further down the screen. The Cards refresh less and less of the top of the card as it gets lower on the screen on the left half of the screen. Boarder shows properly but red does not completely always fill when completely when isFaceUp goes false for every card. The ones on the top left work but as you go down and left less of the top of the card fills in the "RoundedRectangle(cornerRadius: 20.0)" I guess the "LazyVGrid(columns: [GridItem(.adaptive(minimum: 68))])" fails to work properly. Do not plan to upgrade the iPad Air since I do not trust Apple code now! // //  ContentView.swift //  Memorize // //  Created by Reigh Jack on 8/19/21. //  using CS193P Spring 2021 // import SwiftUI struct ContentView: View {     var emojis = ["🚲", "🚂", "🚁", "🚜", "🚕" ,"🏎", "🚖", "🚐", "🚒", "✈️", "🚀", "⛵️", "🛸", "🛶", "🚌", "🏍", "🛺", "🚠", "🛵", "🚗", "🚚", "🚇", "🛻", "🚝"]     @State var emojiCount = 20     var body: some View {         VStack{             ScrollView {                 LazyVGrid(columns: [GridItem(.adaptive(minimum: 68))]) {                     ForEach(emojis[0..<emojiCount], id: .self ) { emoji in                         CardView(content: emoji)                             .aspectRatio( 2/3, contentMode: .fit)                     }                 }             }             .foregroundColor(.red)         }         .padding(.horizontal)     } } struct CardView: View {     var content: String     @State var isFaceUp: Bool = false          var body: some View {         ZStack{             let shape = RoundedRectangle(cornerRadius: 20.0)             if isFaceUp {                 shape.fill().foregroundColor(.white)                 shape.strokeBorder(lineWidth: 3)                 Text(content).font(.largeTitle)             } else {                 shape.fill()             }         }         .onTapGesture { isFaceUp = !isFaceUp }     } } struct ContentView_Previews: PreviewProvider {     static var previews: some View {         ContentView()             .preferredColorScheme(.dark)         ContentView()             .preferredColorScheme(.light)   } }
9
0
1.6k
Sep ’21
Break on @main with out any break points set.
I am getting an error when taping to open a document while in debugger with an actual iPadAir. It appears on @main. The program runs without the debugger attached. The error message tells nothing about what is wrong. It only does it some times but about 90% of the time making debugging impossible. Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1a8321ba8)
2
0
5.0k
Aug ’21
No control of width of SideBar on iPadOS
I have no control with the space on iPadOS. iOS is go away so that is no problem but on iPadOS is seems to use about a third of the screen and stays visible. This give unused padding on both since of the data in it used for selection. This leaves tons of wasted space I want to use for the list on the rest of the screen. I use and frame and overlay around the Data in the side bar and see unused space on both sides and big as my side bar I want to reclaim that space for the view on the other side of the screen in iPadOS. The space is currently waisted and just blank padding! All examples I looked at do the same thing when running. Its is no problem on desktop, laptop since the size there is not as limited. I can not build Muiltiplatform like I want without a solution.
0
0
494
Jul ’21
Design Problem
I see a problem with designing using dark mode displays. Nest both HStack and a List is the same Vstack the text changes color to white in both but not the background color. This makes the text invisible in the HStack. This makes the Text in the HStack not work a non scrolling header for the list in Dark Mode. This seams to be a bug in the design of the SwiftUI? I want a VStack to be the header but non scrolling but if I put in in the list is Scrolls out of sight.
3
0
472
Jun ’21
Sort is swift doubles the number of entries in array
class InventoryModel: ObservableObject {     @Published var fileData = [inventoryEntry]()     var fileData2 = [inventoryEntry]() // for debug viewing fileData     var fileData3 = [inventoryEntry]() // for debug viewing fileData ..... } struct inventoryEntry{     var id: UUID = UUID()     var name: String = ""     var catagory: String = ""     var subcatagory: String = ""     var location: String = "" } inventoryModel.fileData.sort{$0.name $1.name} before sort the array has 64 entries and it is also stored in fileData2 viewable at break point after sort the array has 127 entries and I store hit in fileData3 viewable at break point What happened here. I did not expect sorting the array to add copied entries I consider this a bug. bug?
4
0
538
May ’21
Contradiction in messages with no indication on what to fix!
How can it say "This device is set up" followed immediately by "Errors were encountered while preparing your device for development". Please check the devices and Simulators Window. I am in the window it tells me to look at. It is pointing me to itself. And it does not give any useful information. How can it be setup if it encountered errors. this is a contradiction! How do I fix the problem if I m not told what it is? I worked Yesterday how can it be prepared one day and not the next? Now my Mac Pro can not even see it.
1
0
425
Apr ’21
What does Error Code 402620403 mean
This Error just started today and the message does not have enough info to explain what is wrong. It is occurring with code that worked last week. It even occurs with code from new project unchanged. I can not find any data of this type of error. Code is on my iPad Pro 10.5 inch running iPadOS 14.2. It fails on both my Mac Pro and My MacBook Pro systems. I want to run on more that simulators. I have written software for over 50 years and this message has to little info to help if I can get only a code number. thanks for any help ------- Detail data from error below Details Unable to install "InventoryApp" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620403 - There was an error communicating with your device. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620403 User Info: {     DVTRadarComponentKey = 261622;     MobileDeviceErrorCode = "(0xE800800D)";     "com.apple.dtdevicekit.stacktrace" = ( 0   DTDeviceKitBase                     0x000000012c07499f DTDKCreateNSErrorFromAMDErrorCode + 220 1   DTDeviceKitBase                     0x000000012c0b3164 _90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155 2   DVTFoundation                       0x000000010f883993 DVTInvokeWithStrongOwnership + 71 3   DTDeviceKitBase                     0x000000012c0b2ea5 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440 4   IDEiOSSupportCore                   0x000000012bf237bc 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.292 + 3513 5   DVTFoundation                       0x000000010f9b22ae DVTCALLINGCLIENTBLOCK + 7 6   DVTFoundation                       0x000000010f9b3ed0 _DVTDispatchAsyncblockinvoke + 1191 7   libdispatch.dylib                   0x00007fff681b66c4 dispatchcallblockandrelease + 12 8   libdispatch.dylib                   0x00007fff681b7658 dispatchclientcallout + 8 9   libdispatch.dylib                   0x00007fff681bcc44 dispatchlaneserialdrain + 597 10  libdispatch.dylib                   0x00007fff681bd5d6 dispatchlaneinvoke + 363 11  libdispatch.dylib                   0x00007fff681c6c09 dispatchworkloopworkerthread + 596 12  libsystempthread.dylib             0x00007fff68411a3d pthreadwqthread + 290 13  libsystempthread.dylib             0x00007fff68410b77 start_wqthread + 15 ); } - System Information macOS Version 10.15.7 (Build 19H15) Xcode 12.2 (17535) (Build 12B45b) Timestamp: 2020-12-07T21:49:02-06:00
2
0
1.3k
Dec ’20
Xcode 11.6 simulator performance not matching hardware
I am using the Stanford iOS programming course spring 2020 to learn Swift UI and finding that animation delays are not coming close to match performance when comparing my iPad Pro to the iPad Pro simulator. My iPad is running iOS 11.6.1 and the code is targeted to 11.6. The simulator is far slower at performing the animations than my hardware. I see no hope of ever being able to use the simulator to tune code performance for multiple targets with it working this poorly. Is this being seen any where else. The animations are very nice and easy to code but without tuning they are unusable. Any thoughts?
5
0
1.4k
Aug ’20