You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a C target with the SwiftPM, compiling from the command line will work fine, but it will not compile from Xcode. The fix is to add HEADER_SEARCH_PATHS = $SRCROOT/Sources/cTargetName/include to the generated .xcconfig. Another issue is that the include folder does not appear under the sources group in Xcode.
The text was updated successfully, but these errors were encountered:
Thanks I tested the example project, it is infact broken in Swift 3 release/Xcode 8, however both of the issues are resolved in current master and the project builds successfully without any modification to generated Xcode project.
As of now you can either use Xcode 8.1 beta (default toolchain or nightly toolchain) or a nightly toolchain in Xcode 8 available at swift.org
Attachment: Download
Environment
OS X 10.12 Xcode 8
Additional Detail from JIRA
md5: abdf5e97962b63fd7e47dd8d2ec89f61
Issue Description:
For a C target with the SwiftPM, compiling from the command line will work fine, but it will not compile from Xcode. The fix is to add
HEADER_SEARCH_PATHS = $SRCROOT/Sources/cTargetName/include
to the generated .xcconfig. Another issue is that theinclude
folder does not appear under the sources group in Xcode.The text was updated successfully, but these errors were encountered: