Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

iOS 9.0 build error 'No such file or directory 'HCPLDPlugin.h'' why? #116

Closed
xgzl87 opened this issue Mar 10, 2016 · 6 comments
Closed

iOS 9.0 build error 'No such file or directory 'HCPLDPlugin.h'' why? #116

xgzl87 opened this issue Mar 10, 2016 · 6 comments

Comments

@xgzl87
Copy link

xgzl87 commented Mar 10, 2016

CHCP Local Development Add-on:
1> Local development mode for CHCP plugin is disabled. Doing nothing.
1> Swift support activation hook:
1> IOS project now has deployment target set to: 7.0
1> IOS project option EMBEDDED_CONTENT_CONTAINS_SWIFT set as: YES
1> IOS project Runpath Search Paths set to: @executable_path/Frameworks
1>HCPLDPlugin.h : cordova-build error BLD102: Error : BLD00102 : No such file or directory 'HCPLDPlugin.h'
1> CHCP plugin after prepare hook:

@xgzl87 xgzl87 changed the title iOS 9.0 build error why? iOS 9.0 build error 'No such file or directory 'HCPLDPlugin.h'' why? Mar 10, 2016
@nikDemyankov
Copy link
Member

This should be in a local development add-on issues, not in this repo.

But anyway, go to platforms/ios/[PROJECT_NAME]/Plugins/cordova-hot-code-push-local-dev-addon/ folder and check, if this file is in there. If not - re-install local development plugin: maybe cordova didn't install it properly.

@xgzl87
Copy link
Author

xgzl87 commented Mar 11, 2016

platforms/ios/[PROJECT_NAME]/Plugins/cordova-hot-code-push-local-dev-addon/ this directory has the file.
local development add-on issues, What is the problem ah?
what should I do?

@nikDemyankov
Copy link
Member

  1. What cordova cli version you are using?

    cordova -v
    
  2. What plugins are installed in the project?

    cordova plugin
    
  3. What iOS Cordova platform you are using?

    cordova platform
    
  4. Try to remove local development plugin:

    cordova plugin remove cordova-hot-code-push-local-dev-addon
    cordova clean
    

    And check, that project builds without it:

    cordova build ios
    
  5. Install local development plugin once more:

    cordova plugin add cordova-hot-code-push-local-dev-addon
    

    And try to build again:

    cordova build ios
    
  6. If on step 5 it still can't find HCPLDPlugin.h - go to platforms/ios/ and open .xcodeproj file in Xcode. Check, if HCPLDPlugin.h exists in Plugins group.

@xgzl87
Copy link
Author

xgzl87 commented Mar 11, 2016

thanks!!!
still not run.
cordova version is 6.0.0
My development environment is vs2015 How to Set Up?
I'm setting in res/native/iOS/Cordova/build.xcconfig it doesn't work,
`SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_NAME)/Plugins/MyAllPlugins/HelloCordova-Swift.h

LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks`

@nikDemyankov
Copy link
Member

How to setup visual studio - you should probably look into their documentation. Never done that, so don't know.

But you don't need VC to run Cordova (or Ionic) project: everything can be done via command line. Try to run the commands I provided and see, what will happen.

Right now the problem you are having seems to be with the project setup: it doesn't include all the plugin files. So it's either some cordova installation issue (and usually re-installing plugin and cleaning the project solves it), or VC setup issue with which, unfortunately, I can't help...

@nordnet-deprecation-bot
Copy link
Contributor

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #371 for more information.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants