You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a private pod that depends on a static library Sinch, s.dependency 'SinchRTC', '~> 3.12'. And linting it by pod lib lint --private --verbose --allow-warnings
What did you expect to happen?
I expected the project lints successfully.
What happened instead?
When linting the private pod this error is raised:
Undefined symbols for architecture i386:
"_SINCallKey", referenced from:
FalconVOIP.SINCallKitProvider.(callDidEnd in _BCA27084B1F5974A347EFFCBCAE637A6)(Foundation.Notification) -> () in FalconVOIP(SINCallKitProvider.o)
"_SINCallDidEstablishNotification", referenced from:
function signature specialization <Arg[0] = Owned To Guaranteed> of FalconVOIP.SINCallKitProvider.(in _BCA27084B1F5974A347EFFCBCAE637A6).init(with: __ObjC.SINClient) -> FalconVOIP.SINCallKitProvider in FalconVOIP(SINCallKitProvider.o)
"_SINCallDidEndNotification", referenced from:
function signature specialization <Arg[0] = Owned To Guaranteed> of FalconVOIP.SINCallKitProvider.(in _BCA27084B1F5974A347EFFCBCAE637A6).init(with: __ObjC.SINClient) -> FalconVOIP.SINCallKitProvider in FalconVOIP(SINCallKitProvider.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to skip the i386 architecture by s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' } but the same error appears.
I tried with different architectures, the only combination that skips the error is s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 arm64' } but I want to support armv7.
I wanted to make sure what architectures Sinch supports, and I found it supports armv7.
> lipo -info Sinch.framework/Sinch
Architectures in the fat file: Sinch are: armv7 x86_64 arm64
What should I do, I want to support armv7 in the pod?
Report
What did you do?
I'm creating a private pod that depends on a static library Sinch,
s.dependency 'SinchRTC', '~> 3.12'
. And linting it bypod lib lint --private --verbose --allow-warnings
What did you expect to happen?
I expected the project lints successfully.
What happened instead?
When linting the private pod this error is raised:
I tried to skip the i386 architecture by
s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }
but the same error appears.I tried with different architectures, the only combination that skips the error is
s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 arm64' }
but I want to support armv7.I wanted to make sure what architectures Sinch supports, and I found it supports armv7.
What should I do, I want to support armv7 in the pod?
CocoaPods Environment
Installation Source
Plugins
Project that demonstrates the issue
https://github.com/Basim-Alamuddin/Sinch-Pod-Lint-Demo.git
Simply clone and lint the pod:
The text was updated successfully, but these errors were encountered: