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

iOS CI failing to generate build with error in SQLCipher #15

Open
pushpalroy opened this issue Jan 8, 2024 · 0 comments
Open

iOS CI failing to generate build with error in SQLCipher #15

pushpalroy opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pushpalroy
Copy link
Owner

Running fine on a local machine, but failing while generating an iOS build using the Github Actions workflow.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:podInstallSyntheticIos'.
> Executing of 'env pod install' failed with code 1 and message: 
  
  Analyzing dependencies
  Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org`/
  Downloading dependencies
  Installing SQLCipher (4.5.5)
  [!] /bin/bash -c 
  set -e
  ./configure --enable-tempstore=yes --with-crypto-lib=commoncrypto CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DHAVE_USLEEP=1 -DSQLITE_MAX_VARIABLE_NUMBER=99999"; make sqlite3.c
  
  checking build system type... x86_64-apple-darwin21.6.0
  checking host system type... x86_64-apple-darwin21.6.0
  checking how to print strings... printf
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables... 
  checking whether we are cross compiling... 
  configure: error: in `/Users/runner/Library/Caches/CocoaPods/Pods/Release/SQLCipher/4.5.5-f2e96':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.
  See `config.log' for more details

Asked for help in SQLCipher repo: sqlcipher/sqlcipher#502

@pushpalroy pushpalroy added the bug Something isn't working label Jan 8, 2024
@pushpalroy pushpalroy self-assigned this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant