braintree_ios: App Crash on Launch After Upgrading Braintree SDK from 5.2 to 6.23.2

Braintree SDK Version

6.23.2

Environment

Both

Xcode Version

15.4

OS Version & Device

ios 16

Integration type

CocoaPods

Development Processor

Apple Silicon (M-series chips)

Describe the bug

I recently updated the Braintree SDK in my iOS project from version 5.21 to 6.23.2. After making the necessary changes in the Podfile, AppDelegate, and other integration points, the application worked fine during the initial testing.

However, after integrating the SDK into our Customer Portal (CP) and completing all required updates (including pod updates and version upgrades), the app crashes on the launch screen.

Error in console is:

 Symbol not found: _$s9Braintree13BTVenmoClientC018openVenmoAppPageInF5StoreyyFTj
  Referenced from: <553D15F4-0932-3EB9-8BA8-34A35971E393> /Users/navsingh/Library/Developer/Xcode/DerivedData/CustomerPortal-hfezrjyacftxxcfidrmywzpmjvgp/Build/Products/Debug-iphonesimulator/Paymentus.framework/Paymentus
  Expected in:     <FFA24E47-75B1-35FA-950D-D83B2BA55116> /Users/navsingh/Library/Developer/CoreSimulator/Devices/54C458E7-E7ED-4D1E-8622-DD15A28DAABA/data/Containers/Bundle/Application/70C6D875-14AF-477C-BE96-BA567043EE66/Customer Portal.app/Frameworks/Braintree.framework/Braintree

To reproduce

Steps to Reproduce:

  1. Update the Braintree SDK from 5.2 to 6.23.2.
  2. Make necessary changes in Podfile, AppDelegate, etc.
  3. Integrate the SDK into a any project
  4. Perform pod updates and version upgrades.
  5. Launch the app.

Expected behavior

The app should not crash. Bit confused that line 28 is correct or not.

image

Screenshots

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@KunJeongPark To address your questions:

  1. All three issues are indeed the same.
  2. The problem began after updating the Braintree SDK in our iOS project from version 5.21.0 to 6.23.3.
  3. Versions where the issue didn’t occurred: 5.21.0
  4. Versions where the issue occurred: 6.23.2, 6.23.3, 6.20.0.
  5. Xcode version used: 15.4.

@KunJeongPark I have upgraded to 6.23.3 but the error is still same at run time, Please look at the issue more carefully.

image