Skip to content

Commit

Permalink
Merge pull request #2 from amsibsam/spm
Browse files Browse the repository at this point in the history
Update carthage support
  • Loading branch information
asharijuang authored Jun 20, 2020
2 parents 58f2613 + bfc3d09 commit 50572e5
Show file tree
Hide file tree
Showing 15 changed files with 929 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git "https://github.com/SwiftyJSON/SwiftyJSON.git"
1 change: 1 addition & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github "SwiftyJSON/SwiftyJSON" "5.0.0"
709 changes: 709 additions & 0 deletions QiscusCoreAPI.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "11449A64249DD16B00E32D9F"
BuildableName = "QiscusCoreAPI.framework"
BlueprintName = "QiscusCoreAPI"
ReferencedContainer = "container:QiscusCoreAPI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "11449A6D249DD16C00E32D9F"
BuildableName = "QiscusCoreAPITests.xctest"
BlueprintName = "QiscusCoreAPITests"
ReferencedContainer = "container:QiscusCoreAPI.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "11449A64249DD16B00E32D9F"
BuildableName = "QiscusCoreAPI.framework"
BlueprintName = "QiscusCoreAPI"
ReferencedContainer = "container:QiscusCoreAPI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>SchemeUserState</key>
<dict>
<key>QiscusCoreAPI.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
7 changes: 7 additions & 0 deletions QiscusCoreAPI.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
22 changes: 22 additions & 0 deletions QiscusCoreAPI/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>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions QiscusCoreAPI/QiscusCoreAPI.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// QiscusCoreAPI.h
// QiscusCoreAPI
//
// Created by Rahardyan Bisma on 20/06/20.
// Copyright © 2020 Qiscus. All rights reserved.
//

#import <Foundation/Foundation.h>

//! Project version number for QiscusCoreAPI.
FOUNDATION_EXPORT double QiscusCoreAPIVersionNumber;

//! Project version string for QiscusCoreAPI.
FOUNDATION_EXPORT const unsigned char QiscusCoreAPIVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <QiscusCoreAPI/PublicHeader.h>


22 changes: 22 additions & 0 deletions QiscusCoreAPITests/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>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
34 changes: 34 additions & 0 deletions QiscusCoreAPITests/QiscusCoreAPITests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// QiscusCoreAPITests.swift
// QiscusCoreAPITests
//
// Created by Rahardyan Bisma on 20/06/20.
// Copyright © 2020 Qiscus. All rights reserved.
//

import XCTest
@testable import QiscusCoreAPI

class QiscusCoreAPITests: XCTestCase {

override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}

func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}

}
8 changes: 8 additions & 0 deletions Source/QiscusCoreApi/QiscusCoreAPI.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
framework module QiscusCoreAPI {
umbrella header QiscusCoreAPI.h

export *
module * {
export *
}
}
8 changes: 8 additions & 0 deletions Source/QiscusCoreApi/SupportingFiles/QiscusCoreAPI.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
framework module QiscusCoreAPI {
umbrella header "QiscusCoreAPI.h"

export *
module * {
export *
}
}

0 comments on commit 50572e5

Please sign in to comment.