Post not yet marked as solved
I have to regenerate a Distribution Certificate for a client (for the enterprise program). These certificates are valid 3 years. When I click create certificate, there is no option anymore to chose the Apple Distribution, I only have the option Apple Development under Software, what happens to Distribution certificate for enterprise accounts?
alex
thanks
With the recent macOS update 11.2.2
Apple Music on my mac mini (M1) search function does not work
if I type any artist in the search bar (select the scope button Apple Music)
hit enter I got the message No Results for "the artist searched"
however while typing the artist name, if you click on the suggestion in the auto-complete, it works
I tested the same functionalities with my MacBook Pro 2016 and it works, looks like something related to the M1 version, it was also working in previous version like (macOS 11.2)
thanks
Post not yet marked as solved
I am presenting a sheet using the view modifier
.sheet(item: ...)
if the view you are presenting is wrap inside another view which only add a navigation view
let's say I have a view called ViewB with a dismiss button which called the presentation mode dismiss, that works
let' say I have another view called ViewBWithNavigationView
where it's calling ViewB inside the NavigationView and it also calling dismiss on the cancel button
the result of this is that the presentation mode dismiss will only works for the first view B the cancel button, it will no close the view if you click the button inside the view
struct ViewBInsideNavigationView: View {
@Environment(\.presentationMode) var presentationMode
var body: some View {
NavigationView {
ViewB()
.navigationBarTitle("View B", displayMode: .inline)
.navigationBarItems(leading: Button("Cancel") {
self.presentationMode.wrappedValue.dismiss()
})
}
}
}
the call to self.presentationMode.wrappedValue.dismiss() inside ViewB is not trigger and the view is not dismiss
thanks
Post not yet marked as solved
The API is still not there in SwiftUI 3, is there any plan to port this UIKit API to SwiftUI or is there any recommandation how to achieve it in SwiftUI ?
it should be an access modifier on NavigationLink
thanks
Post not yet marked as solved
In SwiftUI List / ForEach, there are still no way to have custom swipe actions like we have in UITableViewDelegate leading & trailingSwipeActionsConfigurationForRow
I was expecting this feature to be delivered in the second version of SwiftUI
Post not yet marked as solved
Working with more than 1 UINavigationController is pretty common in a UIKit app
by example, you could have one navigation controller for an on boarding process to finally arrive to a main menu like a UITabBarController where each tab is embedded in it's own navigation controller
however it's not possible in SwiftUI
when you push a view where your destination view has it's own NavigationView, you will have 2 navigation bar embedded
it's that a bug or the expected behaviour?
thanks
Post not yet marked as solved
I am trying to know the value that was changed in the history, however after getting the transaction,after getting the NSPersistentHistoryChangefrom the transaction.changes SETthe changes only give us a SET of updated properties, you don't know from which the old & new value in that time ...you only have the changed object id and that will give you the current value ...if you have 2 transactions that change the same entity, same fieldit's impossible to know what was the value of the field in transaction 1please help, that looks like a big omission thanks
Post not yet marked as solved
Not sure if something changed recently or today, but as of today, our App with Automatic Signing (where the profile is managed by Apple) can't be archived, it used to works, same piece of code on the same git branchnow we got an error message saying IPA Processing Failed ...on the Signing & Capabilities, when we click on the little i next to the provisioning profile, we can see the iOS Team Provisioning Profile is selected correctly ...but when archiving, it can't find it, it propose the wildcard profilethanks
Post not yet marked as solved
I found this weird behaviour in my app.App View Layout:UITabBarController (RootViewController) Tab1 = Navigation Controller with TableViewController Tab2 = Navigation Controller with TableViewControllerIf Tab1 table view cell is click I push a detail view controller and hide tab bar items and display UIToolbarIf you click the home button, of switch to another app and come back to the app, the UIToolbar position has changed and is now sitting above the tabbar items which are invisible at this point.More Details:My initial view controller is a UITabBarController which content 2 tabs.Each tab content 1 view controller embedded into his own navigation controllerif you click on a tableviewcell, I want to push a detail view controller and hide the UITabBarController items,in the prepare for segue I passed hidesBottomBarWhenPushed = true, which works finein my detail view controller (a simple UITableViewController) I need to show now a UIToolbarwhich I can do like that in viewWillAppearsnavigationController?.setToolbarHidden(false, animated: true)UITabBarController (RootViewController) Tab1 = Navigation Controller with TableViewController Tab2 = Navigation Controller with TableViewControllerIf Tab1 table view cell is click push detail view controller but hide tab bar items and display UIToolbarNow the bugs, we are now in the detail view controller, the tab bar items have been hide and we can see a UIToolbar a the bottomLike I said previously, if you switch app and come back into the app, the UIToolbar will now be place above the TabBarItems which is invisible at this pointinitial tab barhttps://www.dropbox.com/s/9lsk908drvnsw07/TabBarItems.png?dl=0detail after pushing detail (tabbaritems are now hidden and I display toolbar)https://www.dropbox.com/s/5nuaad5pe3u68e5/DetailsVC.png?dl=0detail after resuming the app, just need to go back to home menu or change to another app and come backhttps://www.dropbox.com/s/odfcog8avazvp64/DetailsVC%20after%20app%20switching.png?dl=0thanksalex
Post not yet marked as solved
After updating my Xcode to 10.2 and doing the Swift 5 migration, I got an errors in the Test Target of my dynamic frameworkCannot load underlying module for ''any idea?If I comment out my import in my test file@testable importeverything compiled okthanks
Post not yet marked as solved
Xcode 10 beta 2, when I launch the Swift Migration to Swift 4.2it failed and it is sayingSegmentation fault: 11Command Ditto failed with a nonzero exit codeHowever my project compiled successfully and if I go in the build settings and change the Swift Language to Swift 4.2,I did the migration by manually by fixing all warnings and I don't have errors at the end,it looks like a bug in the migration assistantthanks
Post not yet marked as solved
I have a very strange error, I have an enterprise app that run over 4000 iPod touch, the version has been deployed since 3-4 monthsand since monday this week we started to got intermittent SSL error only for URLSessionDownloadTask with Background Sessionmy ATS in info.plist are configured correctlyWhen debugging I got the following error:Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made."I then ran the following command in terminalnscurl --ats-diagnostics https://myServerURL --verboseI got this following error ( the same I got in debug) for TLS 1.32018-02-09 11:49:00.845 nscurl[24730:1227795] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9800)Result : FAILError : Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9800, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7ff2a8100f50 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9800, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9800}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., ......why suddently it is trying to use TLS v1.3 ?In my info.plist I have put the minimum to 1.2 which is the defaultI just found there is a way to restrict the TLS in URLSessionConfiguration, I will try thatbut any logical explanation about this?thanks
Post not yet marked as solved
I have a Swift dynamic framework that contain objective-c files for networking purpose,inside my objective-c file I have these lines, they don't compile anymore on iOS 11 / Xcode 9 Beta 5#if TARGET_IPHONE_SIMULATOR#include <net/route.h>#endifError'net/route.h' file not foundIf I set the iOS Simulator to Generic iOS Device, it compilesany idea ?thanksAlex