Differences between Xcode official toolchains and tagged releases from repository


(Daniel Martín) #1

Hello, all:
Is there any difference between the official toolchains included with Xcode and the tagged releases from the repository? Maybe the Xcode team is using some special flags for compilation or applying internal fixes? I ask this question because we're seeing some projects that compile fine with the official toolchain, but fail to do so with one downloaded from the repository, from the exact tagged version.
Before we investigate this further, is it possible to create an "official" Swift toolchain using the build scripts (for internal use, I assume we cannot upload to the Store with that toolchain)? Does the Xcode team generate the binaries from the repository tags?
Thanks,
Daniel Martín


(Jordan Rose) #2

Yes, there are sometimes internal-only changes in the Xcode toolchains, but I wouldn't expect those to have different behavior around succeeding or failing a simple compile. Can you provide any more information? Any custom build process you've set up?

Jordan

···

On Oct 3, 2016, at 3:34, Daniel Martín via swift-dev <swift-dev@swift.org> wrote:

Hello, all:

Is there any difference between the official toolchains included with Xcode and the tagged releases from the repository? Maybe the Xcode team is using some special flags for compilation or applying internal fixes? I ask this question because we're seeing some projects that compile fine with the official toolchain, but fail to do so with one downloaded from the repository, from the exact tagged version.

Before we investigate this further, is it possible to create an "official" Swift toolchain using the build scripts (for internal use, I assume we cannot upload to the Store with that toolchain)? Does the Xcode team generate the binaries from the repository tags?

Thanks,
Daniel Martín
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Zhao Xin) #3

I think if you want to upload your apps to App Store, you will need the
toolchain together with Xcode. Also, playground should only work with that
toolchain.

Zhaoxin

···

On Mon, Oct 3, 2016 at 6:34 PM, Daniel Martín via swift-dev < swift-dev@swift.org> wrote:

Hello, all:

Is there any difference between the official toolchains included with
Xcode and the tagged releases from the repository? Maybe the Xcode team is
using some special flags for compilation or applying internal fixes? I ask
this question because we're seeing some projects that compile fine with the
official toolchain, but fail to do so with one downloaded from the
repository, from the exact tagged version.

Before we investigate this further, is it possible to create an "official"
Swift toolchain using the build scripts (for internal use, I assume we
cannot upload to the Store with that toolchain)? Does the Xcode team
generate the binaries from the repository tags?

Thanks,
Daniel Martín

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


(Mishal Shah) #4

I think if you want to upload your apps to App Store, you will need the toolchain together with Xcode. Also, playground should only work with that toolchain.

The toolchain from swift.org should work with playground, if it does not please file bug on bugs.swift.org.

Info from swift.org:

"To submit to the App Store you must build your app using the version of Swift that comes included within Xcode.”
https://swift.org/download/#using-downloads

Thanks,
Mishal Shah

···

On Oct 3, 2016, at 7:51 AM, Zhao Xin via swift-dev <swift-dev@swift.org> wrote:

Zhaoxin

On Mon, Oct 3, 2016 at 6:34 PM, Daniel Martín via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:
Hello, all:

Is there any difference between the official toolchains included with Xcode and the tagged releases from the repository? Maybe the Xcode team is using some special flags for compilation or applying internal fixes? I ask this question because we're seeing some projects that compile fine with the official toolchain, but fail to do so with one downloaded from the repository, from the exact tagged version.

Before we investigate this further, is it possible to create an "official" Swift toolchain using the build scripts (for internal use, I assume we cannot upload to the Store with that toolchain)? Does the Xcode team generate the binaries from the repository tags?

Thanks,
Daniel Martín

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

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