Ionic build ios failed with Pods


#1

Hi guys, I have a build issue on ios platform. Could you please support me?

=== BUILD TARGET nanopb OF PROJECT Pods WITH CONFIGURATION Debug ===

Check dependencies

Libtool /Volumes/Data/projects/ionic2/my-app/platforms/ios/build/emulator/libnanopb.a normal x86_64
    cd /Volumes/Data/projects/ionic2/my-app/platforms/ios/Pods
    export IPHONEOS_DEPLOYMENT_TARGET=4.3
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Volumes/Data/projects/ionic2/my-app/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Volumes/Data/projects/ionic2/my-app/platforms/ios/build/emulator -filelist /var/root/Library/Developer/Xcode/DerivedData/We_Are_App-cvpkzcglvkfmvqgyqwrvlzqadnqh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/nanopb.build/Objects-normal/x86_64/nanopb.LinkFileList -framework Foundation -o /Volumes/Data/projects/ionic2/my-app/platforms/ios/build/emulator/libnanopb.a

** BUILD FAILED **


The following build commands failed:
	CompileC /var/root/Library/Developer/Xcode/DerivedData/My_App-cvpkzcglvkfmvqgyqwrvlzqadnqh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Protobuf.build/Objects-normal/x86_64/Any.pbobjc.o Protobuf/objectivec/google/protobuf/Any.pbobjc.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:1649) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/Data/projects/ionic2/my-app/platforms/ios/cordova/build-debug.xcconfig,-workspace,We Are App.xcworkspace,-scheme,We Are App,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Volumes/Data/projects/ionic2/my-app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Volumes/Data/projects/ionic2/my-app/platforms/ios/build/sharedpch
(node:1649) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ionic info report:

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-sim : 6.1.2 
    Node    : v7.7.0
    npm     : 5.7.1 
    OS      : macOS Sierra
    Xcode   : Xcode 9.2 Build version 9C40b 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Has anyone had the same problem?