In my project, I use Swift Package Manager (SPM) to include Alamofire. Since Particle uses CocoaPods and also depends on Alamofire, when I call the auth.connect method, it causes a crash in Alamofire's public init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil) method with the error Thread 7: EXC_BAD_ACCESS (code=1, address=0x20), due to method being unable to read data.
In my project, I use Swift Package Manager (SPM) to include Alamofire. Since Particle uses CocoaPods and also depends on Alamofire, when I call the
auth.connectmethod, it causes a crash in Alamofire'spublic init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil)method with the errorThread 7: EXC_BAD_ACCESS (code=1, address=0x20), due tomethodbeingunable to read data.