Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-3703] Unable to run Foundation tests on master #4291

Closed
swift-ci opened this issue Jan 24, 2017 · 4 comments
Closed

[SR-3703] Unable to run Foundation tests on master #4291

swift-ci opened this issue Jan 24, 2017 · 4 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-3703
Radar None
Original Reporter kdawgwilk (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

macOS: 10.12.2
Swift Snapshot: 2017-20-01
Branch: master
Commit: 87815ea

Additional Detail from JIRA
Votes 1
Component/s Foundation
Labels Bug
Assignee kdawgwilk (JIRA)
Priority Medium

md5: dcd5fd8bf372af877a5cba65e25285ef

is duplicated by:

  • SR-3775 Cannot build Foundation on macOS on master or swift-3.1-branch

Issue Description:

Following the Getting Started page on macOS I tried to build and run tests and see the folowing output:

Test Suite 'TestNSBundle' started at 17:49:12.571
Test Case 'TestNSBundle.test_paths' started at 17:49:12.571
Test Case 'TestNSBundle.test_paths' passed (0.002 seconds)
Test Case 'TestNSBundle.test_resources' started at 17:49:12.573
Test Case 'TestNSBundle.test_resources' passed (0.004 seconds)
Test Case 'TestNSBundle.test_infoPlist' started at 17:49:12.577
Test Case 'TestNSBundle.test_infoPlist' passed (0.002 seconds)
Test Case 'TestNSBundle.test_localizations' started at 17:49:12.580
Test Case 'TestNSBundle.test_localizations' passed (0.001 seconds)
Test Case 'TestNSBundle.test_URLsForResourcesWithExtension' started at 17:49:12.580
Test Case 'TestNSBundle.test_URLsForResourcesWithExtension' passed (0.009 seconds)
Test Case 'TestNSBundle.test_bundleLoad' started at 17:49:12.590
Test Case 'TestNSBundle.test_bundleLoad' passed (0.0 seconds)
Test Case 'TestNSBundle.test_bundleLoadWithError' started at 17:49:12.590
2017-01-23 17:49:12.613669 TestFoundation[11285:1152713] [strings] Hit last resort and creating empty strings table
Could not cast value of type '__NSCFConstantString' (0x7fffc437a198) to 'SwiftFoundation.NSString' (0x100ff22b8).
2017-01-23 17:49:12.614288 TestFoundation[11285:1152713] Could not cast value of type '__NSCFConstantString' (0x7fffc437a198) to 'SwiftFoundation.NSString' (0x100ff22b8).

With a breakpoint stopped on line #194 of NSCFString.swift

@swift-ci
Copy link
Contributor Author

Comment by Peter Tomaselli (JIRA)

Brand-new to the project here, so this certainly could be a mistake on my part, but this same thing is happening to me.

macOS 10.12.3
Xcode 8.2.1
toolchain 1/24/17
swift-corelibs-foundation/master [47fb9a2]

same test output as kdawgwilk (JIRA User) reports above. 🙁

@swift-ci
Copy link
Contributor Author

Comment by Kaden Wilkinson (JIRA)

If anyone comes across this please give a vote to help put it on the team's radar (hehe). It is a pretty big show stopper for new contributors just joining the project.

@parkera
Copy link
Member

parkera commented Jan 30, 2017

#850

@swift-ci
Copy link
Contributor Author

Comment by Peter Tomaselli (JIRA)

⬆️ yep, #850 fixes this issue for me. 🙂

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants