Did you already try Rugby doctor?
Yes
Describe the bug
This is my first time using Rugby on a project, and it only has one extension called OneSignalNotificationServiceExtension
, I did run rugby
command then after building the project, I got following error:
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/Alamofire'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/ECSlidingViewController'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/FirebaseAuth'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/FirebaseCore'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/FirebaseCoreDiagnostics'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/FirebaseDatabase'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/FirebaseInstallations'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/Google-Maps-iOS-Utils'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/GoogleDataTransport'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/GoogleUtilities'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/Kingfisher'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/MBProgressHUD'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/PromisesObjC'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/SDWebImage'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/SwiftyJSON'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/TagListView'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/UICKeyChainStore'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/leveldb-library'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/libPhoneNumber-iOS'
ld: warning: directory not found for option '-F/Path-to-project/Pods/../.rugby/build/Debug-iphonesimulator/nanopb'
ld: framework not found Alamofire
clang: error: linker command failed with exit code 1 (use -v to see invocation)
To Reproduce
Steps to reproduce the behavior:
- Reinstall pods then run Rugby
pod deintegrate
pod install && rugby
- Open and build the project
- See an error
framework not found Alamofire
Expected behavior
I expect the project to build successfully.
Environment (please complete the following information):
- Version 1.15.0
- Logs
.rugby/build.log (Empty)
.rugby/rawBuild.log (No such file or directory)
.rugby/rugby.log:
* Rugby version: 1.15.0
* Command: rugby
* Xcode 12.4 / Build version 12D4e
* Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
* CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
* Project: ProjectName
* Git branch: master
[33m---------------------------------[0m
[32mPrepare[0m [33mRead project [0m[37mโ[0m
[32mPrepare[0m [33mPods [0m(27)[33m:[0m
[32mPrepare[0m [33m* [0mAlamofire
[32mPrepare[0m [33m* [0mECSlidingViewController
[32mPrepare[0m [33m* [0mFirebase
[32mPrepare[0m [33m* [0mFirebaseAnalytics
[32mPrepare[0m [33m* [0mFirebaseAuth
[32mPrepare[0m [33m* [0mFirebaseCore
[32mPrepare[0m [33m* [0mFirebaseCoreDiagnostics
[32mPrepare[0m [33m* [0mFirebaseDatabase
[32mPrepare[0m [33m* [0mFirebaseInstallations
[32mPrepare[0m [33m* [0mGoogle-Maps-iOS-Utils
[32mPrepare[0m [33m* [0mGoogleAppMeasurement
[32mPrepare[0m [33m* [0mGoogleDataTransport
[32mPrepare[0m [33m* [0mGoogleMaps
[32mPrepare[0m [33m* [0mGooglePlaces
[32mPrepare[0m [33m* [0mGoogleUtilities
[32mPrepare[0m [33m* [0mGTMSessionFetcher
[32mPrepare[0m [33m* [0mKingfisher
[32mPrepare[0m [33m* [0mleveldb-library
[32mPrepare[0m [33m* [0mlibPhoneNumber-iOS
[32mPrepare[0m [33m* [0mMBProgressHUD
[32mPrepare[0m [33m* [0mnanopb
[32mPrepare[0m [33m* [0mOneSignal
[32mPrepare[0m [33m* [0mPromisesObjC
[32mPrepare[0m [33m* [0mSDWebImage
[32mPrepare[0m [33m* [0mSwiftyJSON
[32mPrepare[0m [33m* [0mTagListView
[32mPrepare[0m [33m* [0mUICKeyChainStore
[32mPrepare[0m [33mCalculate checksums [0m[37mโ[0m
[32mPrepare[0m [33mResolving dependencies graph[0m
[32mPrepare[0m [33mBuild targets [0m(27)[33m:[0m
[32mPrepare[0m [33m* [0mAlamofire
[32mPrepare[0m [33m* [0mECSlidingViewController
[32mPrepare[0m [33m* [0mFirebase
[32mPrepare[0m [33m* [0mFirebaseAnalytics
[32mPrepare[0m [33m* [0mFirebaseAuth
[32mPrepare[0m [33m* [0mFirebaseCore
[32mPrepare[0m [33m* [0mFirebaseCoreDiagnostics
[32mPrepare[0m [33m* [0mFirebaseDatabase
[32mPrepare[0m [33m* [0mFirebaseInstallations
[32mPrepare[0m [33m* [0mGoogle-Maps-iOS-Utils
[32mPrepare[0m [33m* [0mGoogleAppMeasurement
[32mPrepare[0m [33m* [0mGoogleDataTransport
[32mPrepare[0m [33m* [0mGoogleMaps
[32mPrepare[0m [33m* [0mGooglePlaces
[32mPrepare[0m [33m* [0mGoogleUtilities
[32mPrepare[0m [33m* [0mGTMSessionFetcher
[32mPrepare[0m [33m* [0mKingfisher
[32mPrepare[0m [33m* [0mleveldb-library
[32mPrepare[0m [33m* [0mlibPhoneNumber-iOS
[32mPrepare[0m [33m* [0mMBProgressHUD
[32mPrepare[0m [33m* [0mnanopb
[32mPrepare[0m [33m* [0mOneSignal
[32mPrepare[0m [33m* [0mPromisesObjC
[32mPrepare[0m [33m* [0mSDWebImage
[32mPrepare[0m [33m* [0mSwiftyJSON
[32mPrepare[0m [33m* [0mTagListView
[32mPrepare[0m [33m* [0mUICKeyChainStore
[32mPrepare[0m [33mAdd build target: [0mRugbyPods
[32mPrepare[0m [33mSave project [0m[37mโ[0m
[33m[20s][0m [32mPrepare[0m โ
[32mBuild[0m [33mBuilding [0m[33msim-x86_64[0m[33m [0m[37mโ[0m
[32mBuild[0m [33mUpdate checksums [0m[37mโ[0m
[33m[5s][0m [32mBuild[0m โ
[32mIntegration[0m [33mUpdate paths to builded pods [0m[37mโ[0m
[33m[1s][0m [32mIntegration[0m โ
[32mClean up[0m [33mRead project [0m[37mโ[0m
[32mClean up[0m [33mRemove sources from project[0m
[32mClean up[0m [33mRemove frameworks[0m
[32mClean up[0m [33mRemove products[0m
[32mClean up[0m [33mRemove build target[0m
[32mClean up[0m [33mRemove builded pods[0m
[32mClean up[0m [33mRemove schemes[0m
[32mClean up[0m [33mSave project [0m[37mโ[0m
[33m[4s][0m [32mClean up[0m โ
[33m[31s][0m [32mCached 27/27 pods.[0m
[33m[!] [0m[33mProject size [0m[32mโ95%[0m
[33m[!] [0m[33mIndexing files count [0m[32mโ99%[0m
[33m[!] [0m[33mTargets count [0m[32mโ93%[0m
[33m[31s][0m [32mLet's roll ๐[0m
platform :ios, '12.0'
source 'https://cdn.cocoapods.org/'
target 'ProjectName' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ProjectName
pod 'GooglePlaces'
pod 'GoogleMaps'
pod 'Google-Maps-iOS-Utils', '~> 4.1.0'
pod 'SwiftyJSON'
pod 'UICKeyChainStore'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'SDWebImage', '~> 4.0'
pod 'Alamofire', '~> 4.7'
pod 'MBProgressHUD', '~> 1.2.0'
pod 'ECSlidingViewController', '~> 2.0.3'
pod 'TagListView', '~> 1.0'
pod 'OneSignal', '>= 3.0.0', '< 4.0'
pod 'Kingfisher', '~> 7.0'
pod 'libPhoneNumber-iOS', '~> 0.8'
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignal', '>= 3.0.0', '< 4.0'
end
end
bug