What makes NSCalendarsUsageDescription required?

后端 未结 5 1294
抹茶落季
抹茶落季 2020-12-24 02:51

When I upload to iTunes Connect, my app gets the error that the NSCalendarsUsageDescription privacy is not provided. I am aware that this information is now man

5条回答
  •  不知归路
    2020-12-24 02:55

    You could try using nm tool to look for EventKit specific symbols in your frameworks binaries, something like:

    nm YourFramework.framework/YourFramework | grep EK # EK is a prefix for EventKit classes
    

    Or one-liner (look for files without extension, also ignore CodeResources to reduce irrelevant output):

    find YourApp/Frameworks ! -name '*CodeResources*' -type f ! -name "*.*" -exec nm -o -- {} + | grep EK
    

    If there is such you will see something like:

    0000000000003fdb t -[ClusterPrePermissions EKEquivalentEventType:]
                     U _OBJC_CLASS_$_EKEventStore
    

    To learn more about nm run man nm in your terminal.

    The nm tool is useful when you want to see which symbols a given binary contains. There are plenty of options that you can give to nm but most of the time it is enough to run it without any arguments to answer questions like: is symbol X present in a given binary?

提交回复
热议问题