cocoapods-mix-frameworks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +67 -0
  3. data/Gemfile.lock +2 -2
  4. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/ActionViewController.swift +63 -0
  5. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/Base.lproj/MainInterface.storyboard +55 -0
  6. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/Info.plist +36 -0
  7. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/project.pbxproj +782 -0
  8. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  9. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcworkspace/contents.xcworkspacedata +10 -0
  10. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/AppDelegate.swift +48 -0
  11. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json +38 -0
  12. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Base.lproj/LaunchScreen.storyboard +27 -0
  13. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Base.lproj/Main.storyboard +26 -0
  14. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Info.plist +38 -0
  15. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/ViewController.swift +25 -0
  16. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Framework/CocoaPods-Mix-Framework.h +19 -0
  17. data/example/CocoaPods-Mix-Demo/CocoaPods-Mix-Framework/Info.plist +24 -0
  18. data/example/CocoaPods-Mix-Demo/Podfile +16 -0
  19. data/example/CocoaPods-Mix-Demo/Podfile.lock +23 -0
  20. data/lib/cocoapods-mix-frameworks/gem_version.rb +1 -1
  21. data/lib/cocoapods-mix-frameworks/{lib/inject.rb → inject.rb} +7 -0
  22. data/lib/cocoapods-mix-frameworks/mix.rb +7 -1
  23. metadata +22 -4
  24. data/lib/cocoapods-mix-frameworks/lib/mix.rb +0 -7
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:CocoaPods-Mix-Demo.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:CocoaPods-Mix-Demo.xcodeproj">
6
+ </FileRef>
7
+ <FileRef
8
+ location = "group:Pods/Pods.xcodeproj">
9
+ </FileRef>
10
+ </Workspace>
@@ -0,0 +1,48 @@
1
+ //
2
+ // AppDelegate.swift
3
+ // CocoaPods-Mix-Demo
4
+ //
5
+ // Created by Florent Vilmart on 17-05-09.
6
+ // Copyright © 2017 ampme. All rights reserved.
7
+ //
8
+
9
+ import UIKit
10
+ import Fabric
11
+ import Moya
12
+
13
+ @UIApplicationMain
14
+ class AppDelegate: UIResponder, UIApplicationDelegate {
15
+
16
+ var window: UIWindow?
17
+
18
+
19
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
20
+ // Override point for customization after application launch.
21
+ return true
22
+ }
23
+
24
+ func applicationWillResignActive(_ application: UIApplication) {
25
+ // 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.
26
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
27
+ }
28
+
29
+ func applicationDidEnterBackground(_ application: UIApplication) {
30
+ // 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.
31
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32
+ }
33
+
34
+ func applicationWillEnterForeground(_ application: UIApplication) {
35
+ // 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.
36
+ }
37
+
38
+ func applicationDidBecomeActive(_ application: UIApplication) {
39
+ // 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.
40
+ }
41
+
42
+ func applicationWillTerminate(_ application: UIApplication) {
43
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
44
+ }
45
+
46
+
47
+ }
48
+
@@ -0,0 +1,38 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "29x29",
11
+ "scale" : "3x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "40x40",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "40x40",
21
+ "scale" : "3x"
22
+ },
23
+ {
24
+ "idiom" : "iphone",
25
+ "size" : "60x60",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "60x60",
31
+ "scale" : "3x"
32
+ }
33
+ ],
34
+ "info" : {
35
+ "version" : 1,
36
+ "author" : "xcode"
37
+ }
38
+ }
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
5
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6
+ </dependencies>
7
+ <scenes>
8
+ <!--View Controller-->
9
+ <scene sceneID="EHf-IW-A2E">
10
+ <objects>
11
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
12
+ <layoutGuides>
13
+ <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
14
+ <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
15
+ </layoutGuides>
16
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
18
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
20
+ </view>
21
+ </viewController>
22
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
23
+ </objects>
24
+ <point key="canvasLocation" x="53" y="375"/>
25
+ </scene>
26
+ </scenes>
27
+ </document>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
5
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6
+ </dependencies>
7
+ <scenes>
8
+ <!--View Controller-->
9
+ <scene sceneID="tne-QT-ifu">
10
+ <objects>
11
+ <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
12
+ <layoutGuides>
13
+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
14
+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
15
+ </layoutGuides>
16
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
17
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
18
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
20
+ </view>
21
+ </viewController>
22
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
23
+ </objects>
24
+ </scene>
25
+ </scenes>
26
+ </document>
@@ -0,0 +1,38 @@
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>en</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>UIMainStoryboardFile</key>
26
+ <string>Main</string>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ <string>UIInterfaceOrientationLandscapeLeft</string>
35
+ <string>UIInterfaceOrientationLandscapeRight</string>
36
+ </array>
37
+ </dict>
38
+ </plist>
@@ -0,0 +1,25 @@
1
+ //
2
+ // ViewController.swift
3
+ // CocoaPods-Mix-Demo
4
+ //
5
+ // Created by Florent Vilmart on 17-05-09.
6
+ // Copyright © 2017 ampme. 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, typically from a nib.
16
+ }
17
+
18
+ override func didReceiveMemoryWarning() {
19
+ super.didReceiveMemoryWarning()
20
+ // Dispose of any resources that can be recreated.
21
+ }
22
+
23
+
24
+ }
25
+
@@ -0,0 +1,19 @@
1
+ //
2
+ // CocoaPods-Mix-Framework.h
3
+ // CocoaPods-Mix-Framework
4
+ //
5
+ // Created by Florent Vilmart on 17-05-09.
6
+ // Copyright © 2017 ampme. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ //! Project version number for CocoaPods-Mix-Framework.
12
+ FOUNDATION_EXPORT double CocoaPods_Mix_FrameworkVersionNumber;
13
+
14
+ //! Project version string for CocoaPods-Mix-Framework.
15
+ FOUNDATION_EXPORT const unsigned char CocoaPods_Mix_FrameworkVersionString[];
16
+
17
+ // In this header, you should import all the public headers of your framework using statements like #import <CocoaPods_Mix_Framework/PublicHeader.h>
18
+
19
+
@@ -0,0 +1,24 @@
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>en</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>FMWK</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.0</string>
19
+ <key>CFBundleVersion</key>
20
+ <string>$(CURRENT_PROJECT_VERSION)</string>
21
+ <key>NSPrincipalClass</key>
22
+ <string></string>
23
+ </dict>
24
+ </plist>
@@ -0,0 +1,16 @@
1
+ plugin 'cocoapods-mix-frameworks'
2
+ mix_frameworks
3
+
4
+ target 'CocoaPods-Mix-Demo' do
5
+ pod 'Fabric'
6
+ end
7
+
8
+ target 'CocoaPods-Mix-Framework' do
9
+ use_frameworks!
10
+ pod 'Moya'
11
+ end
12
+
13
+ target 'CocoaPods-Mix-Action' do
14
+ use_frameworks!
15
+ pod 'Moya'
16
+ end
@@ -0,0 +1,23 @@
1
+ PODS:
2
+ - Alamofire (4.4.0)
3
+ - Fabric (1.6.11)
4
+ - Moya (8.0.3):
5
+ - Moya/Core (= 8.0.3)
6
+ - Moya/Core (8.0.3):
7
+ - Alamofire (~> 4.1)
8
+ - Result (~> 3.0)
9
+ - Result (3.2.1)
10
+
11
+ DEPENDENCIES:
12
+ - Fabric
13
+ - Moya
14
+
15
+ SPEC CHECKSUMS:
16
+ Alamofire: dc44b1600b800eb63da6a19039a0083d62a6a62d
17
+ Fabric: 5911403591946b8228ab1c51d98f1d7137e863c6
18
+ Moya: d3721622e3cc0cc2f038d69a258686f0b66e7252
19
+ Result: 2453a22e5c5b11c0c3a478736e82cd02f763b781
20
+
21
+ PODFILE CHECKSUM: d5208a9e7bd8dfbc7c0aad32eca5faeef462c648
22
+
23
+ COCOAPODS: 1.1.1
@@ -1,3 +1,3 @@
1
1
  module CocoapodsMixFrameworks
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -11,6 +11,13 @@ end
11
11
 
