I built a podspec using vendored_libraries
to contain third party libraries which are just built for real device. Then I pushed the podspec file and got error which said cocoapods could not found symbols for architecture i386 and x86_64 ,because the libraries really had not the symbols for simulator architecture . So, can I push the podspec without build for the simulator architecture type? How to do ? Thanks.
Asked
Active
Viewed 3,147 times
4

poor_developer
- 61
- 1
- 8
-
Maybe this help you... http://stackoverflow.com/a/26691080/6124910 Good luck – Patrick Apr 14 '16 at 09:29
2 Answers
2
https://github.com/CocoaPods/CocoaPods/issues/5472
So, I asked an Issue about this question and got the answer.
Cocoapods do not encourage restricting architectures.
I manually manager the podspecs in my private pods repo instead of using pod repo push
command.

poor_developer
- 61
- 1
- 8
-
So basically you've manually pused the Podspec in your private repo? – Mihai Fratu Feb 08 '17 at 14:24
2
You may pass --skip-import-validation
(Lint skips validating that the pod can be imported) to lint
or push
command:
pod lib lint --skip-import-validation
pod trunk push --skip-import-validation --allow-warnings

Elf Sundae
- 1,575
- 16
- 23