Skip to content

Is INSCameraServiceSDK required? #65

@fabriciorodzprocore

Description

@fabriciorodzprocore

Description

If you follow the integration instructions according to the docs in the iOS_v1.8.2_build4, you only need to embed INSCameraSDK and INSCoreMedia to integrate the sdk to a project, but if you do this the project won't run and it is asking for INSCameraServiceSDK, but if you add INSCameraServiceSDK you get duplicated symbols in the Xcode console

Steps to replicate

1. embed the INSCameraSDK and INSCoreMedia frameworks to your project target.
Image
  1. If you run the app at this point the application will crash, showing this in the console.
Library not loaded: @rpath/INSCameraServiceSDK.framework/INSCameraServiceSDK
  1. At this point if you add INSCameraServiceSDK to the project frameworks, the app will run, but you'll get duplicated symbols:
objc[11457]: Class INSPBExtraMetadata_FileGroupInfo is implemented in both /Users/fabricio.rodriguez/Library/Developer/Xcode/DerivedData/swiftui-fcibzntpzjaiqaerkwfylpcqqyua/Build/Products/Debug-iphonesimulator/INSCoreMedia.framework/INSCoreMedia (0x112671238) and /Users/fabricio.rodriguez/Library/Developer/Xcode/DerivedData/swiftui-fcibzntpzjaiqaerkwfylpcqqyua/Build/Products/Debug-iphonesimulator/INSCameraServiceSDK.framework/INSCameraServiceSDK (0x1067b6b80). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.

So, is INSCameraServiceSDK needed?

  • if it is, why are we getting duplicated symbols, and why this is not reflected in the docs?
  • if it is not, why are we getting Library not loaded: @rpath/INSCameraServiceSDK.

Please let me know if I'm missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions