ionic cordova build iOS hangs only when iphone attached to Mac
See original GitHub issueDescription:
Using cli 5.2.6, running Ionic v1 app - running ionic cordova build iOS
hangs the app after this file is compiled ONLY if an iPhone is attached to the Mac. Disconnect the iPhone and it compiles just fine. Running cordova build iOS
builds just fine even with an iPhone connected to the Mac.
platforms/ios/build/sharedpch/SharedPrecompiledHeaders/6268428044778614059/MyApp-Prefix.pch.dia
I suspect it “might” be related to Cordova-plugin-firebasex
- this is happening with firebasex plugin versions 6x and higher. I brought this to the attention of the plugin owner/developer (Dave Allen) and he believes its a ionic cordova build wrapper issue as the issue doesn’t happen when just doing cordova build iOS
.
My Environment:
Ionic:
Ionic CLI : 5.2.6 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.0.0
@ionic/v1-toolkit : 1.0.22
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 32 other plugins)
Utility:
cordova-res : 0.6.0
native-run : 0.2.8
System:
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v10.16.3 (/usr/local/bin/node)
npm : 6.11.2
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
Plugins:
cl.rmd.cordova.dialoggps 0.0.2 "DialogGPS"
com.lampa.startapp 6.1.6 "startApp"
com.ludei.webview.plus 2.3.0 "Webview+"
com.peerio.cordova.plugin.carrier 1.0.1 "Carrier"
com.phonegap.plugins.nativesettingsopener 1.0.1 "Native settings"
cordova-admobsdk 7.37.0 "Google Mobile Ads SDK for Cordova"
cordova-custom-config 5.1.0 "cordova-custom-config"
cordova-instagram-plugin 0.5.8 "Instagram"
cordova-launch-review 3.1.1 "Launch Review"
cordova-plugin-admobpro 2.37.2 "AdMob Plugin Pro"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-appinfo 2.1.2 "AppInfo Plugin"
cordova-plugin-customurlscheme 4.4.0 "Custom URL scheme"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-device-motion 2.0.1 "Device Motion"
cordova-plugin-device-orientation 2.0.1 "Device Orientation"
cordova-plugin-deviceinformation 2.0.2 "DeviceInformation"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-email 1.2.7 "EmailComposer"
cordova-plugin-extension 1.5.4 "Cordova Plugin Extension"
cordova-plugin-facebook4 6.0.0 "Facebook Connect"
cordova-plugin-fastrde-checkgps 0.9.9 "checkGPS"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-firebasex 6.1.0 "Google Firebase Plugin"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-queries-schemes 0.1.1 "App Queries Strings"
cordova-plugin-request-location-accuracy 2.3.0 "Request Location Accuracy"
cordova-plugin-screensize 1.3.1 "screensize"
cordova-plugin-sim 1.3.3 "SIM"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-vibration 3.1.1 "Vibration"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sms-plugin 1.0.0 "Cordova SMS Plugin"
cordova-universal-clipboard 0.1.0 "Clipboard"
cordova.plugins.diagnostic 5.0.0 "Diagnostic"
twitter-connect-plugin 0.6.0 "Twitter Connect"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
ionic cordova run ios --device problem on iOS 13
If I run ionic cordova run ios --device (via native-run) just nothing happends. Nothing happends next.
Read more >ios - Ionic - app hangs on splash screen - Stack Overflow
It does so when running your app the first time on an new iOS version. You have to open and run your project...
Read more >Xcode 11 hangs while attaching debugger to ios process
When I attempt to launch an app from Xcode 11 (gm seed 2) to my attached iPhone running iOS 13 the I see...
Read more >Xcode 12 is slow when launching apps (even sample projects)
Running a project from Xcode 12 seems to be very slow during launch. Even the example projects from Apple. Basically it feels as...
Read more >Can't build to simulator on Apple Silicon
Using Xcode 12.2, the specific error is "building for iOS Simulator, ... It only popped up when trying to build on my new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fix confirmed, both in my test case documented on https://github.com/dpa99c/cordova-plugin-firebasex/issues/5 and in my main project fastlane build.
Thanks!
Ionic CLI 5.4.1 has this fix. Thanks again