Post

Replies

Boosts

Views

Activity

How to sign jwt token for calling app store connect api?
We are trying to sign JWT for calling notification history api (https://api.storekit.itunes.apple.com/inApps/v1/notifications/history). We have followed the steps mentioned in "generating tokens" page (https://developer.apple.com/documentation/appstoreserverapi/generating_tokens_for_api_requests). But while trying to sign the jwt from JWT.io website, we are facing some issues. We kept algorithm as ES256, gave header and payload. And also copy pasted the private key we downloaded, from users and access, keys section. But we don't know what is the public key. We tried few things. But always getting "invalid signature" error. Please give us an idea how to enter the private key and what public key we have to give.
1
0
2.3k
Mar ’23
iOS project giving build errors after upgrading macOS to Ventura 13.0 and xcode to 14.0.1
My macbook pro has M2 chip. I had macOS Monterey and xcode 13.4.1 in my system and my iOS project was building and running properly. Then I updated macOS to Ventura 13.0 and xcode to 14.0.1. At first, I got errors regarding bitcode. I set "Enable Bitcode" option to "no" in all targets, including pod targets. Now I'm getting many other errors. One error I noticed as something important is regarding bridging header. :0: error: failed to emit precompiled header '/Library/Developer/Xcode/DerivedData/project-aizvv/Build/Intermediates.noindex/PrecompiledHeaders/project-Bridging-Header-swift_37CYKUIBOA6M1-clang_3BJMUTP0IBSLM.pch' for bridging header '/myPath/project-Bridging-Header.h' Another error is from GoogleSignIn. GoogleSignIn was installed through cocoapod. And in xcode 14, it is asking to specify development team in signing section. could not build module 'GoogleSignIn' 1. while building module 'GoogleSignIn' imported from /myPath/project-Bridging-Header.h:6: There are many such errors from different pods. could not build module 'GTMSessionFetcher' redefinition of 'GTMSessionFetcherError' And on top of all the errors, error build: too many errors emitted, stopping now Why all these issues are coming after macOS and xcode update? Is there any way I can continue development without disabling bitcode?
3
0
2.1k
Nov ’22
How to sign jwt token for calling app store connect api?
We are trying to sign JWT for calling notification history api (https://api.storekit.itunes.apple.com/inApps/v1/notifications/history). We have followed the steps mentioned in "generating tokens" page (https://developer.apple.com/documentation/appstoreserverapi/generating_tokens_for_api_requests). But while trying to sign the jwt from JWT.io website, we are facing some issues. We kept algorithm as ES256, gave header and payload. And also copy pasted the private key we downloaded, from users and access, keys section. But we don't know what is the public key. We tried few things. But always getting "invalid signature" error. Please give us an idea how to enter the private key and what public key we have to give.
Replies
1
Boosts
0
Views
2.3k
Activity
Mar ’23
iOS project giving build errors after upgrading macOS to Ventura 13.0 and xcode to 14.0.1
My macbook pro has M2 chip. I had macOS Monterey and xcode 13.4.1 in my system and my iOS project was building and running properly. Then I updated macOS to Ventura 13.0 and xcode to 14.0.1. At first, I got errors regarding bitcode. I set "Enable Bitcode" option to "no" in all targets, including pod targets. Now I'm getting many other errors. One error I noticed as something important is regarding bridging header. :0: error: failed to emit precompiled header '/Library/Developer/Xcode/DerivedData/project-aizvv/Build/Intermediates.noindex/PrecompiledHeaders/project-Bridging-Header-swift_37CYKUIBOA6M1-clang_3BJMUTP0IBSLM.pch' for bridging header '/myPath/project-Bridging-Header.h' Another error is from GoogleSignIn. GoogleSignIn was installed through cocoapod. And in xcode 14, it is asking to specify development team in signing section. could not build module 'GoogleSignIn' 1. while building module 'GoogleSignIn' imported from /myPath/project-Bridging-Header.h:6: There are many such errors from different pods. could not build module 'GTMSessionFetcher' redefinition of 'GTMSessionFetcherError' And on top of all the errors, error build: too many errors emitted, stopping now Why all these issues are coming after macOS and xcode update? Is there any way I can continue development without disabling bitcode?
Replies
3
Boosts
0
Views
2.1k
Activity
Nov ’22