i am trying to make simple content filter as proof of concept and for debugging i should use real device , when i run the project on device Xcode returns this error "Personal development teams , including 'My Name' do not support Network Extensions Capability" , as i guess i should be an apple developer for not having this error , but is there a way to debugg the project while i am just trying to proof the concept?
Post
Replies
Boosts
Views
Activity
The issue occurs more frequently if there are many pending requests, the status code of the cancelation is 103.
I am trying to create a jwt token signed with Elliptic Curve Digital Signature Algorithm (ECDSA) with the P-256 curve and the SHA-256 hash algorithm.
The payload and the header are created properly, but I am having problems signing it.
The P256.Signing.PrivateKey(rawRepresentation: keyData) always returns nil.
Can anyone please help?
let privateKey = """
-----BEGIN ENCRYPTED PRIVATE KEY-----
code
-----END ENCRYPTED PRIVATE KEY-----
"""
let keyData = Data(base64Encoded: privateKey.toBase64())!
let header = jwtHeader()
let payload = jwtPayload()
let signingInput = "\(header).\(payload)"
let privateKey = try! P256.Signing.PrivateKey(rawRepresentation: keyData)
let sig = try! privateKey.signature(for: Data(signingInput.utf8)).rawRepresentation
return "\(signingInput).\(sig.base64URLEncodedString)"
extension String {
func toBase64() -> String {
return Data(self.utf8).base64EncodedString()
}
}
I created a APNS Certificate and downloaded them, but I can't find the private key for that certificates, how can I get it to share with the backend team?
I want to save some settings in my watch kit app, and I know I can't use UserDefault, what other options are there to keep user's selected settings in the watch app?
I prepared a build to submit to App Store, then I needed to replace it with a newer one, but I don't see any "-" icon to remove this build, Is this appstoreconnect bug or I'm doing something wrong? There is newer version than 10th uploaded to
Update: I could fix it, found in Submit review screen that I can remove the build from there.