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 | 7 | // |
| 8 | 8 | |
| 9 | 9 | #import "CNLiveTestController.h" |
| 10 | +#import <AFNetworking/AFNetworking.h> | |
| 11 | + | |
| 10 | 12 | |
| 11 | 13 | @interface CNLiveTestController () |
| 12 | 14 | |
| ... | ... | @@ -17,6 +19,9 @@ |
| 17 | 19 | - (void)viewDidLoad { |
| 18 | 20 | [super viewDidLoad]; |
| 19 | 21 | // Do any additional setup after loading the view. |
| 22 | + //测试 | |
| 23 | + AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown; | |
| 24 | + NSLog(@"输出状态==%d",status); | |
| 20 | 25 | } |
| 21 | 26 | |
| 22 | 27 | - (void)testLog { | ... | ... |
Example/CNLiveDemo_LXG.xcodeproj/project.pbxproj
| ... | ... | @@ -226,6 +226,7 @@ |
| 226 | 226 | 6003F5AA195388D20070C39A /* Sources */, |
| 227 | 227 | 6003F5AB195388D20070C39A /* Frameworks */, |
| 228 | 228 | 6003F5AC195388D20070C39A /* Resources */, |
| 229 | + A636E9920207F965CF12DF60 /* [CP] Embed Pods Frameworks */, | |
| 229 | 230 | ); |
| 230 | 231 | buildRules = ( |
| 231 | 232 | ); |
| ... | ... | @@ -319,6 +320,28 @@ |
| 319 | 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 | 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 | 345 | AB69D32924CE219D3B98AD1D /* [CP] Check Pods Manifest.lock */ = { |
| 323 | 346 | isa = PBXShellScriptBuildPhase; |
| 324 | 347 | buildActionMask = 2147483647; |
| ... | ... | @@ -350,12 +373,14 @@ |
| 350 | 373 | ); |
| 351 | 374 | inputPaths = ( |
| 352 | 375 | "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveDemo_LXG_Example/Pods-CNLiveDemo_LXG_Example-frameworks.sh", |
| 376 | + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", | |
| 353 | 377 | "${BUILT_PRODUCTS_DIR}/CNLiveDemo_LXG/CNLiveDemo_LXG.framework", |
| 354 | 378 | ); |
| 355 | 379 | name = "[CP] Embed Pods Frameworks"; |
| 356 | 380 | outputFileListPaths = ( |
| 357 | 381 | ); |
| 358 | 382 | outputPaths = ( |
| 383 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", | |
| 359 | 384 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveDemo_LXG.framework", |
| 360 | 385 | ); |
| 361 | 386 | runOnlyForDeploymentPostprocessing = 0; | ... | ... |