diff --git a/README.md b/README.md index 5e8f0c1..01ab1de 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ This SDK enables you to create and modify xmind(`.xmind`) files, and it's writte Supported Platforms: -- iOS -- macOS +- iOS 9+ +- macOS 10.11+ ## Structure of XMind files -XMind file is a zip file which contains several components, including manifest, metadata, sheets and resources +XMind file is a zip file which contains several components, including manifest, metadata, sheets and resources. Resources contains all the resources of this xmind file that like images. @@ -37,7 +37,7 @@ import XMindSDK ... ... -let wb = try Workbook.open(filePath: filePath)// This file path which contains a existing xmind file. +let wb = try Workbook.open(filePath: filePath)// This file path which contains an existing xmind file. try wb.loadManifest() try wb.loadContent(password: "123456") @@ -64,17 +64,17 @@ try wb.save(to: filePath, password: "123456") - Carthage ``` - github "" + github "xmindltd/xmind-sdk-swift" ``` - Swift Package Manager ``` - .package(url: "", .upToNextMinor(from: "1.0")) + .package(url: "https://github.com/xmindltd/xmind-sdk-swift.git", .upToNextMinor(from: "1.0.0")) ``` ## License -This SDK is released under the MIT license. See LICENSE for details. \ No newline at end of file +This SDK is released under the MIT license. See LICENSE for details. diff --git a/Sources/Info.plist b/Sources/Info.plist index 9bcb244..c0701c6 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/XMindSDK.xcodeproj/project.pbxproj b/XMindSDK.xcodeproj/project.pbxproj index 010a8a4..7b4f690 100644 --- a/XMindSDK.xcodeproj/project.pbxproj +++ b/XMindSDK.xcodeproj/project.pbxproj @@ -361,6 +361,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.11; + MARKETING_VERSION = 1.0.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -451,6 +452,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.11; + MARKETING_VERSION = 1.0.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = net.xmind.XMindSDK;