razorpay / razorpay-capacitor

Capacitor wrapper around Razorpay's Android and iOS SDKs
https://www.npmjs.com/package/com.razorpay.capacitor
12 stars 30 forks source link

Archive failed with capacitor 6 #91

Open ruhiverse-official opened 2 weeks ago

ruhiverse-official commented 2 weeks ago

Asset validation failed Invalid Executable. The executable 'App.app/Frameworks/Razorpay.framework/Razorpay' contains bitcode. (ID: xxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx)

Upload Symbols Failed The archive did not include a dSYM for the Razorpay.framework with the UUIDs [xxxxxxxxx-xxxx-xxxx-xxxxxxxx]. Ensure that the archive's dSYM folder includes a DWARF file for Razorpay.framework with the expected UUIDs.

vivekshindhe commented 2 weeks ago

@ruhiverse-official Can you please run this command in your terminal and check if this works? Would suggest a round of sanity testing if this was successful.
cd ios/App && xcrun bitcode_strip -r Pods/razorpay-pod/Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Razorpay -o Pods/razorpay-pod/Pod/Razorpay.xcframework/ios-arm64/Razorpay.framework/Razorpay This error is due to XCode 16. We are looking into this issue as well. Until then this can be used as a workaround.

ruhiverse-official commented 2 weeks ago

@vivekshindhe It's working but the warning I shared which is there. Hope by doing this plugin still work.