Quellcode durchsuchen

添加苹果隐私策略:PrivacyInfo.xcprivacy

Steven vor 1 Jahr
Ursprung
Commit
28a22e7f88

+ 4 - 0
KulexiuForTeacher/KulexiuForTeacher.xcodeproj/project.pbxproj

@@ -736,6 +736,7 @@
 		BC60E3BD287D294C00B05441 /* AccountDeleteViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BC60E3BC287D294C00B05441 /* AccountDeleteViewController.m */; };
 		BC60E3C0287D447F00B05441 /* DeleteAccountBodyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC60E3BF287D447F00B05441 /* DeleteAccountBodyView.m */; };
 		BC60E3C2287D448600B05441 /* DeleteAccountBodyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC60E3C1287D448600B05441 /* DeleteAccountBodyView.xib */; };
+		BC66739F2BA8421100FC01A5 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BC66739E2BA8421100FC01A5 /* PrivacyInfo.xcprivacy */; };
 		BC6BEA9F288A4C0A00022109 /* HomeMessageModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC6BEA9D288A4C0900022109 /* HomeMessageModel.m */; };
 		BC6BEAA3288A4C2A00022109 /* KSHomeButton.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC6BEAA0288A4C2A00022109 /* KSHomeButton.xib */; };
 		BC6BEAA4288A4C2A00022109 /* KSHomeButton.m in Sources */ = {isa = PBXBuildFile; fileRef = BC6BEAA2288A4C2A00022109 /* KSHomeButton.m */; };
@@ -2543,6 +2544,7 @@
 		BC60E3BE287D447F00B05441 /* DeleteAccountBodyView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DeleteAccountBodyView.h; sourceTree = "<group>"; };
 		BC60E3BF287D447F00B05441 /* DeleteAccountBodyView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DeleteAccountBodyView.m; sourceTree = "<group>"; };
 		BC60E3C1287D448600B05441 /* DeleteAccountBodyView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DeleteAccountBodyView.xib; sourceTree = "<group>"; };
+		BC66739E2BA8421100FC01A5 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
 		BC6BEA9D288A4C0900022109 /* HomeMessageModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeMessageModel.m; sourceTree = "<group>"; };
 		BC6BEA9E288A4C0900022109 /* HomeMessageModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeMessageModel.h; sourceTree = "<group>"; };
 		BC6BEAA0288A4C2A00022109 /* KSHomeButton.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KSHomeButton.xib; sourceTree = "<group>"; };
@@ -3510,6 +3512,7 @@
 		275E8A6627E18F2300DD3F6E /* KulexiuForTeacher */ = {
 			isa = PBXGroup;
 			children = (
+				BC66739E2BA8421100FC01A5 /* PrivacyInfo.xcprivacy */,
 				BC255E802B29424900A1FC27 /* SwiftImportHeader.h */,
 				BC255E812B29424900A1FC27 /* WebViewBaseConfig.h */,
 				277935D927E325B90010E277 /* Module */,
@@ -8203,6 +8206,7 @@
 				BC542E3828406F8000633781 /* UserAuthBodyView.xib in Resources */,
 				27A54CEE27E9B986007309A3 /* ModifyNameBodyView.xib in Resources */,
 				BCECE2172B3D5F0800C0D555 /* FeedbackSortView.xib in Resources */,
+				BC66739F2BA8421100FC01A5 /* PrivacyInfo.xcprivacy in Resources */,
 				BC221FA128C72B9500F99802 /* MyStyleVideoView.xib in Resources */,
 				BCC583FA28A9FA8100BAB4CF /* cloud_animation_26.png in Resources */,
 				2708565E27EDA83100EC8E72 /* GroupMemberListCell.xib in Resources */,

+ 2 - 0
KulexiuForTeacher/KulexiuForTeacher/AppDelegate.m

@@ -200,7 +200,9 @@
 - (void)configUM {
     [UMConfigure initWithAppkey:@"62a2a86de60ab53d9a94611f" channel:@"App Store"];
     
+#ifdef DEBUG
     [UMConfigure setLogEnabled:YES];
+#endif
     // 配置友盟分享
     // 微信、QQ、微博完整版会校验合法的universalLink,不设置会在初始化平台失败
        //配置微信Universal Link需注意 universalLinkDic的key是rawInt类型,不是枚举类型 ,即为 UMSocialPlatformType.wechatSession.rawInt

+ 47 - 0
KulexiuForTeacher/KulexiuForTeacher/PrivacyInfo.xcprivacy

@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+    <key>NSPrivacyTracking</key>
+    <true/>
+    <key>NSPrivacyCollectedDataTypes</key>
+    <array/>
+    <key>NSPrivacyTrackingDomains</key>
+    <array/>
+    <key>NSPrivacyAccessedAPITypes</key>
+    <array>
+        <dict>
+            <key>NSPrivacyAccessedAPIType</key>
+            <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
+            <key>NSPrivacyAccessedAPITypeReasons</key>
+            <array>
+                <string>35F9.1</string>
+            </array>
+        </dict>
+        <dict>
+            <key>NSPrivacyAccessedAPIType</key>
+            <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
+            <key>NSPrivacyAccessedAPITypeReasons</key>
+            <array>
+                <string>E174.1</string>
+            </array>
+        </dict>
+        <dict>
+            <key>NSPrivacyAccessedAPIType</key>
+            <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
+            <key>NSPrivacyAccessedAPITypeReasons</key>
+            <array>
+                <string>C617.1</string>
+            </array>
+        </dict>
+        <dict>
+            <key>NSPrivacyAccessedAPIType</key>
+            <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
+            <key>NSPrivacyAccessedAPITypeReasons</key>
+            <array>
+                <string>CA92.1</string>
+            </array>
+        </dict>
+    </array>
+</dict>
+</plist>