Commit 7435afee01e054cbdfad457d35ffae7c37622d7e
1 parent
2a68eed0
no message
Showing
2 changed files
with
21 additions
and
21 deletions
Example/CNLiveSettingModule.xcodeproj/project.pbxproj
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | 1374EC7D2C8BA606239AA8BB /* Pods-CNLiveSettingModule_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveSettingModule_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveSettingModule_Example/Pods-CNLiveSettingModule_Example.debug.xcconfig"; sourceTree = "<group>"; }; |
| 42 | 42 | 2AB2C3094DE741994EE23A41 /* Pods-CNLiveSettingModule_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveSettingModule_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveSettingModule_Tests/Pods-CNLiveSettingModule_Tests.debug.xcconfig"; sourceTree = "<group>"; }; |
| 43 | 43 | 3F54E93F13650F5D31EE917E /* Pods_CNLiveSettingModule_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveSettingModule_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 44 | - 6003F58A195388D20070C39A /* CNLiveSettingModule_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveSettingModule_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 44 | + 6003F58A195388D20070C39A /* 设置模块.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "设置模块.app"; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 45 | 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
| 46 | 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
| 47 | 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; |
| ... | ... | @@ -110,7 +110,7 @@ |
| 110 | 110 | 6003F58B195388D20070C39A /* Products */ = { |
| 111 | 111 | isa = PBXGroup; |
| 112 | 112 | children = ( |
| 113 | - 6003F58A195388D20070C39A /* CNLiveSettingModule_Example.app */, | |
| 113 | + 6003F58A195388D20070C39A /* 设置模块.app */, | |
| 114 | 114 | 6003F5AE195388D20070C39A /* CNLiveSettingModule_Tests.xctest */, |
| 115 | 115 | ); |
| 116 | 116 | name = Products; |
| ... | ... | @@ -216,7 +216,7 @@ |
| 216 | 216 | ); |
| 217 | 217 | name = CNLiveSettingModule_Example; |
| 218 | 218 | productName = CNLiveSettingModule; |
| 219 | - productReference = 6003F58A195388D20070C39A /* CNLiveSettingModule_Example.app */; | |
| 219 | + productReference = 6003F58A195388D20070C39A /* 设置模块.app */; | |
| 220 | 220 | productType = "com.apple.product-type.application"; |
| 221 | 221 | }; |
| 222 | 222 | 6003F5AD195388D20070C39A /* CNLiveSettingModule_Tests */ = { |
| ... | ... | @@ -569,8 +569,8 @@ |
| 569 | 569 | GCC_PREFIX_HEADER = "CNLiveSettingModule/CNLiveSettingModule-Prefix.pch"; |
| 570 | 570 | INFOPLIST_FILE = "CNLiveSettingModule/CNLiveSettingModule-Info.plist"; |
| 571 | 571 | MODULE_NAME = ExampleApp; |
| 572 | - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 573 | - PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 572 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveSettingModule; | |
| 573 | + PRODUCT_NAME = "设置模块"; | |
| 574 | 574 | SWIFT_VERSION = 4.0; |
| 575 | 575 | WRAPPER_EXTENSION = app; |
| 576 | 576 | }; |
| ... | ... | @@ -586,8 +586,8 @@ |
| 586 | 586 | GCC_PREFIX_HEADER = "CNLiveSettingModule/CNLiveSettingModule-Prefix.pch"; |
| 587 | 587 | INFOPLIST_FILE = "CNLiveSettingModule/CNLiveSettingModule-Info.plist"; |
| 588 | 588 | MODULE_NAME = ExampleApp; |
| 589 | - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 590 | - PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 589 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveSettingModule; | |
| 590 | + PRODUCT_NAME = "设置模块"; | |
| 591 | 591 | SWIFT_VERSION = 4.0; |
| 592 | 592 | WRAPPER_EXTENSION = app; |
| 593 | 593 | }; | ... | ... |
Example/CNLiveSettingModule/CNLiveSettingModule-Info.plist
| ... | ... | @@ -2,23 +2,10 @@ |
| 2 | 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 | 3 | <plist version="1.0"> |
| 4 | 4 | <dict> |
| 5 | - <key>NSCameraUsageDescription</key> | |
| 6 | - <string>App需要您的同意,才能访问相机</string> | |
| 7 | - <key>NSMicrophoneUsageDescription</key> | |
| 8 | - <string>App需要您的同意,才能访问麦克风</string> | |
| 9 | - <key>NSPhotoLibraryAddUsageDescription</key> | |
| 10 | - <string>App需要您的同意,才能访问相册</string> | |
| 11 | - <key>NSPhotoLibraryUsageDescription</key> | |
| 12 | - <string>App需要您的同意,才能访问相册</string> | |
| 13 | - <key>NSAppTransportSecurity</key> | |
| 14 | - <dict> | |
| 15 | - <key>NSAllowsArbitraryLoads</key> | |
| 16 | - <true/> | |
| 17 | - </dict> | |
| 18 | 5 | <key>CFBundleDevelopmentRegion</key> |
| 19 | 6 | <string>en</string> |
| 20 | 7 | <key>CFBundleDisplayName</key> |
| 21 | - <string>${PRODUCT_NAME}</string> | |
| 8 | + <string>$(PRODUCT_NAME)</string> | |
| 22 | 9 | <key>CFBundleExecutable</key> |
| 23 | 10 | <string>${EXECUTABLE_NAME}</string> |
| 24 | 11 | <key>CFBundleIdentifier</key> |
| ... | ... | @@ -37,6 +24,19 @@ |
| 37 | 24 | <string>1.0</string> |
| 38 | 25 | <key>LSRequiresIPhoneOS</key> |
| 39 | 26 | <true/> |
| 27 | + <key>NSAppTransportSecurity</key> | |
| 28 | + <dict> | |
| 29 | + <key>NSAllowsArbitraryLoads</key> | |
| 30 | + <true/> | |
| 31 | + </dict> | |
| 32 | + <key>NSCameraUsageDescription</key> | |
| 33 | + <string>App需要您的同意,才能访问相机</string> | |
| 34 | + <key>NSMicrophoneUsageDescription</key> | |
| 35 | + <string>App需要您的同意,才能访问麦克风</string> | |
| 36 | + <key>NSPhotoLibraryAddUsageDescription</key> | |
| 37 | + <string>App需要您的同意,才能访问相册</string> | |
| 38 | + <key>NSPhotoLibraryUsageDescription</key> | |
| 39 | + <string>App需要您的同意,才能访问相册</string> | |
| 40 | 40 | <key>UILaunchStoryboardName</key> |
| 41 | 41 | <string>LaunchScreen</string> |
| 42 | 42 | <key>UIMainStoryboardFile</key> | ... | ... |