Post

Replies

Boosts

Views

Activity

Reply to Localization in SwiftUi
The Text and Button elements in SwiftUI are automatically localisable. Text("Hello World!") or with a variable let hello = LocalizedStringKey("Hello") Add Localizable.strings to your project. English "Hello World!" = "Hello World!"; "Hello" = "Hello"; German "Hello World!" = "Hallo Welt!"; "Hello" = "Hallo";
Jun ’20
Reply to Unsuccessful load app binary iOS 13 on App Store after having used it with Xcode 12
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Missing com.apple.application-identifier
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to I can't upload my apps to App Store Connect.
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Unable to select build in App Store Connect
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Provisioning profile failed qualification
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Unsuccessful load app binary iOS 13 on App Store after having used it with Xcode 12
From Aiiboo: then I did this: Install the "Transporter" app from the macOS App Store. OPEN Xcode 11.5 archive your project Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Provisioning profile failed qualification
From Aiiboo: then I did this:Install the "Transporter" app from the macOS App Store. archive your project OPEN Xcode 11.5 archive your project -> Command + Q Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to Please help, I cannot upload a new build to app store connect.
From Aiiboo: then I did this:Install the "Transporter" app from the macOS App Store. archive your project OPEN Xcode 11.5 archive your project -> Command + Q Close Xcode 11.5 -> Command + Q Open then Xcode 12 Beta From Xcode's organizer, select your archive and press "Distribute App" Instead of "Upload", select "Export" and proceed as usual. Drop the exported .ipa into the transporter and press "Deliver". Source: https://developer.apple.com/forums/thread/650490?page=2
Jun ’20
Reply to SwiftUI and dynamic NSSortDescriptors in @FetchRequest
Solved! Thanks to Asperi pointing to this QA: https://stackoverflow.com/a/59345830/12299030 import SwiftUI import CoreData struct ContentView: View { @Environment(\.managedObjectContext) private var viewContext @AppStorage("firstLaunch") var firstLaunch: Bool = true @State var sortDescriptor: NSSortDescriptor = NSSortDescriptor(keyPath: \Test.title, ascending: true) @State private var sortType: Int = 0 var body: some View { Picker(selection: $sortType, label: Text("Sort")) { Text("Title").tag(0) Text("Date").tag(1) } .pickerStyle(SegmentedPickerStyle()) .onChange(of: sortType) { value in sortType = value if sortType == 0 { sortDescriptor = NSSortDescriptor(keyPath: \Test.title, ascending: true) } else { sortDescriptor = NSSortDescriptor(keyPath: \Test.date, ascending: true) } } ListView(sortDescripter: sortDescriptor) .onAppear(perform: { if firstLaunch == true { let newEntry1 = Test(context: self.viewContext) newEntry1.title = "Apple" newEntry1.date = Date(timeIntervalSince1970: 197200800) let newEntry2 = Test(context: self.viewContext) newEntry2.title = "Microsoft" newEntry2.date = Date(timeIntervalSince1970: 168429600) let newEntry3 = Test(context: self.viewContext) newEntry3.title = "Google" newEntry3.date = Date(timeIntervalSince1970: 904903200) let newEntry4 = Test(context: self.viewContext) newEntry4.title = "Amazon" newEntry4.date = Date(timeIntervalSince1970: 773402400) if self.viewContext.hasChanges { try? self.viewContext.save() } firstLaunch = false } }) } } struct ListView: View { @FetchRequest var items: FetchedResults<Test> @Environment(\.managedObjectContext) var viewContext init(sortDescripter: NSSortDescriptor) { let request: NSFetchRequest<Test> = Test.fetchRequest() request.sortDescriptors = [sortDescripter] _items = FetchRequest<Test>(fetchRequest: request) } var body: some View { List { ForEach(items) { item in let dateString = itemFormatter.string(from: item.date!) HStack { Text(item.title!) Spacer() Text(dateString) } } } } } private let itemFormatter: DateFormatter = { let formatter = DateFormatter() formatter.dateStyle = .short formatter.timeStyle = .none return formatter }()
Sep ’20