user3336078
user3336078

Reputation: 53

Undefined symbols for architecture x86_64 MaxstSDK

When adding the SDK i get this compile error

ld: warning: ignoring file /Path/To/Project/MaxstVideoFramework.framework/MaxstVideoFramework, missing required architecture x86_64 in file /Path/To/Project/MaxstVideoFramework.framework/MaxstVideoFramework (2 slices)

Undefined symbols for architecture x86_64:

"_OBJC_CLASS_$_MasCameraDevice", referenced from:

  objc-class-ref in ScanForCouponsViewController.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using swift.

Does any have an idea on how to fix this ?

Thanks

Upvotes: 0

Views: 124

Answers (1)

Jacky Jiang
Jacky Jiang

Reputation: 1

Try in this terminal this code:

lipo -info /path/to/your/framework/binaryfile 

Maybe the framework doesn't support architecture x86_64.

Also you should read the SDK documents, maybe you missed some settings just like "Other linker Flags".

Upvotes: 0

Related Questions