Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jurvis/build from xcode #1

Closed
wants to merge 3 commits into from
Closed

Jurvis/build from xcode #1

wants to merge 3 commits into from

Conversation

jurvis
Copy link
Owner

@jurvis jurvis commented Apr 21, 2022

No description provided.

@jurvis
Copy link
Owner Author

jurvis commented Apr 22, 2022

hey @jgriffiths I was wondering if you ever encountered these build errors that I'm experiencing here on Github CI when the configure script runs.

here's the error:

checking how to run the C preprocessor... /lib/cpp
3173
configure: error: in `/Users/runner/work/libwally-swift/libwally-swift/CLibWally/libwally-core':
3174
configure: error: C preprocessor "/lib/cpp" fails sanity check
3175
See `config.log' for more details
3176

** TEST BUILD FAILED **

@jgriffiths
Copy link

hey @jgriffiths I was wondering if you ever encountered these build errors that I'm experiencing here on Github CI when the configure script runs.
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

You'd need to check the config.log output I think, my guess is that there is a more suitable preprocessor in the path somewhere (like clangs/xcodes version or a homebrew installed one) and you need to update $PATH to include it first.

Update flags for latest ios/simulator archs

Use xcodebuild instead of lipo

Make CLibwally imports @_implementationOnly

prevent the import from being exported in the interface, and allows us to not make it necessary for CLibwally headers to be present

Update Podspec

Bump min platform version

Draft Package.swift

Try with LibwallySwift

include wildcard in xcframework folder

Make casing consistent

Include LibWally modulemaps

Rewrite build-libwally.sh

Configure Xcode project to call build script

Move autogen aux files to build-libwally

Axe binary target from Package.swift

Fix target name

Make package name LibWally

Build library for distribution and skip install

Add LibWallyCore as included target

Setup targets in Package.swift

Add LibWallyCore as target to Package.swift

Fill in paths for targets

Create LibWallyCore path
@jurvis jurvis force-pushed the jurvis/build-from-xcode branch from e60a448 to f5001e5 Compare May 1, 2022 00:58
@jurvis jurvis force-pushed the jurvis/build-from-xcode branch from f5001e5 to 8d84209 Compare May 1, 2022 01:12
@jurvis jurvis closed this May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants