Post

Replies

Boosts

Views

Activity

Reply to Restore
In my case I restored from iCloud as well as from iMac backup and both worked. Anyway the restoration don't change the iPhone boot, so in case of a failure (perhaps a power loss) the restore could be done again. The restore from a full, password protected, backup in iMac restored also sensitive data as passwords and fingerprints, in either case password will be re-synched from iCloud, if the were there, and fingerprints have to be re-recorded.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
Reply to Calling a view from 2 different places, one works one doesn't
I understood that you would a single click on the "+" button create a new List's item and follows its link. If it is so the NavigationLink init has to be the one with a tag and reference to a tags' selection, the addJob function have to create the new job's item and set the reference to point to it. The simplified code below use an, improper, set of Int as job's ID. import SwiftUI struct ContentView: View {     var body: some View { JobsView()     } } extension Int: Identifiable { public var id: Self { self } } struct JobsView: View { @State private var jobs = [0, 1, 2] @State private var selection: Int? = nil var body: some View { NavigationView { List { ForEach(jobs) { job in NavigationLink("job \(job)",   destination: JobOverView(job: job),   tag: job,   selection: $selection) } } .toolbar { Button(action: addJob,   label: {Image(systemName:"plus")} ) } .navigationTitle("Jobs") } } private func addJob() { jobs.append(jobs.last!+1) selection = jobs.last   } } struct JobOverView: View { let job: Int var body: some View { Label("Job Info \(job)", systemImage:  "chevron.down.circle.fill") } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’21
Reply to ITMS-90034: Missing or invalid signature
Perhaps the fix has been implemented in Xcode 12.5 Beta 3: Resolved Issues Fixed an issue that caused OS X 10.11 and earlier to reject packages signed on OS X 10.11 and earlier. (71695608) Known Issues OS X 10.11 and earlier may reject code signatures added to universal binaries by Xcode 12.5. (70724583) (FB8830007) Workaround: Specify --digest-algorithm=sha1,sha256 to the codesign utility at signing time. In Xcode, specify this using the OTHER_CODE_SIGN_FLAGS build setting.
Topic: Code Signing SubTopic: General Tags:
Mar ’21
Reply to Beta developer options
Ok. Quit/re open Xcode shouldn't be necessary; perhaps a deeper analysis by Apple with a Feedback Assistant could help. If developer option lastly appears after running an app from Xcode, please set above as valid answer for who will read.
Topic: Community SubTopic: Apple Developers Tags:
Jul ’21
Reply to “Other” and “System” storage is taking up literally over half of my storage
Other is filled by the system and some app logs. To, temporally, clean up the "other" space, which don'l let me to perform an update on my iPhone 6s-16GB, I do: Backup (I do it on the Mac selecting "Back up all the data on your iPhone to this Mac") Delete everything: General / Transfer or Reset iPhone / Erase All Content and Settings Wait for the restart; the iPhone is as new. Login on appleseed.apple.com, download the iOS profile and restart (this step of course can be omitted) Restore from the backup. At this point the "Other" is empty.
Topic: App & System Services SubTopic: Hardware Tags:
Jun ’22
Reply to Test flight app
The TestFlight invite code is sent by the sw developer from the App Store Connect of its testing sw. You should ask him/her.
Jun ’22
Reply to How to put help book in Xcode project?
On a try I found the solution: In the target / Build Phase / Copy Bundle Resources there were the files of the help book instead to the help book itself. I removed them. I removed the whole help book form the Xcode project. I recreated the book help hierarchy directly in the project file system; in the finder, not in Xcode. Finally, in Xcode, I added ("Add files to ...") the help book. This was recognised by Xcode as a bundle and added in the "Copy Bundle Resources" of the target.
Jun ’22
Reply to stringsdict doesn't works
Thank you Claude31 for your detailed explanation. You let my understand that the error in my simple example (from "Streamline your localised strings" in WWDC21) is the use of %d, which refers to 32bit integer, instead of %ld, which refers to 64bit integer. While I corrected the mistake, I realised that a widely portable stringsdict should have all theoretically possible values, i.e. "Order %d" (int, or 32-bit integer), "Order %ld" (long int) and "Order %lld" (long long int).
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22