Post

Replies

Boosts

Views

Activity

Failed to codesign since macOS Sonoma
Hi, after many hours looking for a solution I hope to find one here :) I am creating an ios application using flutter. Since updating my macbook to MacOs Sonoma it is impossible for me to launch an archive of the application on Xcode (the error below is displayed). By searching I thought I understood that it could come from Icloud but even if I put my App in the Application folder, I got this error. I can launch my application on Simulator but not on a physical phone either. error: Target release_unpack_ios failed: Exception: Failed to codesign /Users/etiennemary/Library/Developer/Xcode/DerivedData/Runner-hcgaysxersoeaugykishvsewlgps/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter with identity ...... /Users/etiennemary/Library/Developer/Xcode/DerivedData/Runner-hcgaysxersoeaugykishvsewlgps/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter: replacing existing signature Warning: unable to build chain to self-signed root for signer "Apple Development: Etienne Mary (. )" /Users/etiennemary/Library/Developer/Xcode/DerivedData/Runner-hcgaysxersoeaugykishvsewlgps/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter: errSecInternalComponent Failed to package /Applications/aa/evento.
1
1
1.5k
Dec ’23
How to increment variable in foreach loop
Hello people,  for start sorry for my bad english, I'm french  Someone can help for this :  import SwiftUI struct requestFetch: View {   @State private var somme: Double = 0   @Environment(\.managedObjectContext) var managedObjectContext   @FetchRequest(     entity: Notes.entity(),     sortDescriptors: [NSSortDescriptor(keyPath: \Notes.matiere, ascending: true)],     predicate: NSPredicate(format: "matiere == %@", "Mathématique")   )   var note: FetchedResults<Notes>       var body: some View {     List(note) { not in       somme = somme + 1       Text("\(not.matiere!)")     }     Text("ok \(note.count)")   } } struct requestFetch_Previews: PreviewProvider {   static var previews: some View {     requestFetch()   } } This code doesn't work and I really need help  It's somme = somme + not.note which don't work.  Thanks for your help :)
0
0
536
Oct ’20
How to increment variable in foreach loop
Hello people, for start sorry for my bad english, I'm french Someone can help for this :   @State private var somme: Double = 0   @Environment(\.managedObjectContext) var managedObjectContext   @FetchRequest(     entity: Notes.entity(),     sortDescriptors: [NSSortDescriptor(keyPath: \Notes.matiere, ascending: true)],     predicate: NSPredicate(format: "matiere == %@", "Mathématique")   )   var note: FetchedResults<Notes>       var body: some View {     List(note) { not in       somme = somme + not.note       Text("\(not.matiere!)")     }     Text("ok \(note.count)")   } } This code doesn't work and I really need help It's somme = somme + not.note which don't work. Thanks for your help :)
0
0
212
Oct ’20