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?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am trying to fetch kCGImagePropertyExifUserComment from an image (I will discuss how usercomment is saved, towards the end of this question). I am fetching the data through PHImageManager.requestImageData and then feeding this data to below methods.
let imageSource = CGImageSourceCreateWithData(data as CFData, nil)
let dictionary = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, nil)
The resulting dictionary doesn't contain usercomment and don't even show the {EXIF} key. This is happening only for few internet downloaded images that doesn't show proper metadata. For camera taken images this is working fine.
But there are ios apps and websites that can read the usercomment I'm storing.
Saving a string in usercomment - I'm using CGImageDestinationAddImageFromSource and CGImageDestinationFinalize methods for including the usercomment in image metadata. This data is saved to a temporary file location and following method is used to save data to PhotoLibrary.
PHAssetChangeRequest.creationRequestForAssetFromImage(atFileURL: url)
Please note that the code is working for most of the images. But only for few jpeg files I noted the issue. I want to fetch usercomment in all cases. Please guide me.
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.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect API
Tags:
App Store Connect API