Open EmilAlipiev opened 2 years ago
Hi @EmilAlipiev seems like there are some not supported code signing entitlements specified for your app (like 'Production') - see more in apple docs. Since this issue is not related to the pipeline task itself, but rather with Apple code signing process - I would suggest to reach out to Apple support for other advises.
@EmilAlipiev please ping if you have any other questions
@anatolybolshakov thanks for your reply. I am not sure where do you see that aps-environment with value Production as entitlement cant be set. I have already googled and cant find anything related. On the other hand, app signing is working just fine through XCode with this entitlement. That confuses me.
@EmilAlipiev did you manage to upload the same app package manually to app store?
@anatolybolshakov yes, i do using xcode directly to appstore without any problem.
@EmilAlipiev could you please share your pipeline yaml file to take a look? Do you have some minimal sample project - so we would be able to reproduce it on our side?
@anatolybolshakov I am not doing anything specific with the Yaml. I think that it can simply reproduced by adding an entitlement with aps-environment
with value Production
@EmilAlipiev we are unable to reproduce this issue. This could be probably related to some difference between configuration and build process of your project in pipelines and local environment. We also don't see any signs of issue on task side here - there is an 'Invalid Code Signing Entitlements' error coming from iTunes Transporter which says that there are code signing entitlements in application bundle's signature which are not supported by iOS platform. I would suggest to compare certificates used to sign bundle locally and in the pipeline, and reach out to the Apple support for further troubleshooting.
On Azure Pipelines my Xamain.Ios build returning this error
I found the similar issue on fastlane github but when I followed the suggestion on the issue below, error persists
https://github.com/fastlane/fastlane/issues/768
Not sure if this suggestion is valid for VS4Mac as well. I have simply set the signing as Manuell and selected correct publish profile. I have tested with resigning and without but same error always.
Normal build, package and deploy using Visual Studio and Xcode on Mac works just fine but only in Azure Devops with this extension. Do you know what might be the root cause and if there is any workaround?