The Step 1
is here:
Step 2
Now when I try to compile the project with Xcode 8.3 there's a `No such module 'PopupDialog' on Swift Compiler Error
But the pod install
command install it normally.
$ pod install
Analyzing dependencies
Downloading dependencies
Using Alamofire (4.4.0)
Using AutoCompleteTextField (0.2.3)
Using Bugsnag (5.16.2)
Using Crashlytics (3.8.4)
Using Fabric (1.6.11)
Using MBAutoGrowingTextView (0.1.0)
Using MBProgressHUD (1.0.0)
Using PopupDialog (0.5.3)
Using PromiseKit (4.1.7)
Using PusherSwift (3.2.0)
Using SwiftMessages (3.5.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 11 dependencies from the Podfile and 11 total pods installed.
[!] The `my-Project [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-my-Project/Pods-my-Project.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `my-Project [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-my-Project/Pods-my-Project.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
And the screenshot when I try to compile the code.
I followed the specifications mentioned here:
The entire environment on MacOS:
$ pod env
Stack
CocoaPods : 1.5.3
Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]
RubyGems : 2.5.2.3
Host : Mac OS X 10.13.6 (17G65)
Xcode : 8.3 (8E162)
Git : git version 2.18.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 4865773cfa9c2f8f6620f01646573fc9b9eaeab0
Installation Source
Executable Path: /usr/local/bin/pod
Plugins
cocoapods-clean : 0.0.1
cocoapods-deintegrate : 1.0.2
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.3.0
cocoapods-try : 1.1.0
Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '9.3'
# Uncomment this line if you're using Swift
use_frameworks!
target 'my-Project' do
pod 'Alamofire', '~> 4.0'
pod 'MBProgressHUD'
pod 'PromiseKit', '~> 4.0'
pod 'MBAutoGrowingTextView', '~> 0.1.0'
pod 'PusherSwift', '~> 3.0'
pod 'PopupDialog', '~> 0.4'
pod 'SwiftMessages', '3.5.1'
pod 'Bugsnag'
pod 'AutoCompleteTextField'
pod 'Fabric'
pod 'Crashlytics'
target 'my-ProjectTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
The Pods
libraries:
And the Build Settings:
References: