box-ios-sdk icon indicating copy to clipboard operation
box-ios-sdk copied to clipboard

Need Help For Integration

Open gopalIOS1989 opened this issue 3 years ago • 4 comments

I have added Pod in My Objective c. Import BoxSdk But Not Getting Any Function. means BooxSDK getClient ...

gopalIOS1989 avatar Jul 07 '21 11:07 gopalIOS1989

Hi @gopalIOS1989.

As of version 3, this SDK has been designed for use in Swift codebases, and is not compatible with Objective-C. This represents the significant majority of apps newly adopting the SDK.

You might look at the objective-c-maintenance branch. I believe the latest Objective-C compatible release was v2.4.0. An alternative approach, if you need to use the very latest Box APIs, would be to access the SDK from Swift and expose relevant functions to Objective-C from there.

I hope one of those paths helps.

jlawton avatar Jul 08 '21 08:07 jlawton

Screenshot 2021-07-08 at 3 05 31 PM

We are not able to install framework using Carthage. Attached error and is there any other way to use your objective-c SDK (2.4.0) like using pod?

gopalIOS1989 avatar Jul 08 '21 09:07 gopalIOS1989

Does the --use-xcframeworks flag mentioned in the error help? It should alternatively be possible to drag the framework project into your project and add it as a target dependency for your app.

jlawton avatar Jul 16 '21 17:07 jlawton

Hi @gopalIOS1989,

Do you still need any help with this issue? Have you tried --use-xcframeworks flag already?

arjankowski avatar Oct 21 '21 15:10 arjankowski

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

stale[bot] avatar Dec 19 '22 19:12 stale[bot]

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box iOS SDK and feel free to open another PR/issue at any time.

stale[bot] avatar Dec 28 '22 08:12 stale[bot]