cocoapods-fix-module 0.0.7 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/DEMO/.bundle/config +2 -0
- data/DEMO/.gitignore +50 -0
- data/DEMO/DEMO.xcodeproj/project.pbxproj +520 -0
- data/DEMO/DEMO.xcworkspace/contents.xcworkspacedata +10 -0
- data/DEMO/DEMO.xcworkspace/pod.json +1 -0
- data/DEMO/DEMO/AppDelegate.swift +53 -0
- data/DEMO/DEMO/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
- data/DEMO/DEMO/Assets.xcassets/Contents.json +6 -0
- data/DEMO/DEMO/Base.lproj/LaunchScreen.storyboard +25 -0
- data/DEMO/DEMO/Info.plist +43 -0
- data/DEMO/DEMO/ViewController.swift +21 -0
- data/DEMO/DEMO/demos/BDWebImage_demo.m +16 -0
- data/DEMO/DEMOTests/DEMOTests.swift +34 -0
- data/DEMO/DEMOTests/Info.plist +22 -0
- data/DEMO/Gemfile +7 -0
- data/DEMO/Gemfile.lock +92 -0
- data/DEMO/Podfile +30 -0
- data/DEMO/Podfile.lock +20 -0
- data/Gemfile.lock +105 -0
- data/cocoapods-fix-module.gemspec +1 -1
- data/lib/cocoapods-fix-module/gem_version.rb +1 -1
- data/lib/cocoapods-fix-module/hint_no_app_target_support.rb +20 -0
- data/lib/cocoapods-fix-module/{patch.rb → patch1.6.rb} +3 -61
- data/lib/cocoapods-fix-module/patch1.7.rb +95 -0
- data/lib/cocoapods-fix-module/patch1.8.rb +95 -0
- data/lib/cocoapods-fix-module/patch_common.rb +67 -0
- data/lib/cocoapods_plugin.rb +11 -6
- metadata +30 -7
@@ -0,0 +1 @@
|
|
1
|
+
{"Masonry":{"http":"https://ios.bytedance.net/wlapi/tosDownload/iosbinary/8888/Masonry/1.1.0.0-binary/Masonry.framework.zip"},"lottie-ios":{"http":"https://ios.bytedance.net/wlapi/tosDownload/iosbinary/8888/lottie-ios/2.1.5.0-binary/lottie-ios.framework.zip"}}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//
|
2
|
+
// AppDelegate.swift
|
3
|
+
// DEMO
|
4
|
+
//
|
5
|
+
// Created by DEMO on 2019/10/10.
|
6
|
+
// Copyright © 2019 DEMO. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
import UIKit
|
10
|
+
|
11
|
+
@UIApplicationMain
|
12
|
+
class AppDelegate: UIResponder, UIApplicationDelegate {
|
13
|
+
|
14
|
+
var window: UIWindow?
|
15
|
+
|
16
|
+
|
17
|
+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
18
|
+
// Override point for customization after application launch.
|
19
|
+
|
20
|
+
let viewController = ViewController(nibName: nil, bundle: nil)
|
21
|
+
let window = UIWindow(frame: UIScreen.main.bounds)
|
22
|
+
window.rootViewController = viewController
|
23
|
+
self.window = window
|
24
|
+
window.makeKeyAndVisible()
|
25
|
+
|
26
|
+
return true
|
27
|
+
}
|
28
|
+
|
29
|
+
func applicationWillResignActive(_ application: UIApplication) {
|
30
|
+
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
|
31
|
+
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
|
32
|
+
}
|
33
|
+
|
34
|
+
func applicationDidEnterBackground(_ application: UIApplication) {
|
35
|
+
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
|
36
|
+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
|
37
|
+
}
|
38
|
+
|
39
|
+
func applicationWillEnterForeground(_ application: UIApplication) {
|
40
|
+
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
|
41
|
+
}
|
42
|
+
|
43
|
+
func applicationDidBecomeActive(_ application: UIApplication) {
|
44
|
+
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
|
45
|
+
}
|
46
|
+
|
47
|
+
func applicationWillTerminate(_ application: UIApplication) {
|
48
|
+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
}
|
53
|
+
|
@@ -0,0 +1,98 @@
|
|
1
|
+
{
|
2
|
+
"images" : [
|
3
|
+
{
|
4
|
+
"idiom" : "iphone",
|
5
|
+
"size" : "20x20",
|
6
|
+
"scale" : "2x"
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"idiom" : "iphone",
|
10
|
+
"size" : "20x20",
|
11
|
+
"scale" : "3x"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"idiom" : "iphone",
|
15
|
+
"size" : "29x29",
|
16
|
+
"scale" : "2x"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"idiom" : "iphone",
|
20
|
+
"size" : "29x29",
|
21
|
+
"scale" : "3x"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"idiom" : "iphone",
|
25
|
+
"size" : "40x40",
|
26
|
+
"scale" : "2x"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"idiom" : "iphone",
|
30
|
+
"size" : "40x40",
|
31
|
+
"scale" : "3x"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"idiom" : "iphone",
|
35
|
+
"size" : "60x60",
|
36
|
+
"scale" : "2x"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"idiom" : "iphone",
|
40
|
+
"size" : "60x60",
|
41
|
+
"scale" : "3x"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"idiom" : "ipad",
|
45
|
+
"size" : "20x20",
|
46
|
+
"scale" : "1x"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"idiom" : "ipad",
|
50
|
+
"size" : "20x20",
|
51
|
+
"scale" : "2x"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"idiom" : "ipad",
|
55
|
+
"size" : "29x29",
|
56
|
+
"scale" : "1x"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"idiom" : "ipad",
|
60
|
+
"size" : "29x29",
|
61
|
+
"scale" : "2x"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"idiom" : "ipad",
|
65
|
+
"size" : "40x40",
|
66
|
+
"scale" : "1x"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"idiom" : "ipad",
|
70
|
+
"size" : "40x40",
|
71
|
+
"scale" : "2x"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"idiom" : "ipad",
|
75
|
+
"size" : "76x76",
|
76
|
+
"scale" : "1x"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"idiom" : "ipad",
|
80
|
+
"size" : "76x76",
|
81
|
+
"scale" : "2x"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"idiom" : "ipad",
|
85
|
+
"size" : "83.5x83.5",
|
86
|
+
"scale" : "2x"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"idiom" : "ios-marketing",
|
90
|
+
"size" : "1024x1024",
|
91
|
+
"scale" : "1x"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"info" : {
|
95
|
+
"version" : 1,
|
96
|
+
"author" : "xcode"
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
3
|
+
<dependencies>
|
4
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
5
|
+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
6
|
+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
7
|
+
</dependencies>
|
8
|
+
<scenes>
|
9
|
+
<!--View Controller-->
|
10
|
+
<scene sceneID="EHf-IW-A2E">
|
11
|
+
<objects>
|
12
|
+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
13
|
+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
14
|
+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
15
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
16
|
+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
17
|
+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
18
|
+
</view>
|
19
|
+
</viewController>
|
20
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
21
|
+
</objects>
|
22
|
+
<point key="canvasLocation" x="53" y="375"/>
|
23
|
+
</scene>
|
24
|
+
</scenes>
|
25
|
+
</document>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>APPL</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>1</string>
|
21
|
+
<key>LSRequiresIPhoneOS</key>
|
22
|
+
<true/>
|
23
|
+
<key>UILaunchStoryboardName</key>
|
24
|
+
<string>LaunchScreen</string>
|
25
|
+
<key>UIRequiredDeviceCapabilities</key>
|
26
|
+
<array>
|
27
|
+
<string>armv7</string>
|
28
|
+
</array>
|
29
|
+
<key>UISupportedInterfaceOrientations</key>
|
30
|
+
<array>
|
31
|
+
<string>UIInterfaceOrientationPortrait</string>
|
32
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
33
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
34
|
+
</array>
|
35
|
+
<key>UISupportedInterfaceOrientations~ipad</key>
|
36
|
+
<array>
|
37
|
+
<string>UIInterfaceOrientationPortrait</string>
|
38
|
+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
39
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
40
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
41
|
+
</array>
|
42
|
+
</dict>
|
43
|
+
</plist>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
//
|
2
|
+
// ViewController.swift
|
3
|
+
// DEMO
|
4
|
+
//
|
5
|
+
// Created by DEMO on 2019/10/10.
|
6
|
+
// Copyright © 2019 DEMO. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
import UIKit
|
10
|
+
|
11
|
+
class ViewController: UIViewController {
|
12
|
+
|
13
|
+
override func viewDidLoad() {
|
14
|
+
super.viewDidLoad()
|
15
|
+
// Do any additional setup after loading the view.
|
16
|
+
view.backgroundColor = .white
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
}
|
21
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
// this is a demo for usage
|
3
|
+
#import <UIKit/UIKit.h>
|
4
|
+
@import Masonry;
|
5
|
+
void masonry_demo() {
|
6
|
+
|
7
|
+
UIView *parent_view = [UIView new];
|
8
|
+
UIView *view1 = [UIView new];
|
9
|
+
[parent_view addSubview:view1];
|
10
|
+
|
11
|
+
[view1 mas_makeConstraints:^(MASConstraintMaker *make) {
|
12
|
+
make.edges.mas_equalTo(0);
|
13
|
+
}];
|
14
|
+
}
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
//
|
2
|
+
// DEMOTests.swift
|
3
|
+
// DEMOTests
|
4
|
+
//
|
5
|
+
// Created by DEMO on 2019/10/10.
|
6
|
+
// Copyright © 2019 DEMO. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
import XCTest
|
10
|
+
@testable import DEMO
|
11
|
+
|
12
|
+
class DEMOTests: XCTestCase {
|
13
|
+
|
14
|
+
override func setUp() {
|
15
|
+
// Put setup code here. This method is called before the invocation of each test method in the class.
|
16
|
+
}
|
17
|
+
|
18
|
+
override func tearDown() {
|
19
|
+
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
20
|
+
}
|
21
|
+
|
22
|
+
func testExample() {
|
23
|
+
// This is an example of a functional test case.
|
24
|
+
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
25
|
+
}
|
26
|
+
|
27
|
+
func testPerformanceExample() {
|
28
|
+
// This is an example of a performance test case.
|
29
|
+
self.measure {
|
30
|
+
// Put the code you want to measure the time of here.
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
7
|
+
<key>CFBundleExecutable</key>
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
9
|
+
<key>CFBundleIdentifier</key>
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
12
|
+
<string>6.0</string>
|
13
|
+
<key>CFBundleName</key>
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
15
|
+
<key>CFBundlePackageType</key>
|
16
|
+
<string>BNDL</string>
|
17
|
+
<key>CFBundleShortVersionString</key>
|
18
|
+
<string>1.0</string>
|
19
|
+
<key>CFBundleVersion</key>
|
20
|
+
<string>1</string>
|
21
|
+
</dict>
|
22
|
+
</plist>
|
data/DEMO/Gemfile
ADDED
data/DEMO/Gemfile.lock
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
cocoapods-fix-module (0.1.1)
|
5
|
+
cocoapods (>= 1.6.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
CFPropertyList (3.0.1)
|
11
|
+
activesupport (4.2.11.1)
|
12
|
+
i18n (~> 0.7)
|
13
|
+
minitest (~> 5.1)
|
14
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
algoliasearch (1.27.1)
|
17
|
+
httpclient (~> 2.8, >= 2.8.3)
|
18
|
+
json (>= 1.5.1)
|
19
|
+
atomos (0.1.3)
|
20
|
+
bd_pod_extentions (6.4.0)
|
21
|
+
claide (1.0.3)
|
22
|
+
cocoapods (1.8.3)
|
23
|
+
activesupport (>= 4.0.2, < 5)
|
24
|
+
claide (>= 1.0.2, < 2.0)
|
25
|
+
cocoapods-core (= 1.8.3)
|
26
|
+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
27
|
+
cocoapods-downloader (>= 1.2.2, < 2.0)
|
28
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
29
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
30
|
+
cocoapods-stats (>= 1.0.0, < 2.0)
|
31
|
+
cocoapods-trunk (>= 1.4.0, < 2.0)
|
32
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
33
|
+
colored2 (~> 3.1)
|
34
|
+
escape (~> 0.0.4)
|
35
|
+
fourflusher (>= 2.3.0, < 3.0)
|
36
|
+
gh_inspector (~> 1.0)
|
37
|
+
molinillo (~> 0.6.6)
|
38
|
+
nap (~> 1.0)
|
39
|
+
ruby-macho (~> 1.4)
|
40
|
+
xcodeproj (>= 1.11.1, < 2.0)
|
41
|
+
cocoapods-core (1.8.3)
|
42
|
+
activesupport (>= 4.0.2, < 6)
|
43
|
+
algoliasearch (~> 1.0)
|
44
|
+
concurrent-ruby (~> 1.1)
|
45
|
+
fuzzy_match (~> 2.0.4)
|
46
|
+
nap (~> 1.0)
|
47
|
+
cocoapods-deintegrate (1.0.4)
|
48
|
+
cocoapods-downloader (1.2.2)
|
49
|
+
cocoapods-plugins (1.0.0)
|
50
|
+
nap
|
51
|
+
cocoapods-search (1.0.0)
|
52
|
+
cocoapods-stats (1.1.0)
|
53
|
+
cocoapods-trunk (1.4.1)
|
54
|
+
nap (>= 0.8, < 2.0)
|
55
|
+
netrc (~> 0.11)
|
56
|
+
cocoapods-try (1.1.0)
|
57
|
+
colored2 (3.1.2)
|
58
|
+
concurrent-ruby (1.1.5)
|
59
|
+
escape (0.0.4)
|
60
|
+
fourflusher (2.3.1)
|
61
|
+
fuzzy_match (2.0.4)
|
62
|
+
gh_inspector (1.1.3)
|
63
|
+
httpclient (2.8.3)
|
64
|
+
i18n (0.9.5)
|
65
|
+
concurrent-ruby (~> 1.0)
|
66
|
+
json (2.2.0)
|
67
|
+
minitest (5.12.2)
|
68
|
+
molinillo (0.6.6)
|
69
|
+
nanaimo (0.2.6)
|
70
|
+
nap (1.1.0)
|
71
|
+
netrc (0.11.0)
|
72
|
+
ruby-macho (1.4.0)
|
73
|
+
thread_safe (0.3.6)
|
74
|
+
tzinfo (1.2.5)
|
75
|
+
thread_safe (~> 0.1)
|
76
|
+
xcodeproj (1.12.0)
|
77
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
78
|
+
atomos (~> 0.1.3)
|
79
|
+
claide (>= 1.0.2, < 2.0)
|
80
|
+
colored2 (~> 3.1)
|
81
|
+
nanaimo (~> 0.2.6)
|
82
|
+
|
83
|
+
PLATFORMS
|
84
|
+
ruby
|
85
|
+
|
86
|
+
DEPENDENCIES
|
87
|
+
bd_pod_extentions (= 6.4.0)
|
88
|
+
cocoapods (= 1.8.3)
|
89
|
+
cocoapods-fix-module!
|
90
|
+
|
91
|
+
BUNDLED WITH
|
92
|
+
1.17.2
|