I create a pod called MyPod, and in its podspec file i add “s.dependency ‘thirdSDK'”. I use “s.pod_target_xcconfig = { ‘EXCLUDED_ARCHS[sdk=iphonesimulator*]’ => ‘arm64’ }” and “s.user_target_xcconfig = { ‘EXCLUDED_ARCHS[sdk=iphonesimulator*]’ => ‘arm64′}” to exclude arm64 simulator validation.
When i run “pod lib lint MyPod.podspec –allow-warnings –sources=’https://github.com/xxx/thirdSDK.git’ –use-libraries –verbose”, it still has errors.
I found during the targets in Pods, only my pod has the EXCLUDED_ARCHS[sdk=iphonesimulator*] setting, my pod setting, the thirdSDK didn’t have the setting, thirdSDK setting,so it will find the arm64 simulator xcframework slice in the thirdSDK. Unfortunately, the thirdSDK doesn’t support arm64 simulator architecture.
So how to configure build settings for dependent third-party pods in my own podspec? Or how to make ‘pod lib lint’ success without ‘–skip-import-validation’
How to configure build settings for dependent third-party pods in my own podspec? Or how to make ‘pod lib lint’ success without ‘–skip-import-validation’ when the thirdSDK doesn’t have arm64 simulator architecture
元澍张 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.