12
12
  module Pod
13
13
  class Installer
14
+ # For cocoapods 1.3.+
15
+ class Xcode
16
+ class TargetValidator
17
+ prepend InstallerExtensions
18
+ end
19
+ end
20
+ # end cocoapods 1.3.+
14
21
  prepend InstallerExtensions
15
22
  class Analyzer
16
23
  prepend AnalyzerExtensions
@@ -1 +1,7 @@
1
- require 'cocoapods-mix-frameworks/lib/mix'
1
+ module Pod
2
+ class Podfile
3
+ def mix_frameworks
4
+ require 'cocoapods-mix-frameworks/inject'
5
+ end
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-mix-frameworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florent Vilmart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-13 00:00:00.000000000 Z
11
+ date: 2017-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -37,10 +37,28 @@ files:
37
37
  - LICENSE.txt
38
38
  - README.md
39
39
  - cocoapods-mix-frameworks.gemspec
40
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/ActionViewController.swift
41
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/Base.lproj/MainInterface.storyboard
42
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Action/Info.plist
43
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/project.pbxproj
44
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
45
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/project.xcworkspace/xcuserdata/florent.xcuserdatad/UserInterfaceState.xcuserstate
46
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/xcuserdata/florent.xcuserdatad/xcschemes/CocoaPods-Mix-Demo.xcscheme
47
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcodeproj/xcuserdata/florent.xcuserdatad/xcschemes/xcschememanagement.plist
48
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo.xcworkspace/contents.xcworkspacedata
49
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/AppDelegate.swift
50
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json
51
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Base.lproj/LaunchScreen.storyboard
52
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Base.lproj/Main.storyboard
53
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/Info.plist
54
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Demo/ViewController.swift
55
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Framework/CocoaPods-Mix-Framework.h
56
+ - example/CocoaPods-Mix-Demo/CocoaPods-Mix-Framework/Info.plist
57
+ - example/CocoaPods-Mix-Demo/Podfile
58
+ - example/CocoaPods-Mix-Demo/Podfile.lock
40
59
  - lib/cocoapods-mix-frameworks.rb
41
60
  - lib/cocoapods-mix-frameworks/gem_version.rb
42
- - lib/cocoapods-mix-frameworks/lib/inject.rb
43
- - lib/cocoapods-mix-frameworks/lib/mix.rb
61
+ - lib/cocoapods-mix-frameworks/inject.rb
44
62
  - lib/cocoapods-mix-frameworks/mix.rb
45
63
  - lib/cocoapods_plugin.rb
46
64
  homepage: https://github.com/flovilmart/cocoapods-mix-frameworks
@@ -1,7 +0,0 @@
1
- module Pod
2
- class Podfile
3
- def mix_frameworks
4
- require 'cocoapods-mix-frameworks/lib/inject'
5
- end
6
- end
7
- end