Open syrakozz opened 2 years ago
Hello @syrakozz try the following command from project folder flutter clean && flutter pub get && cd ios && pod install thanks
just try it , i still getting , plz help , all my other pods are working perfectly except the payfort pods
So please try the following Delete pods folder delete podspec.lock Enter flutter folder and delete flutter.podspec then run the previous command.
where i can find this plz >> Enter flutter folder and delete flutter.podspec
In flutter folder inside ios directory .
i did it but im getting
1 warning generated. /Users/apple/.pub-cache/hosted/pub.dartlang.org/payfort_plugin-0.3.1/ios/Classes/SwiftPayfortPlugin.swift:3:8: error: no such module 'PayFortSDK' import PayFortSDK ^ Command CompileSwiftSources failed with a nonzero exit code note: Using new build system note: Planning note: Build preparation complete note: Building targets in parallel /Users/apple/Desktop/project/flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99. (in target 'libPhoneNumber-iOS' from project 'Pods') /Users/apple/Desktop/project/flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99. (in target 'Toast' from project 'Pods') /Users/apple/Desktop/project/flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.0.99. (in target 'FMDB' from project 'Pods')
go to pod file and remove # before platform :ios, and set version to 12 also go to flutter folder from xcode and open AppFrameWork.info and set minimumosversion to 12 and run previous commands
done , im getting
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'payfort_plugin' from project 'Pods') cd /Users/apple/Desktop/project/flutter/myapp/ios/Pods export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk No such module 'PayFortSDK'
Command CompileSwiftSources failed with a nonzero exit code
So please try the following Delete pods folder delete podspec.lock Enter flutter folder and delete flutter.podspec then run the previous command.
try this again
i did im getting same No such module 'PayFortSDK'
we are getting
warning: [CP] Unable to find matching .xcframework slice in 'ios-arm64 ios-x86_64-simulator' for the current build architectures (arm64 x86_64). Command CompileSwiftSources failed with a nonzero exit code /Users/apple/.pub-cache/hosted/pub.dartlang.org/payfort_plugin-0.3.1/ios/Classes/SwiftPayfortPlugin.swift:3:8: error: no such module 'PayFortSDK'