Thanks @DTS Engineer.
It turned out that you need to push a new commit in order for Xcode Cloud to recognise an existing branch. Not sure if this is expected behaviour but not the best experience after changing the repository.
I would expect all the branches to be listed :)
@allyLuna Unfortunately I'm not familiar with Objective C but below is the Swift equivalent. Have you tried leaving options empty or nil?
let receiptData = try? Data(contentsOf: receiptUrl).base64EncodedString()
Thanks @DTS Engineer.
It turned out that you need to push a new commit in order for Xcode Cloud to recognise an existing branch. Not sure if this is expected behaviour but not the best experience after changing the repository.
I would expect all the branches to be listed :)
@allyLuna Unfortunately I'm not familiar with Objective C but below is the Swift equivalent. Have you tried leaving options empty or nil?
let receiptData = try? Data(contentsOf: receiptUrl).base64EncodedString()