Skip to content

Commit

Permalink
Update Podfile to add Alamofire to WatchKit Extension Target
Browse files Browse the repository at this point in the history
- Venue class is used in InterfaceController in WatchKit Extension.
- Alamofire’s protocol URLStringConvertible is used in Venue.
- Venue needs to be selected for iOS App and WatchKit Extension for
Target Membership.
- Alamofire needs to be added into WatchKit Extension Target as well as
iOS App Target.

To solve the above issues, Alamofire pod needs to be added in both iOS
App and WatchKit Extension in Podfile.

Reference:
CocoaPods/CocoaPods#4326
https://medium.com/@mosn/watchos-2-0-pod-install-5236a40ca4bc#.pxbbegwye
  • Loading branch information
keitaito committed Jan 31, 2016
1 parent e1a417d commit b11c54a
Show file tree
Hide file tree
Showing 36 changed files with 1,355 additions and 381 deletions.
154 changes: 106 additions & 48 deletions MenMa.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

18 changes: 13 additions & 5 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

def common_pods
def shared_pods
pod 'Alamofire', '~> 3.0'
end

Expand All @@ -11,9 +9,19 @@ def testing_pods
end

target 'MenMa' do
common_pods
platform :ios, '8.0'
use_frameworks!
shared_pods
end

target 'MenMaTests' do
common_pods
platform :ios, '8.0'
use_frameworks!
shared_pods
end

target 'MenMa WatchKit Extension' do
platform :watchos, '2.0'
use_frameworks!
shared_pods
end
1,098 changes: 780 additions & 318 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions Pods/Target Support Files/Alamofire/Alamofire-dummy.m

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions Pods/Target Support Files/Pods-MenMa WatchKit Extension/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b11c54a

Please sign in to comment.