Skip to content

Commit

Permalink
feat: support for carthage framework
Browse files Browse the repository at this point in the history
  • Loading branch information
janlionly committed Jun 5, 2020
1 parent 5f1fe24 commit ff80f16
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 112 deletions.
22 changes: 22 additions & 0 deletions JLNFCReaderWriter/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
45 changes: 45 additions & 0 deletions JLNFCReaderWriter/JLNFCReaderWriter.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// JLNFCReaderWriter.h
// JLNFCReaderWriter
//
// Created by janlionly on 2020/6/5.
// Copyright © 2020 janlionly. All rights reserved.
//

#import <Foundation/Foundation.h>

//! Project version number for JLNFCReaderWriter.
FOUNDATION_EXPORT double JLNFCReaderWriterVersionNumber;

//! Project version string for JLNFCReaderWriter.
FOUNDATION_EXPORT const unsigned char JLNFCReaderWriterVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <JLNFCReaderWriter/PublicHeader.h>
#if __has_include("NFCConstants.h")
#import <JLNFCReaderWriter/NFCConstants.h>
#endif

#if __has_include("NFCReaderDelegate.h")
#import <JLNFCReaderWriter/NFCReaderDelegate.h>
#endif

#if __has_include("NFCReaderWriter.h")
#import <JLNFCReaderWriter/NFCReaderWriter.h>
#endif

#if __has_include("NFCReader.h")
#import <JLNFCReaderWriter/NFCReader.h>
#endif

#if __has_include("NFCNDEFReader.h")
#import <JLNFCReaderWriter/NFCNDEFReader.h>
#endif

#if __has_include("NFCNDEFWriter.h")
#import <JLNFCReaderWriter/NFCNDEFWriter.h>
#endif

#if __has_include("NFCTagReader.h")
#import <JLNFCReaderWriter/NFCTagReader.h>
#endif

2 changes: 1 addition & 1 deletion NFCReaderWriter.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'NFCReaderWriter'
s.version = '1.0.1'
s.version = '1.0.2'
s.summary = 'NFCReaderWriter which supports to read data from NFC chips(iOS 11) and write data to NFC chips(iOS 13) by iOS devices. Compatible with both Swift and Objective-C.'

s.homepage = 'https://github.com/janlionly/NFCReaderWriter'
Expand Down
Loading

0 comments on commit ff80f16

Please sign in to comment.