Closed devshorts closed 3 years ago
@devshorts could you post your header search paths (HEADER_SEARCH_PATHS
)? They should include a path to the Appboy pod's public headers
@Bucimis seems like these two items were added automatically as part of the auto linking. (Is there an easy way to copy the full list of search paths in xcode?)
("${PODS_CONFIGURATION_BUILD_DIR}/Appboy-iOS-SDK/Appboy_iOS_SDK.framework/Headers")
For what its worth, importing the two headers as mentioned in the original report did work, I was able to verify we are sending some sample data to the dashboard from our react native app
@devshorts do you have !use_frameworks
in your Podfile
? And yep, it should actually work either way - the import syntax will depend on how the SDK was ultimately compiled based on your configuration
@Bucimis yes we have
use_frameworks! :linkage => :static
@devshorts 👍 that's almost certainly the reason, the SDK should function fine either way. we'll close this out for now, let us know if anything else comes up!
Run into the same issue, has this been resolved? I am on 1.37.0
Hi @ivannzme,
Version 1.37.0 of AppboyKit is a very old version, and AppboyKit itself has just passed end-of-support as of March 1, 2024, meaning we will no longer be developing on it nor fixing critical bugs on the repo. I encourage you to either see if the latest version of AppboyKit 4.7.0 addresses your issues or to migrate to the Swift SDK, which will resolve the issue you are facing.
Thanks.
Report
I'm following the react native integration outlines here for podspec based installs
https://www.braze.com/docs/developer_guide/platform_integration_guides/react_native/ios/sdk_integration/
Which first links to the ios sdk integration link (note, the link linked to in the docs: https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/initial_sdk_setup/ is wrong...)
The ios sdk integration links says to add
But xcode just complains that it can't find it.
After some digging I ended up doing
Which made the following two lines compile:
I'm not a native ios dev so I'm not sure if this is even right, but otherwise I'd need some guidance on what is the right import to pull in
Describe your environment.