Skip to content

Commit

Permalink
Change Swift Package name to WordPressAPI (#252)
Browse files Browse the repository at this point in the history
* Change Swift Package name to WordPressAPI

* Update scheme name argument

* Update scheme name
  • Loading branch information
crazytonyli authored Aug 12, 2024
1 parent 920aec4 commit ed18982
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .buildkite/swift-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function build_for_real_device() {
echo "--- :swift: Building for $platform device"
export NSUnbufferedIO=YES
xcodebuild -destination "generic/platform=$platform" \
-scheme WordPress \
-scheme WordPressAPI \
-derivedDataPath DerivedData \
-skipPackagePluginValidation \
build | xcbeautify
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let libwordpressFFI: Target = libwordpressFFIVersion.target
#endif

var package = Package(
name: "WordPress",
name: "WordPressAPI",
platforms: [
.iOS(.v13),
.macOS(.v11),
Expand Down
2 changes: 1 addition & 1 deletion scripts/xcodebuild-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ device_id=$(xcrun simctl list --json devices available | jq -re ".devices.\"com.
export NSUnbufferedIO=YES

xcodebuild \
-scheme WordPress \
-scheme WordPressAPI \
-derivedDataPath DerivedData \
-destination "id=${device_id}" \
-skipPackagePluginValidation \
Expand Down

0 comments on commit ed18982

Please sign in to comment.