-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Feature)|Add support for SwiftPM (#8)
This adds support for SwiftPM 5.3 while also maintaining existing support for Carthage / CocoaPods: - Source files have been restructured to follow Swift Package guidelines - Headers have been isolated in order to specify a `publicHeadersPath`. This includes `_Private` and `_Protected` headers, which don't really provide much benefit to begin with - `NSBundle` resolution attempts to access the generated `SWIFTPM_MODULE_BUNDLE` if it exists, which is necessary for projects that link the target via SwiftPM
- Loading branch information
1 parent
47a1ab4
commit bb9362f
Showing
48 changed files
with
94 additions
and
299 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,7 @@ Pods | |
|
||
#Carthage | ||
Carthage | ||
|
||
# SwiftPM | ||
.build | ||
.swiftpm |
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 |
---|---|---|
|
@@ -3,20 +3,19 @@ Pod::Spec.new do |s| | |
s.version = "0.2.3" | ||
s.summary = "A painless, configurable, hidden panel to add shortcuts to run code, test features, or whatever you like." | ||
s.description = <<-DESC | ||
MBDebugPanel offers a simple way to embed a set of dev-mode-only features | ||
MBDebugPanel offers a simple way to embed a set of dev-mode-only features | ||
(Though you could ship it with your app if you really wanted to.) | ||
It's like the Konami code, but for your app. | ||
DESC | ||
s.homepage = "https://github.com/mindbody/MBDebugPanel.git" | ||
s.license = 'MIT' | ||
s.author = { "Matthew Holden" => "[email protected]" } | ||
s.source = { :git => "https://github.com/mindbody/MBDebugPanel.git", :tag => s.version.to_s } | ||
|
||
s.platform = :ios, '7.0' | ||
s.platform = :ios, '8.0' | ||
s.requires_arc = true | ||
|
||
s.source_files = 'MBDebugPanel/Sources/Classes/**/*.{h,m}' | ||
s.resources = 'MBDebugPanel/Sources/Assets/componentCells/*.xib' | ||
s.private_header_files = 'MBDebugPanel/Sources/Classes/ios/private/*.h' | ||
s.source_files = 'MBDebugPanel/Sources/MBDebugPanel/Classes/**/*.{h,m}', 'MBDebugPanel/Sources/MBDebugPanel/Headers/**/*.{h}' | ||
s.resources = 'MBDebugPanel/Sources/MBDebugPanel/Assets/componentCells/*.xib' | ||
end |
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
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
MBDebugPanel.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
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,8 @@ | ||
<?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>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
...es/MBDebugPanelTestsApplicationContainer/Images.xcassets/AppIcon.appiconset/Contents.json
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
...es/MBDebugPanelTestsApplicationContainer/MBDebugPanelTestsApplicationContainer-Info.plist
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...DebugPanelTestsApplicationContainer/Images.xcassets/LaunchImage.launchimage/Contents.json
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
MBDebugPanel/Tests/MBDebugPanelTestsApplicationContainer/MBAppDelegate.h
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
MBDebugPanel/Tests/MBDebugPanelTestsApplicationContainer/MBAppDelegate.m
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.