Skip to content

Conversation

cmcgee1024
Copy link
Member

When building macOS packages with pkgbuild, a signing certificate needs to be provided up-front, as is the package identifier. Change the package script so that it can accept the location of the certificate and override the package identifier.

When building macOS packages with pkgbuild, a signing certificate
needs to be provided up-front, as is the package identifier. Change
the package script so that it can accept the location of the certificate
and override the package identifier.
@cmcgee1024
Copy link
Member Author

@swift-ci test macOS

@cmcgee1024
Copy link
Member Author

@swift-ci test macOS

@cmcgee1024
Copy link
Member Author

macOS tests are all passing:

Test Suite 'All tests' passed at 2024-10-21 10:56:53.919.
	 Executed 66 tests, with 0 failures (0 unexpected) in 86.823 (86.831) seconds

@shahmishal
Copy link
Member

@cmcgee1024 Do you know what's going on here for macOS failure?

swiftpm_testing_helper/Entrypoint.swift:29: Fatal error: Failed to open test bundle at path /Users/ec2-user/jenkins/workspace/pr-swiftly-macos/branch-main/swiftly/.build/arm64-apple-macosx/debug/swiftlyPackageTests.xctest/Contents/MacOS/swiftlyPackageTests: dlopen(/Users/ec2-user/jenkins/workspace/pr-swiftly-macos/branch-main/swiftly/.build/arm64-apple-macosx/debug/swiftlyPackageTests.xctest/Contents/MacOS/swiftlyPackageTests, 0x0101): Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest

@cmcgee1024
Copy link
Member Author

cmcgee1024 commented Oct 21, 2024

swiftpm_testing_helper/Entrypoint.swift:29: Fatal error: Failed to open test bundle at path /Users/ec2-user/jenkins/workspace/pr-swiftly-macos/branch-main/swiftly/.build/arm64-apple-macosx/debug/swiftlyPackageTests.xctest/Contents/MacOS/swiftlyPackageTests: dlopen(/Users/ec2-user/jenkins/workspace/pr-swiftly-macos/branch-main/swiftly/.build/arm64-apple-macosx/debug/swiftlyPackageTests.xctest/Contents/MacOS/swiftlyPackageTests, 0x0101): Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest

@shahmishal I don't have any insights into this error, but there is some analysis here: #172 (comment)

@cmcgee1024 cmcgee1024 merged commit 2b9167f into swiftlang:main Oct 24, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants