-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: SPM macOS/tvOS disable event explorer (#315)
* Reorganize folder structure to reflect XCode structure and SPM requirements * Adjust podspec for new project structure * Update .gitignore * update cocoapods
- Loading branch information
Showing
30 changed files
with
145 additions
and
121 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 |
---|---|---|
@@ -1,11 +1,31 @@ | ||
.DS_STORE | ||
/Pods | ||
*.xcuserdatad* | ||
*.xccheckout | ||
/Build/ | ||
/DerivedData/ | ||
*.xcworkspace/xcshareddata/*.xcscmblueprint | ||
Carthage/Build | ||
|
||
doc/ | ||
.swiftpm | ||
|
||
## Xcode user settings | ||
xcuserdata/ | ||
|
||
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) | ||
*.xcscmblueprint | ||
*.xccheckout | ||
|
||
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) | ||
*build/ | ||
DerivedData/ | ||
*.moved-aside | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
|
||
## Gcc Patch | ||
/*.gcno |
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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'cocoapods' | ||
gem 'cocoapods', '~>1.1' |
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 |
---|---|---|
|
@@ -84,7 +84,7 @@ PLATFORMS | |
ruby | ||
|
||
DEPENDENCIES | ||
cocoapods | ||
cocoapods (~> 1.1) | ||
|
||
BUNDLED WITH | ||
2.1.4 |
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 |
---|---|---|
|
@@ -14,24 +14,35 @@ let package = Package( | |
.library(name: "Amplitude", targets: ["Amplitude"]), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Amplitude", | ||
path: "Sources/Amplitude", | ||
exclude: ["AppledocSettings.plist"], | ||
.target( | ||
name: "EventExplorer", | ||
path: "Sources/EventExplorer", | ||
resources: [ | ||
.process("Resources/AMPBubbleView.xib"), | ||
.process("Resources/AMPInfoViewController.xib"), | ||
.process("Resources/cancel.png"), | ||
.process("Resources/[email protected]"), | ||
.process("Resources/[email protected]"), | ||
.process("Resources/ComodoRsaDomainValidationCA.der"), | ||
.process("Resources/logo-banner.png"), | ||
.process("Resources/[email protected]"), | ||
.process("Resources/[email protected]"), | ||
.process("Resources/logo-button.png"), | ||
.process("Resources/[email protected]"), | ||
.process("Resources/[email protected]") | ||
.process("Resources/Images/cancel.png"), | ||
.process("Resources/Images/[email protected]"), | ||
.process("Resources/Images/[email protected]"), | ||
.process("Resources/Images/logo-banner.png"), | ||
.process("Resources/Images/[email protected]"), | ||
.process("Resources/Images/[email protected]"), | ||
.process("Resources/Images/logo-button.png"), | ||
.process("Resources/Images/[email protected]"), | ||
.process("Resources/Images/[email protected]") | ||
], | ||
publicHeadersPath: ".", | ||
cSettings: [ | ||
.headerSearchPath("../Amplitude") | ||
] | ||
), | ||
.target( | ||
name: "Amplitude", | ||
dependencies: [ | ||
.target(name: "EventExplorer", condition: .when(platforms: [.iOS])), | ||
], | ||
publicHeadersPath: ".") | ||
path: "Sources/Amplitude", | ||
resources: [.process("Resources/ComodoRsaDomainValidationCA.der")], | ||
publicHeadersPath: "."), | ||
] | ||
) | ||
|
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ SPEC CHECKSUMS: | |
|
||
PODFILE CHECKSUM: c234af1832073dccffe31825daef96d6b0eb126c | ||
|
||
COCOAPODS: 1.9.3 | ||
COCOAPODS: 1.10.0 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes