We now have a Xamarin iOS app that’s constructing in DevOps pipeline utilizing the XamariniOS@2 activity. This labored fairly wonderful for a few years till a lot of months in the past after we modified vm picture so we may replace the xcode model to 14.2 to assist iOS 16+. Since then, installs to gadgets fail because of the error:
Software is lacking the application-identifier entitlement.
Analyzing the app information exhibits that the IPA constructed with xcode 13.2.1 has entitlements.
@-Mac-mini Downloads % codesign -d --entitlements - --xml Inform.Kinds.iOS.**macOS-11**.app
Executable=/Downloads/Inform.Kinds.iOS.macOS-11.app/Inform.Kinds.iOS
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>get-task-allow</key>
<false/>
<key>com.apple.developer.team-identifier</key>
<string>[OUR APP ID]</string>
<key>application-identifier</key>
<string>OUR APP ID].com.b2wsoftware.inform</string>
<key>keychain-access-groups</key>
<array><string>OUR APP ID].com.b2wsoftware.inform</string>
</array>
</dict>
</plist>
However working the identical codesign assertion in opposition to the IPA app generated by xcode 14.2 doesn’t produce any entitlements.
@-Mac-mini Downloads % codesign -d --entitlements - --xml Inform.Kinds.iOS.**macOS-12**.app
Executable=/Downloads/Inform.Kinds.iOS.macOS-12.app/Inform.Kinds.iOS
-- no output --
No code distinction between the 2 the one change is targetting a distinct vm Picture (macOS-11 to macOS-12) that has a distinct default xcode (xcode 13.2.1 to 14.2).
Does anybody know what modifications in xcode might need affected why we aren’t getting entitlements correctly generated and the best way to get that corrected?
I’ve tried so as to add a customized entitlements file that lists the default generated entitlements nevertheless it appears to disregard them. I even tried including the CodeEntitlements argument to the XamarainiOS activity:
args: '/p:CodesignEntitlements=Entitlements.plist'
No change in conduct. Add nonetheless is not going to set up with error “Software is lacking the application-identifier entitlement.”