Start a new topic
Solved

Swift SDK

Hello,


 i am trying to run the application with swift. I have integrated the sdk to my project. Everytime i try to run project, i face a crash with "dyld: Library not loaded: @rpath/WikitudeNativeSDK.framework/WikitudeNativeSDK

 Referenced from: /var/containers/Bundle/Application/30F2EEC1-03FE-4E52-AAF6-8EA837851C33/wikitude.app/wikitude

 Reason: image not found" error.

Waiting for response and i wonder that are there any example project for swift ? Also i cannot run the objective-c project in my xcode.


Best Regards.

1 Comment

Hello Furkan,

You need to add the Wikitude Native SDK as 'Embedded Binary'. Just adding it as a Linked Framework is not enough. You also need to set EMBEDDED_CONTENT_CONTAINS_SWIFT to Yes. Please refer to the set up guide here and also have a look at the documentation section here regarding how to use the Wikitude Native SDK in Swift.

We don't have required Xcode version for our SDK releases but we follow Apples recommendation to always use the latest developer tools, so you could have a look here to see the release notes from Apple.

Thanks
Eva


 

Login or Signup to post a comment