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.
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.
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.
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
<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/>\(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/>\(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.