iOS Build failed

ios
fastlane

#1

Hi. Please help me to build ipa file.
I’m trying to build ipa and distribute it with fastlane. Please check my .yml file:

general:
build_dir: AppName
machine:
environment:
GYM_CODE_SIGNING_IDENTITY: ""
xcode:
version: 8.2
dependencies:
cache_directories:
- ~/.cocoapods
pre:
- brew update
override:
- sudo gem install cocoapods
- sudo gem install fastlane
- sudo gem install xcpretty
deployment:
beta:
branch: feature/ci
commands:
- echo build
- cd AppName
- pod install
- fastlane beta
test:
override:
- ls -la
- echo test
- cd AppName
- pod install
- fastlane beta

I have linking issue:
:x: ld: file is universal (4 slices) but does not contain a(n) armv7 slice: /Users/distiller/goodco-ios-native/GoodCo/Pods/NearbyMessages/Libraries/libGNSMessages.a file ‘/Users/distiller/goodco-ios-native/GoodCo/Pods/NearbyMessages/Libraries/libGNSMessages.a’ for architecture armv7

Also please help me with cocoapods instalation. Is it correct to install cocoapods in test section?


#2

Install cocoapods in the
dependencies:
pre:
step , not in the test step


#3