Skip to content

Commit

Permalink
Modify head file refer
Browse files Browse the repository at this point in the history
  • Loading branch information
Arc-lin committed Jun 10, 2017
1 parent 76f0fb5 commit e188e85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 6 additions & 3 deletions ALNetworking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Pod::Spec.new do |s|
#

# s.platform = :ios
# s.platform = :ios, "5.0"
s.platform = :ios, "8.0"

# When using multiple platforms
# s.ios.deployment_target = "5.0"
Expand All @@ -85,7 +85,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "A networking framework , encapsulation of AFNetworking3.0,ReactiveCocoa2.5,YYCache,YYModel", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/Arc-lin/ALNetworking.git", :tag => "1.0" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down Expand Up @@ -138,6 +138,9 @@ Pod::Spec.new do |s|
# s.requires_arc = true

# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
s.dependency "ReactiveCocoa", "~> 2.5","AFNetworking","YYCache","YYModel"
s.dependency "ReactiveCocoa","~> 2.5"
s.dependency "AFNetworking"
s.dependency "YYCache"
s.dependency "YYModel"

end
2 changes: 1 addition & 1 deletion ALNetworking/ALNetworking.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#import "ALNetworkingViewController.h"

#import <YYModel/YYModel.h>
#import <AFNetworkReachabilityManager.h>
#import <AFNetworking/AFNetworking.h>

#define KERROR(eCode,desc) [NSError errorWithDomain:@"alnetworking" code:eCode userInfo:@{NSLocalizedDescriptionKey:desc}]

Expand Down
2 changes: 2 additions & 0 deletions ALNetworkingDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 4D1A21C3CCA2E09F3C09228C /* Pods-ALNetworkingDemo.debug.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 3KUDYRU22W;
INFOPLIST_FILE = ALNetworkingDemo/Info.plist;
Expand All @@ -581,6 +582,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 29678330BD75BDF99655F5A3 /* Pods-ALNetworkingDemo.release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 3KUDYRU22W;
INFOPLIST_FILE = ALNetworkingDemo/Info.plist;
Expand Down

0 comments on commit e188e85

Please sign in to comment.