An interesting thing happened this morning, I updated Xcode to version 9.3, and after that, I can't archive my project. I can build it, run it on the device, but when I try to archive it, I get that I am missing some modules, like Alamofire, etc...
I am using cocoapods as dependency manager. And everything worked fine until this morning. Does anyone have the similar issue?
Remove Pod
from your project and add again.
or
try sudo pod repo update
or pod repo update
And one more importance thing you must be missing is:
You can download latest command line tool from Apple Download Portal, if you have paid apple developer account/id.
Here is current stable Xcode Tools and supporting command line tool download link. (Ensure you'are logged in using premium developer account on Apple Developer Account to access these links)
Xcode 10
- Xcode 10 - Beta 2
- (Command Line Tool (Xcode 10 Beta 2) - for macOS 10.14)
- (Command Line Tool (Xcode 10 Beta 2) - for macOS 10.13)Xcode 9
- Xcode 9.4.1
- (Command Line Tool (Xcode 9.4.1) - for macOS 10.13)Xcode 9.4
- (Command Line Tool (Xcode 9.4) - for macOS 10.13)Xcode 9.3.1
Xcode 9.3
- (Command Line Tool (Xcode 9.3) - for macOS 10.13)
Once you've latest command line tool installed in your system, set it from Xcode Menu.
(Xcode Menu Items) Xcode ► Preferences ► Location ► Command Line Tool ► Select appropriate command line tool
Try this: Alamofire Installation
pod 'Alamofire', '~> 4.7'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With