This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 467
Migrating from v1.0.x to v1.1.x
Nikolay Demyankov edited this page Apr 25, 2016
·
1 revision
In version 1.0.x local development mode was integrated in the plugin. Starting from v1.1.x it is moved to another plugin as an add-on. Since v1.0 of hot code push plugin does some tweaks to the iOS project file to activate Swift support - after updating to v1.1.x you need to disable it.
The easiest way is to reinstall iOS platform:
cordova platform remove ios
cordova platform add ios
When platform is added - all project's plugins will be installed automatically.
Harder approach - remove Swift support manually. For that you need to open your iOS project in Xcode, and then do the following:
- In the
Build Settings
setEmbedded Content Contains Swift Code
toNO
. - In the project files find
<YOUR_PROJECT_NAME>-Prefix.pch
file, open it and remove#import <YOUR_PROJECT_NAME>-Swift.h
. For example:
#ifdef __OBJC__
#import "TestProject-Swift.h"
#endif
- Build the project to check, if everything is fine.
- Description
- Supported platforms
- App Store FAQ
- Usage Limitations
- Installation
- Quick start guides
- How plugin works
- config.xml preferences
- Plugin configuration files
- JavaScript module
- Additional utils
- Migrating from previous versions
- Contributors
- Issue creation guide