Build stops at "lint finished" after updating to Mojave


I lately updated my macOS to Mojave. After doing this my build stopped after “lint finished” was called.

I am building with:
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

That results to:

Running app-scripts build: --platform ios --target cordova
[17:51:11]  build dev started ... 
[17:51:11]  clean started ... 
[17:51:11]  clean finished in 6 ms 
[17:51:11]  copy started ... 
[17:51:12]  deeplinks started ... 
[17:51:12]  deeplinks finished in 577 ms 
[17:51:12]  transpile started ... 
[17:51:17]  transpile finished in 5.31 s 
[17:51:17]  preprocess started ... 
[17:51:17]  preprocess finished in 1 ms 
[17:51:17]  webpack started ... 
[17:51:18]  copy finished in 6.21 s 
[17:51:26]  webpack finished in 8.78 s 
[17:51:26]  sass started ... 
Witout `from` option PostCSS could generate wrong source map or do not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning
[17:51:28]  sass finished in 2.23 s 
[17:51:28]  postprocess started ... 
[17:51:28]  postprocess finished in 7 ms 
[17:51:28]  lint started ... 
[17:51:28]  build dev finished in 17.21 s 
> cordova build ios --buildFlag=-UseModernBuildSystem=0
Building for iPhone XS Max Simulator

Building project: /Users/christianstruckmann/Desktop/OSS/App/OSS/platforms/ios/OSS.xcworkspace

	Configuration: Debug
	Platform: emulator
Adding xcodebuildArg: -UseModernBuildSystem=0

User defaults from command line:
    UseModernBuildSystem = 0

Build settings from command line:
    CONFIGURATION_BUILD_DIR = /Users/christianstruckmann/Desktop/OSS/App/OSS/platforms/ios/build/emulator
    SDKROOT = iphonesimulator12.0
    SHARED_PRECOMPS_DIR = /Users/christianstruckmann/Desktop/OSS/App/OSS/platforms/ios/build/sharedpch

Build settings from configuration file '/Users/christianstruckmann/Desktop/OSS/App/OSS/platforms/ios/cordova/build-debug.xcconfig':
    CODE_SIGN_IDENTITY = iPhone Developer
    HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"

[17:51:33]  lint finished in 4.76 s 

It is topping here / is taking there long (more than 5 minutes).

Would appreciate any help. Thanks in advance.

i’m experiencing similar behaviour with --prod build after updating to Mojave, just hangs after build is finished… Did you manage to get past?

Yes, it is working now, I just tried it a few times. Somehow the time the builds took got smaller…
But I didn’t get it to work with --prod too, because of one plug-in I am using.