Bläddra i källkod

Added iOS entitlements to project settings and notes on inspecting them

Björn Ritzl 4 år sedan
förälder
incheckning
d187e48d33
2 ändrade filer med 15 tillägg och 2 borttagningar
  1. 5 2
      docs/en/manuals/project-settings.md
  2. 10 0
      docs/en/shared/ios-faq.md

+ 5 - 2
docs/en/manuals/project-settings.md

@@ -318,8 +318,11 @@ The bundle identifier lets iOS recognize any updates to your app. Your bundle ID
 #### Info.plist
 If specified, use this info.plist file when bundling your app.
 
-#### Entitlements
-If specified, can override wildcard entitlements defined in the supplied provisioning profile (.entitlements, .xcent, .plist).
+#### Custom Entitlements
+If specified, the entitlements in the supplied provisioning profile (.entitlements, .xcent, .plist) will be merged with the entitlements from the provisioning profile supplied when bundling the application. Entitlements from the 
+
+#### Override Entitlements
+If checked the Custom Entitlements will replace the ones in the provisioning profile when bundling. Must be used in combination with the Custom Entitlements setting above.
 
 #### Default Language
 The language used if the application doesn't have user's preferred language in `Localizations` list (see [CFBundleDevelopmentRegion](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-130430)). Use the two-letter ISO 639-1 standard if preferred language is available there or the three-letter ISO 639-2.

+ 10 - 0
docs/en/shared/ios-faq.md

@@ -1,2 +1,12 @@
 #### Q: I am unable to install my Defold game using a free Apple Developer account.
 A: Make sure that you are using the same bundle identifier in your Defold project as you used in the Xcode project when you generated the mobile provisioning profile.
+
+#### Q: How can I check the entitlements of a bundled application?
+A: From [Inspect the entitlements of a built app](https://developer.apple.com/library/archive/technotes/tn2415/_index.html#//apple_ref/doc/uid/DTS40016427-CH1-APPENTITLEMENTS):
+
+> $ codesign -d --ent :- /path/to/the.app
+
+#### Q: How can I check the entitlements of a provisioning profile
+A: From [Inspecting a profile's entitlements](https://developer.apple.com/library/archive/technotes/tn2415/_index.html#//apple_ref/doc/uid/DTS40016427-CH1-PROFILESENTITLEMENTS):
+
+> $ security cms -D -i /path/to/iOSTeamProfile.mobileprovision