New Swift Snapshots Available!

New Swift Snapshots Available!

Download new packages from Swift.org - Download Swift

Swift Development: (master)
Note: Swift Development toolchain now requires Xcode 8.0 beta.

Following repository are tagged with swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

GitHub - apple/swift: The Swift Programming Language
GitHub - apple/swift-clang
GitHub - apple/swift-llbuild: A low-level build system, used by Xcode and the Swift Package Manager
GitHub - apple/swift-lldb: This is the version of LLDB that supports the Swift programming language & REPL.
GitHub - apple/swift-llvm
GitHub - apple/swift-corelibs-foundation: The Foundation Project, providing core utilities, internationalization, and OS independence
GitHub - apple/swift-corelibs-xctest: The XCTest Project, A Swift core library for providing unit test support
GitHub - apple/swift-package-manager: The Package Manager for the Swift Programming Language
GitHub - apple/swift-cmark: CommonMark parsing and rendering library and program in C
GitHub - apple/swift-integration-tests: Automated tests for validating the generated Swift snapshots behave correctly
GitHub - apple/swift-compiler-rt

Thanks,
Mishal Shah

Should it work with El Capitan? I'm getting the following error:

swift <unknown>:0: error: Swift does not support the SDK 'MacOSX10.11.sdk'

···

On 2016-06-21 01:27:39 +0000, Mishal Shah via swift-users said:

New Swift Snapshots Available!

Download new packages from�Swift.org - Download Swift

Swift Development:�(master)
Note: Swift Development toolchain now requires�Xcode 8.0 beta.�

Following repository are tagged with�swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

GitHub - apple/swift: The Swift Programming Language
GitHub - apple/swift-clang
GitHub - apple/swift-llbuild: A low-level build system, used by Xcode and the Swift Package Manager
GitHub - apple/swift-lldb: This is the version of LLDB that supports the Swift programming language & REPL.
GitHub - apple/swift-llvm
GitHub - apple/swift-corelibs-foundation: The Foundation Project, providing core utilities, internationalization, and OS independence
GitHub - apple/swift-corelibs-xctest: The XCTest Project, A Swift core library for providing unit test support
GitHub - apple/swift-package-manager: The Package Manager for the Swift Programming Language
GitHub - apple/swift-cmark: CommonMark parsing and rendering library and program in C
GitHub - apple/swift-integration-tests: Automated tests for validating the generated Swift snapshots behave correctly
https://github.com/apple/swift-compiler-rt

Thanks,�
Mishal Shah
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.

This can be filed under "User Error". In Xcode 8.0, should set Command Line Tools to Xcode 8.0 as well.

···

On 2016-06-21 05:59:21 +0000, Bouke Haarsma via swift-users said:

Should it work with El Capitan? I'm getting the following error:

swift <unknown>:0: error: Swift does not support the SDK 'MacOSX10.11.sdk'

On 2016-06-21 01:27:39 +0000, Mishal Shah via swift-users said:

New Swift Snapshots Available!

Download new packages from Swift.org - Download Swift

Swift Development: (master)
Note: Swift Development toolchain now requires Xcode 8.0 beta.

Following repository are tagged with swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

GitHub - apple/swift: The Swift Programming Language
GitHub - apple/swift-clang
GitHub - apple/swift-llbuild: A low-level build system, used by Xcode and the Swift Package Manager
GitHub - apple/swift-lldb: This is the version of LLDB that supports the Swift programming language & REPL.
GitHub - apple/swift-llvm
GitHub - apple/swift-corelibs-foundation: The Foundation Project, providing core utilities, internationalization, and OS independence
GitHub - apple/swift-corelibs-xctest: The XCTest Project, A Swift core library for providing unit test support
GitHub - apple/swift-package-manager: The Package Manager for the Swift Programming Language
GitHub - apple/swift-cmark: CommonMark parsing and rendering library and program in C
GitHub - apple/swift-integration-tests: Automated tests for validating the generated Swift snapshots behave correctly
GitHub - apple/swift-compiler-rt

Thanks,
Mishal Shah
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

--
-Bouke

Can you reduce the problem to a small test case? Please file a bug report on bugs.swift.org <Issues · apple/swift · GitHub; for this, and include information on the last toolchain which worked.

- Daniel

···

On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users <swift-users@swift.org> wrote:

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Are you using Xcode 7.3? The new toolchains only support Xcode 8 (because of SDK requirements and issues with Xcode 7's Clang).

Jordan

···

On Jun 21, 2016, at 10:17, Daniel Dunbar via swift-users <swift-users@swift.org> wrote:

Can you reduce the problem to a small test case? Please file a bug report on bugs.swift.org <Issues · apple/swift · GitHub; for this, and include information on the last toolchain which worked.

- Daniel

On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I simply created a new single-view project targeting ios 10. I got the error immediately.

···

Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(http://bugs.swift.org)for this, and include information on the last toolchain which worked.

- Daniel

> On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> It seems to build ok when using 9.3 or below as the build target.
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

···

Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(http://bugs.swift.org)for this, and include information on the last toolchain which worked.

- Daniel

> On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> It seems to build ok when using 9.3 or below as the build target.
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users

Thanks Charles! I have created Jira issue to track this bug.

Mishal Shah

···

On Jun 21, 2016, at 10:46 AM, Charles Lane via swift-users <swift-users@swift.org> wrote:

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org <http://onbugs.swift.org/&gt;\(http://bugs.swift.org <Issues · apple/swift · GitHub)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

This is with Xcode 8 beta and the June 20 Development snapshot of swift 3.0. It works fine with the default 3.0 toolchain.

···

Are you using Xcode 7.3? The new toolchains only support Xcode 8 (because of SDK requirements and issues with Xcode 7's Clang).

Jordan

> On Jun 21, 2016, at 10:17, Daniel Dunbar via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(Issues · apple/swift · GitHub)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org(mailto:swift-users@swift.org)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users

Ah, this issue. A workaround is to set your deployment target to iOS 9. We should have it fixed soon.

Jordan

···

On Jun 21, 2016, at 10:46, Charles Lane via swift-users <swift-users@swift.org> wrote:

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org <http://onbugs.swift.org/&gt;\(http://bugs.swift.org <Issues · apple/swift · GitHub)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Thanks! I was kind of waiting to see if it was just something dumb that I was doing or didn’t do. But apparently you’ve seen it too. Makes me feel better :-)

···

Thanks Charles! I have created Jira issue to track this bug.

[SR-1853] Xcode Toolchain fails to build iOS project: signal: Illegal instruction: 4 · Issue #44462 · apple/swift · GitHub

Mishal Shah