Hi everyone
I am trying out the new Ionic Pro with Live deploy. The instructions on the documentation is pretty straight forward, which basically is:
git push ionic to the right channel
Install the new cordova-plugin-ionic
with the right app id and channel
However, after installing the plugin, I cannot run the application both on device and emulator both from CLI and XCode.
The following build commands failed:
Ld build/emulator/Tyde\ Health.app/Tyde\ Health normal x86_64
(1 failure)
Has anyone seen the error above?
After digging around, I found the following error
error: failed to import bridging header
caused by
error: 'Cordova/CDV.h' file not found
As I understand it, Ionic is trying to use Swift in this new plugin and use the bridging header to import Cordova lib. However, the bridging file cannot load the CDV.h file.
Sujan12
September 5, 2017, 8:56am
3
Ionic Pro is a hosted service, so there is not much we, the community, can help you with. There is a FAQ and common/known issues at https://ionic.zendesk.com/hc/en-us/sections/115003254647-FAQ-Common-Issues You can contact support at http://ionicframework.com/support#support
Please keep us updated if they respond with a solution on your problem.
qngtyde
September 8, 2017, 6:06am
4
There’s Voodoo magic at play.
To get the constellations to align I had remove the following plugins:
zip,
ionic,
add-swift-support
Remove the ios platform
add the plugins back.
Add ios platform back
Some quirky combination of the above seemed to get XCdoe to work.