Skip to content

com.apple.developer.pass-type-identifiers entitlement is replaced by <team-id>.<bundle-id> no matter what #2551

Open
revolut-mobile/rules_apple
#8
@vakhidbetrakhmadov

Description

@vakhidbetrakhmadov

Hello,

I am migrating a project from Xcode to Bazel.

When comparing .entitlements in the signature of the .app bundle built with Xcode and with Bazel, i have noticed the following diff:

   "com.apple.developer.pass-type-identifiers" => [
-    0 => "FOOBARBAZ1.*"
+    0 => "FOOBARBAZ1.com.foo.bar"
   ]

I have prepared a branch from master where this can be reproduced.

Please checkout repro pass-type-identifiers, run bazelisk test //test/starlark_tests:ios_application_entitlements_contents_device_test and observe test.log

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //test/starlark_tests:ios_application_entitlements_contents_device_test
-----------------------------------------------------------------------------
ERROR: Expected 'Array { FOOBARBAZ1.com.google.example }' to match 'Array { FOOBARBAZ1.* }' for key com.apple.developer.pass-type-identifiers
Actual contents were:
Dict {
    application-identifier = FOOBARBAZ1.*
    test-an-entitlement = false
    get-task-allow = true
    com.apple.developer.pass-type-identifiers = Array {
        FOOBARBAZ1.com.google.example
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions