-
Notifications
You must be signed in to change notification settings - Fork 29
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
Trying to extract this SDK to a react native package that can be reused #133
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
TL.DR.: When i compile my custom library it compiles, but when i try to use the library i've created on a real app, the app does not compile. And it really seems with WebexSDK package because with other packages/pods it works.
🔎 Search Terms
react native webex sdk, webex ios sdk as package, extract ios webex
🕗 Version & Regression Information
3.5.0
🛠 Tool Used
Macbook Pro 16GB M1
💻 Code
I Have tried installing FBSDKCoreKit in the .podspec and it compiled and worked as expected. Then when i removed the FBSDKCoreKit and installed WebexSDK it gave me an error when running the code.
This one is when installing WebexSDK library on the .podspec file
https://youtu.be/NeP2NX6cjGA
🙁 Actual behavior
I'm getting this error on the console:
It is strange because FBSDKCoreKit works and WebexSDK don't. It's important to say that on both cases i'm not even importing any of those SDKs on the code. I'm just adding WebexSDK to the podspec and compiling, there is no single code there.
What we are trying to do is create a library that we could reuse in our projects that have WebexSDK inside of it, it looks like WebexSDK cannot be compiled in a separated source from the app, it's meant to be used and compiled on the app. This is really bad for us because it means that if we want to use the SDK on two distinct apps we need to CTRL+C and CTRL+V the code. Which is definetly not ideal.
🙂 Expected behavior
I want to be able to compile WebexSDK without the app so i can extract the logic in a single library than can be reused by everyone in the team and the company. Right now the problem really seems on WebexSDK
The text was updated successfully, but these errors were encountered: