razorpay / razorpay-pod

:iphone: CocoaPod implementation of Razorpay's Payment SDK. Refer for instructions:
https://docs.razorpay.com/v1/page/ios-integration
MIT License
21 stars 18 forks source link

Xcode 11 Razor pay error while archiving - URGENT! #75

Closed Praphin closed 4 years ago

Praphin commented 4 years ago
Screenshot 2019-09-23 at 10 29 42 PM
pawan-preet commented 4 years ago

Facing the same issue.

Logs- IDEDistributionItem init <DVTFilePath:0x7ffd55a36db0:'/Users/pawanpreetsingh/Library/Developer/Xcode/Archives/2019-09-24/Zolo-iOS 24-09-19, 12.27 AM.xcarchive/Products/Applications/Zolo-iOS.app/Frameworks/Razorpay.framework/Frameworks/Pods_CheckoutOtpelf.framework'>

karthick-ck-ios commented 4 years ago

Error on archive the iOS Project. Found an unexpected Mach-O header code: 0x72613c21 Screenshot 2019-09-24 at 7 04 18 AM

aravindcraj commented 4 years ago

Hey @pronav, Can you help us solving this issue?

Nautiyalsachin commented 4 years ago

Can you try using

pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git', :branch => '0x72613c21'
karthick-ck-ios commented 4 years ago

@Nautiyalsachin Still I am facing the same issue.

Nautiyalsachin commented 4 years ago

@karthick-ck-ios have you updated your pods ?

For updating pods run - pod update

karthick-ck-ios commented 4 years ago

@Nautiyalsachin Could not find a storyboard named 'Checkout' in bundle NSBundle

Nautiyalsachin commented 4 years ago

Trying to fix it, for now you can skip pods addition and download framework from https://razorpay.com/docs/payment-gateway/ios-integration/standard/.

karthick-ck-ios commented 4 years ago

Trying to fix it, for now you can skip pods addition and download framework from https://razorpay.com/docs/payment-gateway/ios-integration/standard/.

@Nautiyalsachin Standard Integration also having the same error. Found an unexpected Mach-O header code: 0x72613c21

Nautiyalsachin commented 4 years ago

Have fixed issue with this pod

pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git',  :branch => 'swift5.1'

Also do update pod afterwards, pod update

Let me know if it works for you.

pawan-preet commented 4 years ago

@Nautiyalsachin - Error still persists when Framework is manually added. Downloaded from - https://razorpay.com/docs/payment-gateway/ios-integration/standard/

karthick-ck-ios commented 4 years ago

@Nautiyalsachin Working fine, Thanks.

Nautiyalsachin commented 4 years ago

@Pawanpreet93 try https://github.com/razorpay/razorpay-pod/issues/75#issuecomment-534545991

It's working now.

Praphin commented 4 years ago

It Worked. Thanks

Coppercodes1 commented 4 years ago

pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git', :branch => 'swift5.1'

I am getting following error and pod is not getting installed: CocoaPods could not find compatible versions for pod "razorpay-pod": In Podfile: razorpay-pod (from https://github.com/razorpay/razorpay-pod.git, branch swift5.1)

Specs satisfying the razorpay-pod (fromhttps://github.com/razorpay/razorpay-pod.git, branchswift5.1) dependency were found, but they required a higher minimum deployment target.

mbhansali commented 4 years ago

Kindly update Razorpay for XCode 11 on Cococapods. On Cocoapods still have old version which only support xcode 10.2.

maskedTitan commented 4 years ago

@mbhansali You can visit: https://cocoapods.org/pods/razorpay-pod to find the latest version of our pod v1.1.4 that is compatible with Xcode 11.

SandipSerantec commented 3 years ago

pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git', :branch => 'swift5.1'

I am getting following error and pod is not getting installed: CocoaPods could not find compatible versions for pod "razorpay-pod": In Podfile: razorpay-pod (from https://github.com/razorpay/razorpay-pod.git, branch swift5.1)

Specs satisfying the razorpay-pod (fromhttps://github.com/razorpay/razorpay-pod.git`, branch swift5.1)` dependency were found, but they required a higher minimum deployment target.

Fix issue Thanks Team

SandipSerantec commented 3 years ago

Have fixed issue with this pod

pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git',  :branch => 'swift5.1'

Also do update pod afterwards, pod update

Let me know if it works for you.

Thans you Nautiyalsachin

Nautiyalsachin commented 3 years ago

Please always use our latest pod 'razorpay-pod' instead of any branch, this will help you to be updated with the latest releases and bug fixes.