Open sohelyadav opened 5 years ago
Got any solutions to this error?
Not now :|
@SlickSlime Got the solution.
ios
folderios
folder with the ios
folder created from new project that include swift support.Steps to create a flutter project with swift support
$ mkdir test
$ cd test
$ flutter create -i swift your_project_name
$ cd ..
$ mv your_project_name/ios awesome_project/ios_bak
$ mv test/your_project_name/ios awesome_project/ios
$ rm -rf test
$ cd your_project_name
$ flutter packages get
Any solution to this apart from re building the ios folder?
I think the main issue is setting target version as 10.0
On Sun, Jun 9, 2019, 4:10 PM Daniyal Abbasi notifications@github.com wrote:
Any solution to this apart from re building the ios folder?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dynamitechetan/razorpay_flutter/issues/19?email_source=notifications&email_token=ADNUETIQCHP7WFWTO5WHDJDPZTMY7A5CNFSM4HN77AFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIHW3A#issuecomment-500202348, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNUETIHEMGBQAYDDNPY6KLPZTMY7ANCNFSM4HN77AFA .
I have done that. Still it's giving me this error
@SlickSlime Got the solution.
- create a new project with the same name in a different folder including swift support 2.backup your
ios
folder- replace current
ios
folder with theios
folder created from new project that include swift support.Steps to create a flutter project with swift support
$ mkdir test
$ cd test
$ flutter create -i swift your_project_name
$ cd ..
$ mv your_project_name/ios awesome_project/ios_bak
$ mv test/your_project_name/ios awesome_project/ios
$ rm -rf test
$ cd your_project_name
$ flutter packages get
- Open project in xcode and change development target to 10.0
- Add cocapods and edit the ios/Runner/Info.plist to include permission and rebuild your flutter project.
Add cocapods and edit the ios/Runner/Info.plist to include permission and rebuild your flutter project. ------> What permission??
razorpay_flutter
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set
the
SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.
Facing the same issue. Please post the right solution ?
I still am having this issue
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "razorpay_flutter":
In Podfile:
razorpay_flutter (from .symlinks/plugins/razorpay_flutter/ios
)
Specs satisfying the razorpay_flutter (from
.symlinks/plugins/razorpay_flutter/ios)
dependency were found, but they required a higher minimum deployment target.
I still am having this issue
Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "razorpay_flutter": In Podfile: razorpay_flutter (from
.symlinks/plugins/razorpay_flutter/ios
)Specs satisfying the
razorpay_flutter (from
.symlinks/plugins/razorpay_flutter/ios)
dependency were found, but they required a higher minimum deployment target.
+1
Write in Podfile ENV['SWIFT_VERSION'] = '5'
post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end end
Do this, it will work!!!
i am also getting this issue.
@sayannath it's a critical error and because of this release is stuck. Can you provide me time estimation?
Hi, I got this issue while integrating razorpay plugin. Xcode version : 10.2.1 swift version: 5 Thank you
`Launching lib/main.dart on iPhone Xʀ in debug mode... Running pod install... CocoaPods' output: ↳ Preparing
Error running pod install Error launching application on iPhone Xʀ.`