New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode integration issue. #60
Comments
Hi! If should contain something like
|
Thanks for quick reply Sure below is current
I changed as you mentioned in above comment like.
And getting there errors Launching lib/main.dart on iPhone 7 in debug mode... CocoaPods' output:
Error output from CocoaPods:
Error running pod install |
@jonasbark |
Can you try to update your iOS deployment target to 10.0? |
Changed .. still facing issue.:(
|
please attach that project here so I can debug that |
- update deployment target to 10.0 (#60)
Sure, You can find the code |
Works fine here. Try |
... and try version 1.0.1 |
I tried from yesterday, but not able to to add dependencies
in fresh project. Always get error in iOS.
May be issue in iOS12 |
I just tried to integrate package and got issue in Xcode/iOS.
=== BUILD TARGET stripe_payment OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.m:337:70: warning: 'UIKeyboardTypeASCIICapableNumberPad' is only available on iOS 10.0 or newer [-Wunguarded-availability]
@"ascii-capable-number-pad": @(UIKeyboardTypeASCIICapableNumberPad),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.m:8:
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.h:191:15: note: expanded from macro 'RCT_ENUM_CONVERTER'
mapping = values;
^~~~~~
In module 'UIKit' imported from /Users/xyz/Desktop/strip_integration/ios/Pods/Target Support Files/stripe_payment/stripe_payment-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:105:5: note: 'UIKeyboardTypeASCIICapableNumberPad' has been explicitly marked partial here
UIKeyboardTypeASCIICapableNumberPad NS_ENUM_AVAILABLE_IOS(10_0), // A number pad (0-9) that will always be ASCII digits.
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.m:337:70: note: enclose 'UIKeyboardTypeASCIICapableNumberPad' in an @available check to silence this warning
@"ascii-capable-number-pad": @(UIKeyboardTypeASCIICapableNumberPad),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.m:8:
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/RCTConvert.h:191:15: note: expanded from macro 'RCT_ENUM_CONVERTER'
mapping = values;
^~~~~~
1 warning generated.
=== BUILD TARGET stripe_payment OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:127:14: error: use of undeclared identifier 'STPPaymentMethodTypeFPX'; did you mean 'STPPaymentMethodTypeCard'?
case STPPaymentMethodTypeFPX: return @"fpx";
^~~~~~~~~~~~~~~~~~~~~~~
STPPaymentMethodTypeCard
In module 'Stripe' imported from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.h:11:
/Users/xyz/Desktop/strip_integration/ios/Pods/Stripe/Stripe/PublicHeaders/STPPaymentMethodEnums.h:16:5: note: 'STPPaymentMethodTypeCard' declared here
STPPaymentMethodTypeCard,
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:127:14: error: duplicate case value 'STPPaymentMethodTypeCard'
case STPPaymentMethodTypeFPX: return @"fpx";
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:124:14: note: previous case defined here
case STPPaymentMethodTypeCard: return @"card";
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:238:5: error: use of undeclared identifier 'PKPaymentNetworkElo'; did you mean 'TPSPaymentNetworkElo'?
TPSPaymentNetworkConditionalMapping(Elo, 12.1.1);
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:231:131: note: expanded from macro 'TPSPaymentNetworkConditionalMapping'
#define TPSPaymentNetworkConditionalMapping(Key, iOSVersion) { if (@available(iOS iOSVersion, *)) { tmp[TPSPaymentNetwork##Key] = PKPaymentNetwork ## Key; }}
^
:55:1: note: expanded from here
PKPaymentNetworkElo
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:211:1: note: 'TPSPaymentNetworkElo' declared here
TPSPaymentNetworkDefine(Elo, @"elo");
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:204:70: note: expanded from macro 'TPSPaymentNetworkDefine'
#define TPSPaymentNetworkDefine(Key, string) TPSPaymentNetwork const TPSPaymentNetwork ## Key = string
^
:30:1: note: expanded from here
TPSPaymentNetworkElo
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:242:5: error: use of undeclared identifier 'PKPaymentNetworkMada'; did you mean 'TPSPaymentNetworkMada'?
TPSPaymentNetworkConditionalMapping(Mada, 12.1.1);
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:231:131: note: expanded from macro 'TPSPaymentNetworkConditionalMapping'
#define TPSPaymentNetworkConditionalMapping(Key, iOSVersion) { if (@available(iOS iOSVersion, *)) { tmp[TPSPaymentNetwork##Key] = PKPaymentNetwork ## Key; }}
^
:63:1: note: expanded from here
PKPaymentNetworkMada
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:215:1: note: 'TPSPaymentNetworkMada' declared here
TPSPaymentNetworkDefine(Mada, @"mada");
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:204:70: note: expanded from macro 'TPSPaymentNetworkDefine'
#define TPSPaymentNetworkDefine(Key, string) TPSPaymentNetwork const TPSPaymentNetwork ## Key = string
^
:34:1: note: expanded from here
TPSPaymentNetworkMada
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:722:42: warning: 'startPollingSourceWithId:clientSecret:timeout:completion:' is deprecated: You should poll your own backend to update based on source status change webhook events it may receive. [-Wdeprecated-declarations]
[stripeAPIClient startPollingSourceWithId:sourceID clientSecret:clientSecret timeout:10 completion:^(STPSource *source, NSError *error) {
^
In module 'Stripe' imported from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.h:11:
/Users/xyz/Desktop/strip_integration/ios/Pods/Stripe/Stripe/PublicHeaders/STPAPIClient.h:347:243: note: 'startPollingSourceWithId:clientSecret:timeout:completion:' has been explicitly marked deprecated here
- (void)startPollingSourceWithId:(NSString *)identifier clientSecret:(NSString *)secret timeout:(NSTimeInterval)timeout completion:(STPSourceCompletionBlock)completion NS_EXTENSION_UNAVAILABLE("Source polling is not available in extensions") DEPRECATED_MSG_ATTRIBUTE("You should poll your own backend to update based on source status change webhook events it may receive.");
^
In module 'Foundation' imported from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.h:9:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/AvailabilityMacros.h:179:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) attribute((deprecated(s)))
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:1635:22: warning: 'supplementarySubLocality' is only available on iOS 9.2 or newer [-Wunguarded-availability]
if (inputContact.supplementarySubLocality) {
^~~~~~~~~~~~~~~~~~~~~~~~
In module 'PassKit' imported from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h:30:58: note: 'supplementarySubLocality' has been explicitly marked partial here
@Property (nonatomic, retain, nullable) NSString *supplementarySubLocality API_DEPRECATED("Use subLocality and subAdministrativeArea on -postalAddress instead", ios(9.2, 10.3), watchos(3.0, 3.2));
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:1635:22: note: enclose 'supplementarySubLocality' in an @available check to silence this warning
if (inputContact.supplementarySubLocality) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:1636:47: warning: 'supplementarySubLocality' is only available on iOS 9.2 or newer [-Wunguarded-availability]
[contactDetails setValue:inputContact.supplementarySubLocality forKey:@"supplementarySubLocality"];
^~~~~~~~~~~~~~~~~~~~~~~~
In module 'PassKit' imported from /Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h:30:58: note: 'supplementarySubLocality' has been explicitly marked partial here
@Property (nonatomic, retain, nullable) NSString *supplementarySubLocality API_DEPRECATED("Use subLocality and subAdministrativeArea on -postalAddress instead", ios(9.2, 10.3), watchos(3.0, 3.2));
^
/Users/xyz/Documents/patel/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.0.0/ios/Classes/TPSStripeManager.m:1636:47: note: enclose 'supplementarySubLocality' in an @available check to silence this warning
[contactDetails setValue:inputContact.supplementarySubLocality forKey:@"supplementarySubLocality"];
The text was updated successfully, but these errors were encountered: