Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Build changes for XCode 13 #690

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Build changes for XCode 13 #690

merged 1 commit into from
Mar 25, 2022

Conversation

robszewczyk
Copy link
Member

Weave builds for iOS have been arguably somewhat incorrect. The
Makefile-iOS used to generate a single Weave.framework for both
iPhoneOS and for iPhoneSimulator. This became problematic in XCode
13, when the simulator architectures (x86_64, i386) were no longer
supported in the iPhoneOS set of libraries, and builds have
consequently started to fail.

This patch passes different sysroots to the linker depending on
whether the target is a iPhoneOS or an iPhoneSimulator.

Bug: 190421934
Test: build succeeded on local machine, awaiting confirmation from maloo@
Change-Id: Ib3d2207d77388c00e8c1e397f6dd13fda1cb4d26

Weave builds for iOS have been arguably somewhat incorrect.  The
Makefile-iOS used to generate a single Weave.framework for both
iPhoneOS and for iPhoneSimulator.  This became problematic in XCode
13, when the simulator architectures (x86_64, i386) were no longer
supported in the iPhoneOS set of libraries, and builds have
consequently started to fail.

This patch passes different sysroots to the linker depending on
whether the target is a iPhoneOS or an iPhoneSimulator.

Bug: 190421934
Test: build succeeded on local machine, awaiting confirmation from maloo@
Change-Id: Ib3d2207d77388c00e8c1e397f6dd13fda1cb4d26
@robszewczyk robszewczyk merged commit d7619d9 into master Mar 25, 2022
@robszewczyk robszewczyk deleted the bug/iOS-build branch March 25, 2022 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants