Skip to content

Commit

Permalink
修改对syml依赖方式
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwgao committed Nov 18, 2020
1 parent 0c8211d commit e92e80a
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 47 deletions.
4 changes: 2 additions & 2 deletions MangoFix.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MangoFix"
s.version = "1.4.3"
s.version = "1.4.4"
s.summary = "MangoFix"
s.description = <<-DESC
Mango is a DSL which syntax is very similar to Objective-C,Mango is also an iOS App hotfix SDK. You can use Mango method replace any Objective-C method.
Expand All @@ -13,6 +13,6 @@ s.source = { :git => "https://github.com/YPLiang19/Mango.git", :tag => "#{
s.pod_target_xcconfig = { 'GCC_INPUT_FILETYPE' => 'sourcecode.c.objc' }
s.source_files = "MangoFix/**/*.{h,m,c,y,l}"
s.vendored_libraries = 'MangoFix/libffi/libffi.a'
s.vendored_frameworks = 'MangoFix/symdl/symdl.framework'
s.dependency 'symdl'
end

29 changes: 0 additions & 29 deletions MangoFix/symdl/symdl.framework/Headers/symdl.h

This file was deleted.

Binary file removed MangoFix/symdl/symdl.framework/Info.plist
Binary file not shown.
6 changes: 0 additions & 6 deletions MangoFix/symdl/symdl.framework/Modules/module.modulemap

This file was deleted.

Binary file removed MangoFix/symdl/symdl.framework/symdl
Binary file not shown.
16 changes: 10 additions & 6 deletions MangoFixDemo/MangoFixDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -354,17 +354,19 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 4FV3KS7L29;
DEVELOPMENT_TEAM = VQ4J9876Q6;
INFOPLIST_FILE = MangoFixDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.tesnt.ss;
PRODUCT_BUNDLE_IDENTIFIER = com.yongpengliang.mangofix;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = example_profile;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -375,16 +377,18 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4FV3KS7L29;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = VQ4J9876Q6;
INFOPLIST_FILE = MangoFixDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.tesnt.ss;
PRODUCT_BUNDLE_IDENTIFIER = com.yongpengliang.mangofix;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = example_profile;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
6 changes: 6 additions & 0 deletions MangoFixDemo/MangoFixDemo/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
} MyStruct;
static NSString * const cellIdentifier = @"cell";

void load_function(void *p){
NSLog(@"%p",p);
}

@interface ViewController ()<UITableViewDelegate,UITableViewDataSource>
@property (weak, nonatomic) IBOutlet UITextView *resultView;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
Expand Down Expand Up @@ -133,6 +137,8 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
[self staticVarAndGetVarAddressOperExample];
break;
case 17://C函数变量示例
load_function(NSSearchPathForDirectoriesInDomains);
load_function(write);
[self cfuntionVarExample];
break;
case 18://typedef 示例C
Expand Down
13 changes: 9 additions & 4 deletions MangoFixDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
PODS:
- MangoFix (1.4.3)
- MangoFix (1.4.3):
- symdl
- Masonry (1.1.0)
- symdl (0.3.0)

DEPENDENCIES:
- MangoFix (from `../`)
- Masonry

SPEC REPOS:
https://github.com/cocoapods/specs.git:
https://github.com/CocoaPods/Specs.git:
- Masonry
trunk:
- symdl

EXTERNAL SOURCES:
MangoFix:
:path: "../"

SPEC CHECKSUMS:
MangoFix: af9dfecba28bb8f4f4884c2c4f85abad8dd1c6ce
MangoFix: 7fda8aec64675e63f6237e66a38b88713cbe5a25
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
symdl: b1812b7f4a544a8dd898ff01b4dee81f95edd347

PODFILE CHECKSUM: 911a1bb3fd9799c1577d16ea8d90314d90fb35f1

COCOAPODS: 1.7.5
COCOAPODS: 1.9.1

0 comments on commit e92e80a

Please sign in to comment.