Open jigarfumakiya opened 2 years ago
I am also facing the same issue. did you find any solution on this? @jigarfumakiya jigarfumakiya
Facing the same issue, Please anyone has a solution for this?
No, I have tried multiple workaround nothing works. No response from RazorPay Team.
Cant work on projects with Razorpay cause of this issue. authors, please look into this issue. The last working Xcode Version was 12.5.1 but cant downgrade to that since it will only work on Mac OS Big Sur. Again have to downgrade OS too.
Yes, Have the same issue.
Got a workaround @jigarfumakiya
What is the workaround? @niyasmhdth Downgrade flutter version ?
Build Libraries for distribution - Turn. it to no.
Build Libraries for distribution - Turn. it to no.
for both targets. this allowed me to run application normal no issues wer occured
@niyasmhdth Did you make release build? Check for errors
I am having same issue. what is the fix?
@niyasmhdth Did you make release build? Check for errors
Haven't yet but soon. hope it wont have release errors
![]()
Build Libraries for distribution - Turn. it to no.
![]()
Build Libraries for distribution - Turn. it to no. for both targets. this allowed me to run application normal no issues wer occured
I tried it, it's not working 🤔
![]()
Build Libraries for distribution - Turn. it to no.
![]()
Build Libraries for distribution - Turn. it to no.
for both targets. this allowed me to run application normal no issues wer occured
I tried it, it's not working 🤔
Which Xcode version are u using?
I added the following file in the Podfile and now able to build successfully. This is required specifically for the new M1 chip.
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
Podfile code,
_post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'YES'
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
end_
Pods in Xcode => Pods => Build Settings => Build architecture only
Set every flavor to YES
This makes app running in simulator
But i'm not sure that weather it's a good thing to do for release version
Please remove the razorpay-flutter
dependency from pubspec.yaml
file and save it. and reinstall the razorpay-flutter
dependency to fix this issue. Make sure the installed razorpay-pod version is 1.1.17
.
Created new flutter project Add razorpay dependency in pubspec.yaml Cleaned and rebuild the flutter app Run the project again on iOS simulator and build failed
Can anyone help here? Please 🙏🏻 Thanks in advance.
Hey @the-kool-sk No response from the RazorPay team. For now, you can move back to flutter version 2.2 and it will work.
@jigarfumakiya @rkumar1904 @niyasmhdth @razorpay-sanjib did u guys find any sol ?... I upgraded my flutter to latest 2.8.1 and app is running on android but on iOS I am still stuck on the same issue.
@hardikvij195 check this.
Hey @the-kool-sk No response from the RazorPay team. For now, you can move back to flutter version 2.2 and it will work.
Hey @the-kool-sk No response from the RazorPay team. For now, you can move back to flutter version 2.2 and it will work.
Issue with this way is, we need to downgrade most of the other packages which we are using in application. So not an ideal solution.
Hey @the-kool-sk No response from the RazorPay team. For now, you can move back to flutter version 2.2 and it will work.
Issue with this way is, we need to downgrade most of the other packages which we are using in application. So not an ideal solution.
I know it is not an ideal solution but this Is the only solution as of now.
We have added swift module stability from version 1.1.17, which will solve the above swift version incompatibility issue. Please make sure to you have the razorpay-pod version as 1.1.17 inside ios -> podfile.lock.
Tried not working, Tried on Xcode 12.2 and 13.1 and 13.2.1
If you are running on simulator, please add the below lines in the Podfile and do the pod install and run.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
I have fixed my issue by downgrading the flutter. I have recently upgraded flutter to 2.10 and faced these issue.
flutter downgrade v2.3.3
If you are running on simulator, please add the below lines in the Podfile and do the pod install and run.
post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end
Thanks, it works
M1芯片上Xcode 14 beta 2编译还是错误
Hello There
I am trying to integrate this SDK into my app. I have done all the steps and still giving the error.
Description
I have updated the pod file as your docs. And still says error: module compiled with Swift 5.4.2 cannot be imported by the Swift 5.5.1 compiler:
I have tried the below solution
https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler
https://stackoverflow.com/questions/63939585/swift-module-stability-module-compiled-with-swift-x-y-cannot-be-imported-by-the
Flutter Version :
Xcode Version :
Version 13.1 (13A1030d)
Cocoapod Version :
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
It should run without error
Logs
Let me know if you need anything else.