What are AppId and BundleId and why they are used?


 What are AppId and BundleId and why they are used?

Ans:- Bundle Id:- A Bundle Id or Bundle Identifier uniquely identifies the Application(App) in Apple's ecosystems. This means that no two apps have the same bundle identifiers. To avoid these conflicts, apple encourages the developers to use "Reverse domain name notation" for choosing the application's bundle identifier. 

For example- "com.apple.iOSApp" is the format for Bundle identifier.


AppId:- AppId is consist of two part of a string to uniquely identified to one are more app in a single development team. The AppId consist of two string one is TeamId and BundleId with separated by a (.) dot. the TeamId supplied by apple to uniquely identified the development team while the BundleId is supplied by the developer to identified the app or set of bundle identifiers for the group of Apps.

For example- "ABCDE12345.com.apple.iOSApp", In this example "ABCDE12345" is the team id and "com.apple.iOSApp" is the bundle id which is separated by (.)


It is possible to use one appId for several applications. yes

    - To overcome this problem Explicit and wildcard AppIds were introduced.

Explicit AppId:- As the name suggests explicit appId used for only application ex- "ABCDE12345.com.apple.iOSApp", search for application with bundle identifier "com.apple.iOSApp".


Wildcard AppId:- wildcard appId can be used for one or more applications. ex: - "ABCDE12345.com.apple.*" this appId used for several bundle identifiers. The asterisk or wildcard indicates that anything that fallowing "com.apple" can be veriable. Below are some types of wildcard AppIds,

com.apple.iOSApp,

com.apple.iOSApp.iPhone,

com.apple.iOSApp.MACOS,

etc.

Comments