In order to install AudioKit 4.1 via CocoaPods, I did pod 'AudioKit', '~> 4.1' on Terminal, but I got an error:
[!] Unable to satisfy the following requirements:
- AudioKit (~> 4.1) required by Podfile
None of your spec sources contain a spec satisfying the dependency: AudioKit (~> 4.1).
What's wrong?
I use Swift 4 and Xcode 9.2.
This should be fixed now!
๐ AudioKit (4.1) successfully published
๐
February 13th, 17:01
๐ https://cocoapods.org/pods/AudioKit
๐ Tell your friends!
As for now, AudioKit 4.0.4 is the latest version that you can install directly from CocoaPods. Just remove the arrow from the dependency or replace it with ~> 4.0.4.
Alternatively, you can point the dependency to GitHub to be able to use 4.1:
pod 'AudioKit', :git => 'https://github.com/AudioKit/AudioKit.git'
Related
i've added firebase_auth and get this error
CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.0.2, which depends on
Firebase/Auth (= 10.0.0) was resolved to 10.0.0, which depends on
FirebaseAuth (~> 10.0.0) was resolved to 10.0.0, which depends on
GTMSessionFetcher/Core (~> 2.1)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 0.0.1, which depends on
GoogleMLKit/BarcodeScanning (~> 2.6.0) was resolved to 2.6.0, which depends on
MLKitBarcodeScanning (~> 1.7.0) was resolved to 1.7.0, which depends on
MLKitVision (~> 3.0) was resolved to 3.0.0, which depends on
GTMSessionFetcher/Core (~> 1.1)
if i remove the firebase_auth, everything goes fine .
i've tried to use arch -x86_64 pod install with no success .
any one faced this issue?
Both the packages (firebase_auth and mobile_scanner) are using GTMSessionFetcher pod internally in iOS.
As both plugin uses different version of GTMSessionFetcher it causes conflicts, thus we are not able to compile iOS app.
There is one open issue in firebase-ios-sdk where we can get all the updates, as of now I am also not able to found any issues, but will update here if I found anything important. Thanks.
Update
I found two more linked issues.
Issue 1
Issue 2
For me Updating all the firebase dependencies to the latest version and google sign in version removed this error.
Then, run pod install.
Try to remove Podile.lock and rebuild the app
UPDATE
Sometimes problems happen due target ios platform. Try to do these steps:
flutter clean
update all dependencies to the latest version in pubspec.yml file and do flutter pub get
Go to your Podfile and uncomment #platform :ios, '9.0' Then change the version to 10 platform :ios, '10.0'
go to ios folder and throuh the terminal run command: pod repo update, pod update or pod install
[!] CocoaPods could not find compatible versions for pod "Sentry":
In Podfile:
sentry_flutter (from .symlinks/plugins/sentry_flutter/ios) was resolved to 0.0.1, which depends on
Sentry (~> 7.11.0)
None of your spec sources contain a spec satisfying the dependency: `Sentry (~> 7.11.0)`.
I am just trying to install sentry_flutter plugin in my futter project. Currently i am testing in ios device. But it gives the above error.
The error message seems straight forward enough. But i cannot manage to include this plugin in my project.
you can run pod repo update to update your local cache bcause it may be outdated.
If it doesn't fix the issue for you, you can delete your Podfile.look file on ios folder and run pod install
Build system information
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'SwiftyJSON')
how can I deal with it?
SwiftyJSON v4.3.0 supports Swift 5. Check your Podfile to make sure youโre getting the latest release. You may need to update your Pods (with pod update) to make sure youโve got the latest versions.
Also, you might consider retiring SwiftyJSON and using JSONEncoder/JSONDecoder instead. See Encoding and Decoding Custom Types or the Using JSON with Custom Types sample for more information.
If, on the other hand, you are not using Swift 5 yet, just configure your Podfile indicate that you want to use SwiftyJSON v4.2.0. E.g.
target 'MyApp' do
pod 'SwiftyJSON', '~> 4.2'
end
Either change the build target of your project to Swift 4.x or wait until the project gets support for Swift 5 (you can check that on the GitHub page)
I get this error too when i tried to pod lint or push.
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2.
I have to stay on xcode 10.1 ans use cocoapods 1.5.3, but on a fresh install (new mac) I received the same error.
Here is my solution:
After comparing my 'gem list' with an other mac, I found that the gem xcodeproj was very high (1.12.0).
So, I installed a lower version required by cocoapods (1.5.3)
"sudo gem install xcodeproj -v 1.5.7"
and remove the never
"sudo gem uninstall xcodeproj -v 1.12.0"
Wrongs fine now, I cant lint and push my pods.
I am using XCode 8.3 and I am trying to Run my project which is connected with link and now I have a XCode Error: Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1
So my question is how to update the version of the framework?
I downloaded this framework from the link that I've posted above.
I think that you need to update CocoaPods to a newer version supports XCode 8 (CocoaPods 1.1.0 or newer):
sudo gem install cocoapods
Then do a pod update to fix your dependencies that are not linking:
pod update
Delete the DerivedData folder for your project and rebuild, the link error should be gone.
I'm currently following this tutorial:https://www.mapbox.com/help/first-steps-ios-sdk/ and It all works up until I should use the
import Mapbox
command. Then i get an error saying:
Could not build objective-C module 'Mapbox'.
I just follow the steps and even tried it using cocoapods.
I'm using Xcode 6.4 and faced the same problem. I suppose it's caused by a too old version of Swift compiler and some 'new' Swift language features used in the latest version of Mapbox iOS SDK.
So, I just sorted through older versions of Mapbox iOS SDK using CocoaPods. The latest release version which appeared to be compatible with my old Xcode is 3.1.0.
That's my Podfile:
platform :ios, "8.0"
inhibit_all_warnings!
use_frameworks!
target "%APP%" do
pod 'Mapbox-iOS-SDK', '= 3.1.0'
end
I hope this was helpful for someone.