forked from NordicSemiconductor/IOS-DFU-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor update to documentation for Obj-C projects instructions * Updated dependency installation
- Loading branch information
1 parent
55ccc1a
commit 884ea26
Showing
7 changed files
with
85 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
40 changes: 20 additions & 20 deletions
40
Example/Pods/Target Support Files/iOSDFULibrary/Info.plist
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# iOS DFU Library | ||
|
||
[![Version](http://img.shields.io/cocoapods/v/iOSDFULibrary.svg)](http://cocoapods.org/pods/iOSDFULibrary) | ||
|
||
## Installation instructions for Obj-C projects | ||
|
||
**Using Cocoapods:** | ||
|
||
- Create/Update your **Podfile** with the following contents | ||
``` | ||
target 'YourAppTargetName' do | ||
use_frameworks! | ||
pod 'iOSDFULibrary' | ||
end | ||
``` | ||
- Install dependencies | ||
|
||
pod install | ||
|
||
- Open the newly created `.xcworkspace` and begin working on your project. | ||
- If Xcode asks to migrate code to Swift 3, choose **Later**. (The codebase is Swift 3 already) | ||
- Click on the `Pods` project, then go to the `Build Settings` | ||
- Click on the `iOSDFULibrary` target, then set the `Use Legacy Swift version` setting to `No` | ||
- Repeat the same for the `Zip` target. | ||
- Build the project, it should now succeed. | ||
- Import the library to any of your obj-c classes by using `@import iOSDFULibrary;` and begin working on your project. | ||
|
||
|
||
Currently, the only tested and supported method for Obj-C projects is using Cocoapods. |