-
Notifications
You must be signed in to change notification settings - Fork 685
Description
Description:
Hi,
I'm using NodeJS v12, Cordova v9 and the Firebase plugin for such target (https://github.com/dpa99c/cordova-plugin-firebase).
When I try to build the app running ionic cordova build ios the build will hang on the step ProcessPCH.
Interesting thing, if I do run ionic cordova prepare ios followed by cordova build ios, instead of the above command, then the build will succeed.
It's also worth to notice that I could build the app with success in Xcode too.
Sample repo:
Here's a sample repo to reproduce the problem:
https://github.com/peterpeterparker/ios-build-freeze
Steps to Reproduce:
git clone https://github.com/peterpeterparker/ios-build-freeze && cd ios-build-freeze
npm install
ionic cordova platform add ios@latest
ionic cordova build ios
Output:
ProcessPCH /Users/myProject/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/10438514788408785055/MyApp-Prefix.pch.gch /Users/myProject/platforms/ios/MyApp/MyApp-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: MyApp)
cd /Users/myProject/platforms/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x .... (a lot of lines) ... 8408785055/MyApp-Prefix.pch.dia
My ionic info:
Ionic:
Ionic CLI : 5.0.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.0.0, ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 11 other plugins)
Utility:
cordova-res : 0.3.0
native-run : not installed
System:
ios-deploy : 1.9.4
ios-sim : 8.0.1
NodeJS : v12.4.0 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001
Other Information:
This issue is a follow up of the issue we discussed and analyzed in the plugin repo respectively dpa99c/cordova-plugin-firebasex#5