amosavian/AMSMB2

Support for iOS Simulator on XCode 12 Beta

Closed this issue · 4 comments

Seems like the iOS Simulator requires a different version of the bundled lib and hence fails with the following error:

ld: in /xyz/Projects/Xcode/MyProject/Pods/AMSMB2/libsmb2/lib/libsmb2-ios.a(libsmb2_la-libsmb2.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am still having this issue. However, when following the solution from @SLboat I am able to build.
But when I import AMSMB2, the build fails as the module can not be found.

OmranK commented

Support for M1 iOS Simulator added in #89

Please use version 3.0.0