Commit 94abff7184bd0531e000412c6ee308c97102ad85
1 parent
2d37f7d1
提交
Showing
2 changed files
with
30 additions
and
0 deletions
CNLiveDemo_LXG/Classes/CNLiveTestController.m
| @@ -7,6 +7,8 @@ | @@ -7,6 +7,8 @@ | ||
| 7 | // | 7 | // |
| 8 | 8 | ||
| 9 | #import "CNLiveTestController.h" | 9 | #import "CNLiveTestController.h" |
| 10 | +#import <AFNetworking/AFNetworking.h> | ||
| 11 | + | ||
| 10 | 12 | ||
| 11 | @interface CNLiveTestController () | 13 | @interface CNLiveTestController () |
| 12 | 14 | ||
| @@ -17,6 +19,9 @@ | @@ -17,6 +19,9 @@ | ||
| 17 | - (void)viewDidLoad { | 19 | - (void)viewDidLoad { |
| 18 | [super viewDidLoad]; | 20 | [super viewDidLoad]; |
| 19 | // Do any additional setup after loading the view. | 21 | // Do any additional setup after loading the view. |
| 22 | + //测试 | ||
| 23 | + AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown; | ||
| 24 | + NSLog(@"输出状态==%d",status); | ||
| 20 | } | 25 | } |
| 21 | 26 | ||
| 22 | - (void)testLog { | 27 | - (void)testLog { |
Example/CNLiveDemo_LXG.xcodeproj/project.pbxproj
| @@ -226,6 +226,7 @@ | @@ -226,6 +226,7 @@ | ||
| 226 | 6003F5AA195388D20070C39A /* Sources */, | 226 | 6003F5AA195388D20070C39A /* Sources */, |
| 227 | 6003F5AB195388D20070C39A /* Frameworks */, | 227 | 6003F5AB195388D20070C39A /* Frameworks */, |
| 228 | 6003F5AC195388D20070C39A /* Resources */, | 228 | 6003F5AC195388D20070C39A /* Resources */, |
| 229 | + A636E9920207F965CF12DF60 /* [CP] Embed Pods Frameworks */, | ||
| 229 | ); | 230 | ); |
| 230 | buildRules = ( | 231 | buildRules = ( |
| 231 | ); | 232 | ); |
| @@ -319,6 +320,28 @@ | @@ -319,6 +320,28 @@ | ||
| 319 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; | 320 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; |
| 320 | showEnvVarsInLog = 0; | 321 | showEnvVarsInLog = 0; |
| 321 | }; | 322 | }; |
| 323 | + A636E9920207F965CF12DF60 /* [CP] Embed Pods Frameworks */ = { | ||
| 324 | + isa = PBXShellScriptBuildPhase; | ||
| 325 | + buildActionMask = 2147483647; | ||
| 326 | + files = ( | ||
| 327 | + ); | ||
| 328 | + inputFileListPaths = ( | ||
| 329 | + ); | ||
| 330 | + inputPaths = ( | ||
| 331 | + "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveDemo_LXG_Tests/Pods-CNLiveDemo_LXG_Tests-frameworks.sh", | ||
| 332 | + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", | ||
| 333 | + ); | ||
| 334 | + name = "[CP] Embed Pods Frameworks"; | ||
| 335 | + outputFileListPaths = ( | ||
| 336 | + ); | ||
| 337 | + outputPaths = ( | ||
| 338 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", | ||
| 339 | + ); | ||
| 340 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 341 | + shellPath = /bin/sh; | ||
| 342 | + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveDemo_LXG_Tests/Pods-CNLiveDemo_LXG_Tests-frameworks.sh\"\n"; | ||
| 343 | + showEnvVarsInLog = 0; | ||
| 344 | + }; | ||
| 322 | AB69D32924CE219D3B98AD1D /* [CP] Check Pods Manifest.lock */ = { | 345 | AB69D32924CE219D3B98AD1D /* [CP] Check Pods Manifest.lock */ = { |
| 323 | isa = PBXShellScriptBuildPhase; | 346 | isa = PBXShellScriptBuildPhase; |
| 324 | buildActionMask = 2147483647; | 347 | buildActionMask = 2147483647; |
| @@ -350,12 +373,14 @@ | @@ -350,12 +373,14 @@ | ||
| 350 | ); | 373 | ); |
| 351 | inputPaths = ( | 374 | inputPaths = ( |
| 352 | "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveDemo_LXG_Example/Pods-CNLiveDemo_LXG_Example-frameworks.sh", | 375 | "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveDemo_LXG_Example/Pods-CNLiveDemo_LXG_Example-frameworks.sh", |
| 376 | + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", | ||
| 353 | "${BUILT_PRODUCTS_DIR}/CNLiveDemo_LXG/CNLiveDemo_LXG.framework", | 377 | "${BUILT_PRODUCTS_DIR}/CNLiveDemo_LXG/CNLiveDemo_LXG.framework", |
| 354 | ); | 378 | ); |
| 355 | name = "[CP] Embed Pods Frameworks"; | 379 | name = "[CP] Embed Pods Frameworks"; |
| 356 | outputFileListPaths = ( | 380 | outputFileListPaths = ( |
| 357 | ); | 381 | ); |
| 358 | outputPaths = ( | 382 | outputPaths = ( |
| 383 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", | ||
| 359 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveDemo_LXG.framework", | 384 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveDemo_LXG.framework", |
| 360 | ); | 385 | ); |
| 361 | runOnlyForDeploymentPostprocessing = 0; | 386 | runOnlyForDeploymentPostprocessing = 0; |