Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build freeze on ProcessPCH #4042

Closed
peterpeterparker opened this issue Jun 20, 2019 · 1 comment
Closed

iOS build freeze on ProcessPCH #4042

peterpeterparker opened this issue Jun 20, 2019 · 1 comment
Labels

Comments

@peterpeterparker
Copy link
Contributor

peterpeterparker commented Jun 20, 2019

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 ([email protected])
   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

@peterpeterparker
Copy link
Contributor Author

There was a solution in the plugin, see dpa99c/cordova-plugin-firebasex#5 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant